diff --git a/designer/package.json b/designer/package.json index 570d88812a..ef4593b54e 100644 --- a/designer/package.json +++ b/designer/package.json @@ -51,9 +51,9 @@ "@hapi/jwt": "^3.2.0", "@hapi/vision": "^7.0.3", "@hapi/wreck": "^18.1.0", - "@hapi/yar": "^11.0.2", + "@hapi/yar": "^11.0.3", "@types/dagre": "^0.7.52", - "@types/govuk-frontend": "^5.9.0", + "@types/govuk-frontend": "^5.7.0", "@types/hapi__cookie": "^12.0.5", "@types/hapi__crumb": "^7.3.7", "@types/hapi__inert": "^5.2.10", @@ -75,7 +75,7 @@ "date-fns": "^4.1.0", "depth-first": "^4.0.0", "focus-trap-react": "^11.0.3", - "govuk-frontend": "^5.10.2", + "govuk-frontend": "^5.7.1", "hapi-pino": "^12.1.0", "http-status-codes": "^2.3.0", "i18next": "^24.2.3", diff --git a/designer/precompile-govuk-components.js b/designer/precompile-govuk-components.js index 39579da80f..69f8e3396a 100755 --- a/designer/precompile-govuk-components.js +++ b/designer/precompile-govuk-components.js @@ -2,7 +2,6 @@ import { join } from 'node:path' import { precompileFn } from './bin/precompile.js' const inputPath = join(import.meta.dirname, 'node_modules/govuk-frontend/dist') - const outputPath = join( import.meta.dirname, 'client/src/assets/nunjucks/govuk-components.js' diff --git a/package-lock.json b/package-lock.json index 83c2c6c79f..0bc95b412d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -79,9 +79,9 @@ "@hapi/jwt": "^3.2.0", "@hapi/vision": "^7.0.3", "@hapi/wreck": "^18.1.0", - "@hapi/yar": "^11.0.2", + "@hapi/yar": "^11.0.3", "@types/dagre": "^0.7.52", - "@types/govuk-frontend": "^5.9.0", + "@types/govuk-frontend": "^5.7.0", "@types/hapi__cookie": "^12.0.5", "@types/hapi__crumb": "^7.3.7", "@types/hapi__inert": "^5.2.10", @@ -103,7 +103,7 @@ "date-fns": "^4.1.0", "depth-first": "^4.0.0", "focus-trap-react": "^11.0.3", - "govuk-frontend": "^5.10.2", + "govuk-frontend": "^5.7.1", "hapi-pino": "^12.1.0", "http-status-codes": "^2.3.0", "i18next": "^24.2.3", @@ -187,6 +187,15 @@ } } }, + "designer/node_modules/govuk-frontend": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.7.1.tgz", + "integrity": "sha512-jF1cq5rn57kxZmJRprUZhTQ31zaBBK4b5AyeJaPX3Yhg22lk90Mx/dQLvOk/ycV3wM7e0y+s4IPvb2fFaPlCGg==", + "license": "MIT", + "engines": { + "node": ">= 4.2.0" + } + }, "designer/node_modules/react": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", @@ -2331,6 +2340,15 @@ "integrity": "sha512-HV5undWkKzcB4RZUusqOpcgxOaq6VOAH7zhhIr2g3G8NF/MlFO75SjOr2NfuSx0Mh40+1FqCkagKLJRykUWoFQ==", "license": "BSD-3-Clause" }, + "node_modules/@defra/forms-engine-plugin/node_modules/govuk-frontend": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.10.1.tgz", + "integrity": "sha512-VmzKE+pkuOqEXhit0cGqic4i2mOQwflfXDiEcsa6Lrqs//rxV5AYf+C71jbREPwQLH4wYSJAlz/GlGoO5nik7Q==", + "license": "MIT", + "engines": { + "node": ">= 4.2.0" + } + }, "node_modules/@defra/forms-model": { "resolved": "model", "link": true @@ -3584,9 +3602,10 @@ "integrity": "sha512-PnsP5d4q7289pS2T2EgGz147BFJ2Jpb4yrEdkpz2IhgEUzos1S7HTl7ezWh1yfYzYlj89KzLdCRkqsP6SIryeQ==" }, "node_modules/@hapi/yar": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/@hapi/yar/-/yar-11.0.2.tgz", - "integrity": "sha512-YRi0MKepRuddc6qRBRZ9jIc4I2Ikb7UB/4IlMa+wR8CUXI/7oOKeQVDx4ZCxXLI42vssCv/j65ZI84c7m8d2WA==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@hapi/yar/-/yar-11.0.3.tgz", + "integrity": "sha512-8ScE8V+3biKO6oRy9hLGdoZwHXTL5URDxqbDeJIgNPvd5/GAed4RLAUJPWbtCT5ouWlaLuLppHjcm5nDLrJQqw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^11.0.2", "@hapi/statehood": "^8.0.1" @@ -4743,9 +4762,9 @@ } }, "node_modules/@types/govuk-frontend": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@types/govuk-frontend/-/govuk-frontend-5.9.0.tgz", - "integrity": "sha512-oaTZA/QJ7cGEMoO5Mu29qZkiIewL2fxRxTI+iXHgNjjBW1SeJCSMmU6rh1Fv7AWhQzaXQO+fJW/WQLXzdNkSVQ==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@types/govuk-frontend/-/govuk-frontend-5.7.0.tgz", + "integrity": "sha512-TcYJYKpr+uP6aCLlQhyIL5zU24v42XL3nqzPSoHBGmUC3DxjiH/5xFgAsL704KzW1fQwHathV8XoQN/p4srfDQ==", "license": "MIT" }, "node_modules/@types/graceful-fs": { @@ -10299,10 +10318,10 @@ } }, "node_modules/govuk-frontend": { - "version": "5.10.2", - "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.10.2.tgz", - "integrity": "sha512-eVYB2rfUCihehZFHQyylt12/OuXq2JLs+70igcrB1FmbepcDqs1XwKiq96hsPbPF9Vn2f6QXO1OatyD3bq5c9Q==", - "license": "MIT", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-4.0.1.tgz", + "integrity": "sha512-X+B88mqYHoxAz0ID87Uxo3oHqdKBRnNHd3Cz8+u8nvQUAsrEzROFLK+t7sAu7e+fKqCCrJyIgx6Cmr6dIGnohQ==", + "peer": true, "engines": { "node": ">= 4.2.0" }