diff --git a/designer/package.json b/designer/package.json index 32d2ea60a..4d3c714a7 100644 --- a/designer/package.json +++ b/designer/package.json @@ -62,7 +62,7 @@ "@types/luxon": "^3.6.2", "@types/nunjucks": "^3.2.6", "@types/prismjs": "^1.26.5", - "@types/qs": "^6.14.0", + "@types/qs": "^6.15.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/resolve": "^1.20.6", @@ -97,10 +97,10 @@ "pino": "^9.14.0", "prismjs": "^1.30.0", "proxy-agent": "^6.5.0", - "qs": "^6.14.0", + "qs": "^6.15.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "resolve": "^1.22.10", + "resolve": "^1.22.12", "serialize-javascript": "^7.0.3" }, "devDependencies": { @@ -119,7 +119,7 @@ "eslint-plugin-react-hooks": "^5.2.0", "file-loader": "^6.2.0", "jest-environment-jsdom": "^29.7.0", - "nock": "^14.0.11", + "nock": "^14.0.12", "oidc-client-ts": "^3.2.1", "outdent": "^0.8.0", "pino-pretty": "^13.1.1", diff --git a/model/package.json b/model/package.json index 64522c019..3f1d17d00 100644 --- a/model/package.json +++ b/model/package.json @@ -37,14 +37,14 @@ "@joi/date": "^2.1.1", "marked": "^15.0.12", "nanoid": "^5.0.7", - "slug": "^11.0.0", + "slug": "^11.0.1", "uuid": "^11.1.0" }, "devDependencies": { "@types/slug": "^5.0.9", "joi": "^17.13.3", "joi-to-json": "^4.3.2", - "tsc-alias": "^1.8.11" + "tsc-alias": "^1.8.16" }, "peerDependencies": { "joi": "^17.0.0" diff --git a/package-lock.json b/package-lock.json index 7949931ce..ffb06e400 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@types/eslint-plugin-jsx-a11y": "^6.10.1", "@types/jest": "^29.5.14", "@types/node": "^22.19.1", - "@types/sortablejs": "^1.15.8", + "@types/sortablejs": "^1.15.9", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.27.0", "aws-sdk-client-mock": "^4.1.0", @@ -44,7 +44,7 @@ "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "prettier": "^3.5.3", - "sortablejs": "^1.15.6", + "sortablejs": "^1.15.7", "stylelint": "^16.20.0", "stylelint-config-gds": "^2.0.0", "typescript": "^5.8.2", @@ -91,7 +91,7 @@ "@types/luxon": "^3.6.2", "@types/nunjucks": "^3.2.6", "@types/prismjs": "^1.26.5", - "@types/qs": "^6.14.0", + "@types/qs": "^6.15.0", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@types/resolve": "^1.20.6", @@ -126,10 +126,10 @@ "pino": "^9.14.0", "prismjs": "^1.30.0", "proxy-agent": "^6.5.0", - "qs": "^6.14.0", + "qs": "^6.15.1", "react": "^18.3.1", "react-dom": "^18.3.1", - "resolve": "^1.22.10", + "resolve": "^1.22.12", "serialize-javascript": "^7.0.3" }, "devDependencies": { @@ -148,7 +148,7 @@ "eslint-plugin-react-hooks": "^5.2.0", "file-loader": "^6.2.0", "jest-environment-jsdom": "^29.7.0", - "nock": "^14.0.11", + "nock": "^14.0.12", "oidc-client-ts": "^3.2.1", "outdent": "^0.8.0", "pino-pretty": "^13.1.1", @@ -169,69 +169,6 @@ "npm": "^10.9.0" } }, - "designer/node_modules/@defra/forms-engine-plugin": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/@defra/forms-engine-plugin/-/forms-engine-plugin-4.5.5.tgz", - "integrity": "sha512-+FpU2C654NUz1uVgGKB9iLSeOLt3bXsMKM678csQysO2EUB7j655qYh1J5q/bwdhiA4TeEZpxJ3dJ+rDKdk7vg==", - "hasInstallScript": true, - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@defra/forms-model": "^3.0.637", - "@defra/hapi-tracing": "^1.29.0", - "@defra/interactive-map": "^0.0.17-alpha", - "@elastic/ecs-pino-format": "^1.5.0", - "@hapi/boom": "^10.0.1", - "@hapi/bourne": "^3.0.0", - "@hapi/catbox": "^12.1.1", - "@hapi/catbox-memory": "^6.0.2", - "@hapi/catbox-redis": "^7.0.2", - "@hapi/crumb": "^9.0.1", - "@hapi/hapi": "^21.4.4", - "@hapi/hoek": "^11.0.7", - "@hapi/inert": "^7.1.0", - "@hapi/jwt": "^3.2.1", - "@hapi/vision": "^7.0.3", - "@hapi/wreck": "^18.1.0", - "@hapi/yar": "^11.0.3", - "@turf/bbox": "^7.3.4", - "@turf/centroid": "^7.3.4", - "@types/humanize-duration": "^3.27.4", - "accessible-autocomplete": "^3.0.1", - "atob": "^2.1.2", - "blankie": "^5.0.0", - "blipp": "^4.0.2", - "btoa": "^1.2.1", - "chokidar": "3.6.0", - "convict": "^6.2.5", - "date-fns": "^4.1.0", - "dotenv": "^17.2.3", - "expr-eval-fork": "^3.0.0", - "geodesy": "^2.4.0", - "govuk-frontend": "^5.13.0", - "hapi-pino": "^13.0.0", - "hapi-pulse": "^3.0.1", - "highlight.js": "^11.11.1", - "http-status-codes": "^2.3.0", - "humanize-duration": "^3.33.1", - "ioredis": "^5.8.2", - "joi": "^17.13.3", - "liquidjs": "^10.24.0", - "lodash": "^4.17.21", - "marked": "^15.0.12", - "nunjucks": "^3.2.4", - "obscenity": "^0.4.5", - "outdent": "^0.8.0", - "pino": "^9.14.0", - "pino-pretty": "^13.1.2", - "proxy-agent": "^6.5.0", - "resolve": "^1.22.11", - "yaml": "^2.8.1" - }, - "engines": { - "node": ">=22.11.0 <25.0.0", - "npm": ">=10.9.0 <11.6.4" - } - }, "designer/node_modules/@testing-library/react": { "version": "16.0.1", "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.1.tgz", @@ -260,48 +197,6 @@ } } }, - "designer/node_modules/@turf/bbox": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.3.4.tgz", - "integrity": "sha512-D5ErVWtfQbEPh11yzI69uxqrcJmbPU/9Y59f1uTapgwAwQHQztDWgsYpnL3ns8r1GmPWLP8sGJLVTIk2TZSiYA==", - "license": "MIT", - "dependencies": { - "@turf/helpers": "7.3.4", - "@turf/meta": "7.3.4", - "@types/geojson": "^7946.0.10", - "tslib": "^2.8.1" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "designer/node_modules/@turf/helpers": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.3.4.tgz", - "integrity": "sha512-U/S5qyqgx3WTvg4twaH0WxF3EixoTCfDsmk98g1E3/5e2YKp7JKYZdz0vivsS5/UZLJeZDEElOSFH4pUgp+l7g==", - "license": "MIT", - "dependencies": { - "@types/geojson": "^7946.0.10", - "tslib": "^2.8.1" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, - "designer/node_modules/@turf/meta": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.3.4.tgz", - "integrity": "sha512-tlmw9/Hs1p2n0uoHVm1w3ugw1I6L8jv9YZrcdQa4SH5FX5UY0ATrKeIvfA55FlL//PGuYppJp+eyg/0eb4goqw==", - "license": "MIT", - "dependencies": { - "@turf/helpers": "7.3.4", - "@types/geojson": "^7946.0.10", - "tslib": "^2.8.1" - }, - "funding": { - "url": "https://opencollective.com/turf" - } - }, "designer/node_modules/@x-govuk/govuk-prototype-components": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@x-govuk/govuk-prototype-components/-/govuk-prototype-components-5.0.2.tgz", @@ -352,6 +247,27 @@ "react": "^18.3.1" } }, + "designer/node_modules/resolve": { + "version": "1.22.12", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", + "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "is-core-module": "^2.16.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "designer/node_modules/scheduler": { "version": "0.23.2", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", @@ -369,14 +285,14 @@ "@joi/date": "^2.1.1", "marked": "^15.0.12", "nanoid": "^5.0.7", - "slug": "^11.0.0", + "slug": "^11.0.1", "uuid": "^11.1.0" }, "devDependencies": { "@types/slug": "^5.0.9", "joi": "^17.13.3", "joi-to-json": "^4.3.2", - "tsc-alias": "^1.8.11" + "tsc-alias": "^1.8.16" }, "engines": { "node": "^22.12.0", @@ -4221,6 +4137,120 @@ "resolved": "designer", "link": true }, + "node_modules/@defra/forms-engine-plugin": { + "version": "4.5.6", + "resolved": "https://registry.npmjs.org/@defra/forms-engine-plugin/-/forms-engine-plugin-4.5.6.tgz", + "integrity": "sha512-xuG3LnszavdenRylVNVm3JJ6U1cEdQG+ZZmWh1VjMinqDsR1RVj6gxMwlEJpUv0SyhyuLZw0Nq1oR/0+ApMBPQ==", + "hasInstallScript": true, + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@defra/forms-model": "^3.0.637", + "@defra/hapi-tracing": "^1.29.0", + "@defra/interactive-map": "^0.0.17-alpha", + "@elastic/ecs-pino-format": "^1.5.0", + "@hapi/boom": "^10.0.1", + "@hapi/bourne": "^3.0.0", + "@hapi/catbox": "^12.1.1", + "@hapi/catbox-memory": "^6.0.2", + "@hapi/catbox-redis": "^7.0.2", + "@hapi/crumb": "^9.0.1", + "@hapi/hapi": "^21.4.4", + "@hapi/hoek": "^11.0.7", + "@hapi/inert": "^7.1.0", + "@hapi/jwt": "^3.2.1", + "@hapi/vision": "^7.0.3", + "@hapi/wreck": "^18.1.0", + "@hapi/yar": "^11.0.3", + "@turf/bbox": "^7.3.4", + "@turf/centroid": "^7.3.4", + "@types/humanize-duration": "^3.27.4", + "accessible-autocomplete": "^3.0.1", + "atob": "^2.1.2", + "blankie": "^5.0.0", + "blipp": "^4.0.2", + "btoa": "^1.2.1", + "chokidar": "3.6.0", + "convict": "^6.2.5", + "date-fns": "^4.1.0", + "dotenv": "^17.2.3", + "expr-eval-fork": "^3.0.0", + "geodesy": "^2.4.0", + "govuk-frontend": "^5.13.0", + "hapi-pino": "^13.0.0", + "hapi-pulse": "^3.0.1", + "highlight.js": "^11.11.1", + "http-status-codes": "^2.3.0", + "humanize-duration": "^3.33.1", + "ioredis": "^5.8.2", + "joi": "^17.13.3", + "liquidjs": "^10.24.0", + "lodash": "^4.17.21", + "marked": "^15.0.12", + "nunjucks": "^3.2.4", + "obscenity": "^0.4.5", + "outdent": "^0.8.0", + "pino": "^9.14.0", + "pino-pretty": "^13.1.2", + "proxy-agent": "^6.5.0", + "resolve": "^1.22.11", + "yaml": "^2.8.1" + }, + "engines": { + "node": ">=22.11.0 <25.0.0", + "npm": ">=10.9.0 <11.6.4" + } + }, + "node_modules/@defra/forms-engine-plugin/node_modules/@turf/bbox": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-7.3.4.tgz", + "integrity": "sha512-D5ErVWtfQbEPh11yzI69uxqrcJmbPU/9Y59f1uTapgwAwQHQztDWgsYpnL3ns8r1GmPWLP8sGJLVTIk2TZSiYA==", + "license": "MIT", + "dependencies": { + "@turf/helpers": "7.3.4", + "@turf/meta": "7.3.4", + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@defra/forms-engine-plugin/node_modules/@turf/helpers": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-7.3.4.tgz", + "integrity": "sha512-U/S5qyqgx3WTvg4twaH0WxF3EixoTCfDsmk98g1E3/5e2YKp7JKYZdz0vivsS5/UZLJeZDEElOSFH4pUgp+l7g==", + "license": "MIT", + "dependencies": { + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@defra/forms-engine-plugin/node_modules/@turf/meta": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-7.3.4.tgz", + "integrity": "sha512-tlmw9/Hs1p2n0uoHVm1w3ugw1I6L8jv9YZrcdQa4SH5FX5UY0ATrKeIvfA55FlL//PGuYppJp+eyg/0eb4goqw==", + "license": "MIT", + "dependencies": { + "@turf/helpers": "7.3.4", + "@types/geojson": "^7946.0.10", + "tslib": "^2.8.1" + }, + "funding": { + "url": "https://opencollective.com/turf" + } + }, + "node_modules/@defra/forms-engine-plugin/node_modules/govuk-frontend": { + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.14.0.tgz", + "integrity": "sha512-MgfaXswIM6KpXS2T5gltEnzgVLgfM3UoE9+rYkhBiR0suaJ8Let31VZXQZqz9QhiPDbv28fW1nRjIyLujfZIBA==", + "license": "MIT", + "engines": { + "node": ">= 4.2.0" + } + }, "node_modules/@defra/forms-model": { "resolved": "model", "link": true @@ -11149,9 +11179,9 @@ "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==" }, "node_modules/@types/qs": { - "version": "6.14.0", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz", - "integrity": "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.15.0.tgz", + "integrity": "sha512-JawvT8iBVWpzTrz3EGw9BTQFg3BQNmwERdKE22vlTxawwtbyUSlMppvZYKLZzB5zgACXdXxbD3m1bXaMqP/9ow==", "license": "MIT" }, "node_modules/@types/range-parser": { @@ -11310,9 +11340,9 @@ } }, "node_modules/@types/sortablejs": { - "version": "1.15.8", - "resolved": "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.8.tgz", - "integrity": "sha512-b79830lW+RZfwaztgs1aVPgbasJ8e7AXtZYHTELNXZPsERt4ymJdjV4OccDbHQAvHrCcFpbF78jkm0R6h/pZVg==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.15.9.tgz", + "integrity": "sha512-7HP+rZGE2p886PKV9c9OJzLBI6BBJu1O7lJGYnPyG3fS4/duUCcngkNCjsLwIMV+WMqANe3tt4irrXHSIe68OQ==", "dev": true, "license": "MIT" }, @@ -26931,9 +26961,9 @@ } }, "node_modules/nock": { - "version": "14.0.11", - "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.11.tgz", - "integrity": "sha512-u5xUnYE+UOOBA6SpELJheMCtj2Laqx15Vl70QxKo43Wz/6nMHXS7PrEioXLjXAwhmawdEMNImwKCcPhBJWbKVw==", + "version": "14.0.12", + "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.12.tgz", + "integrity": "sha512-kZM3bHV0KzhHH6E2eRszHyML/w87AUzLBwupNTHohtYWP9fZYgUPmCbSKq6ITfEEmHqN4/p0MscvUipT4P5Qsg==", "dev": true, "license": "MIT", "dependencies": { @@ -29903,15 +29933,6 @@ "integrity": "sha512-pcaShQc1Shq0y+E7GqJqvZj8DTthWV1KeHGdi0Z6IAin2Oi3JnLCOfwnCo84qc+HAp52wT9nK9H7FAJp5a44GQ==", "license": "ISC" }, - "node_modules/preact": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-8.5.3.tgz", - "integrity": "sha512-O3kKP+1YdgqHOFsZF2a9JVdtqD+RPzCQc3rP+Ualf7V6rmRDchZ9MJbiGTT7LuyqFKZqlHSOyO/oMFmI2lVTsw==", - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -30252,9 +30273,9 @@ } }, "node_modules/qs": { - "version": "6.15.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz", - "integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==", + "version": "6.15.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.1.tgz", + "integrity": "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==", "license": "BSD-3-Clause", "dependencies": { "side-channel": "^1.1.0" @@ -32541,9 +32562,9 @@ } }, "node_modules/slug": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/slug/-/slug-11.0.0.tgz", - "integrity": "sha512-71pb27F9TII2dIweGr2ybS220IUZo1A9GKZ+e2q8rpUr24mejBb6fTaSStM0SE1ITUUOshilqZze8Yt1BKj+ew==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/slug/-/slug-11.0.1.tgz", + "integrity": "sha512-VrM060OM/E7rdLQSnp6JHrzFfJFmqQBp0+TMhZStnEB8PfNliaZ9UWYjTHGHLUFVJorZ8TjVd/aKvIxHWU2O7g==", "license": "MIT", "bin": { "slug": "cli.js" @@ -32630,9 +32651,9 @@ } }, "node_modules/sortablejs": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.6.tgz", - "integrity": "sha512-aNfiuwMEpfBM/CN6LY0ibyhxPfPbyFeBTYJKCvzkJ2GkUpazIt3H+QIPAMHwqQ7tMKaHz1Qj+rJJCqljnf4p3A==", + "version": "1.15.7", + "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.7.tgz", + "integrity": "sha512-Kk8wLQPlS+yi1ZEf48a4+fzHa4yxjC30M/Sr2AnQu+f/MPwvvX9XjZ6OWejiz8crBsLwSq8GHqaxaET7u6ux0A==", "dev": true, "license": "MIT" }, @@ -34202,14 +34223,15 @@ } }, "node_modules/tsc-alias": { - "version": "1.8.11", - "resolved": "https://registry.npmjs.org/tsc-alias/-/tsc-alias-1.8.11.tgz", - "integrity": "sha512-2DuEQ58A9Rj2NE2c1+/qaGKlshni9MCK95MJzRGhQG0CYLw0bE/ACgbhhTSf/p1svLelwqafOd8stQate2bYbg==", + "version": "1.8.16", + "resolved": "https://registry.npmjs.org/tsc-alias/-/tsc-alias-1.8.16.tgz", + "integrity": "sha512-QjCyu55NFyRSBAl6+MTFwplpFcnm2Pq01rR/uxfqJoLMm6X3O14KEGtaSDZpJYaE1bJBGDjD0eSuiIWPe2T58g==", "dev": true, "license": "MIT", "dependencies": { "chokidar": "^3.5.3", "commander": "^9.0.0", + "get-tsconfig": "^4.10.0", "globby": "^11.0.4", "mylas": "^2.1.9", "normalize-path": "^3.0.0", @@ -34217,6 +34239,9 @@ }, "bin": { "tsc-alias": "dist/bin/index.js" + }, + "engines": { + "node": ">=16.20.2" } }, "node_modules/tsc-alias/node_modules/commander": { diff --git a/package.json b/package.json index e3a8a9a2f..668a3efb9 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/eslint-plugin-jsx-a11y": "^6.10.1", "@types/jest": "^29.5.14", "@types/node": "^22.19.1", - "@types/sortablejs": "^1.15.8", + "@types/sortablejs": "^1.15.9", "@typescript-eslint/eslint-plugin": "^8.34.0", "@typescript-eslint/parser": "^8.27.0", "aws-sdk-client-mock": "^4.1.0", @@ -67,7 +67,7 @@ "postcss": "^8.4.49", "postcss-scss": "^4.0.9", "prettier": "^3.5.3", - "sortablejs": "^1.15.6", + "sortablejs": "^1.15.7", "stylelint": "^16.20.0", "stylelint-config-gds": "^2.0.0", "typescript": "^5.8.2",