diff --git a/service-front/web/package-lock.json b/service-front/web/package-lock.json index 2317db4daf..f26ba7446a 100644 --- a/service-front/web/package-lock.json +++ b/service-front/web/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@babel/runtime": "^7.20.1", "@jest/globals": "^29.6.4", - "@ministryofjustice/frontend": "0.2.6", + "@ministryofjustice/frontend": "1.8.0", "govuk-frontend": "^3.14.0", "perfume.js": "^6.4.0" }, @@ -3076,14 +3076,18 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" }, "node_modules/@ministryofjustice/frontend": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/@ministryofjustice/frontend/-/frontend-0.2.6.tgz", - "integrity": "sha512-Q7VxqmOm/uFUpD2/EZjVgaAJ2EgKjNWZPFQN74HkSQ24ZK+tQERGfWkw5DM8molmtnwNns9XBL3E0lVJ/moJnA==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@ministryofjustice/frontend/-/frontend-1.8.0.tgz", + "integrity": "sha512-N4791HcFoqJNLNrK6EN4oMaTJjeFp9ileavCpXkda3qvpEWQByxZUsOd6sDA69FuLRpB6jBFL2C2bqfYbcTdqg==", "dependencies": { + "govuk-frontend": "^3.0.0 || ^4.0.0", "moment": "^2.27.0" }, "engines": { "node": ">= 4.2.0" + }, + "peerDependencies": { + "jquery": "^3.6.0" } }, "node_modules/@nicolo-ribaudo/chokidar-2": { @@ -8080,6 +8084,12 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jquery": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz", + "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==", + "peer": true + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", diff --git a/service-front/web/package.json b/service-front/web/package.json index ca5e5de176..480458f765 100644 --- a/service-front/web/package.json +++ b/service-front/web/package.json @@ -44,7 +44,7 @@ "dependencies": { "@babel/runtime": "^7.20.1", "@jest/globals": "^29.6.4", - "@ministryofjustice/frontend": "0.2.6", + "@ministryofjustice/frontend": "1.8.0", "govuk-frontend": "^3.14.0", "perfume.js": "^6.4.0" },