diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 52947891..d62de8c9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -61,6 +61,8 @@ updates: schedule: interval: monthly + cooldown: + default-days: 7 versioning-strategy: increase @@ -79,3 +81,5 @@ updates: schedule: interval: 'monthly' + cooldown: + default-days: 7 diff --git a/package.json b/package.json index 07378552..a4221b4b 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@eslint/compat": "^2.0.0", - "@eslint/js": "^9.39.1", + "@eslint/js": "^9.39.2", "@rollup/plugin-babel": "^6.1.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", @@ -80,14 +80,14 @@ "@types/jest": "^30.0.0", "@types/jest-axe": "^3.5.9", "@types/lodash": "^4.17.21", - "@types/node": "^24.10.1", + "@types/node": "^24.10.4", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "babel-jest": "^30.2.0", "babel-plugin-module-resolver": "^5.0.2", "babel-plugin-replace-import-extension": "^1.1.5", "classnames": "^2.5.1", - "eslint": "^9.39.1", + "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", @@ -101,7 +101,7 @@ "lodash": "^4.17.21", "nhsuk-frontend": "^10.1.0", "outdent": "^0.8.0", - "prettier": "^3.7.3", + "prettier": "^3.7.4", "react": "^19.2.3", "react-dom": "^19.2.3", "rollup": "^4.53.3", @@ -110,7 +110,7 @@ "storybook": "^10.1.8", "tslib": "^2.8.1", "typescript": "^5.9.3", - "typescript-eslint": "^8.48.1", + "typescript-eslint": "^8.49.0", "vite": "^7.2.7", "vite-tsconfig-paths": "^6.0.1" }, diff --git a/yarn.lock b/yarn.lock index 9320295f..2630047f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2358,10 +2358,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.39.1, @eslint/js@npm:^9.39.1": - version: 9.39.1 - resolution: "@eslint/js@npm:9.39.1" - checksum: 10c0/6f7f26f8cdb7ad6327bbf9741973b6278eb946f18f70e35406e88194b0d5c522d0547a34a02f2a208eec95c5d1388cdf7ccb20039efd2e4cb6655615247a50f1 +"@eslint/js@npm:9.39.2, @eslint/js@npm:^9.39.2": + version: 9.39.2 + resolution: "@eslint/js@npm:9.39.2" + checksum: 10c0/00f51c52b04ac79faebfaa65a9652b2093b9c924e945479f1f3945473f78aee83cbc76c8d70bbffbf06f7024626575b16d97b66eab16182e1d0d39daff2f26f5 languageName: node linkType: hard @@ -3933,12 +3933,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^24.10.1": - version: 24.10.1 - resolution: "@types/node@npm:24.10.1" +"@types/node@npm:^24.10.4": + version: 24.10.4 + resolution: "@types/node@npm:24.10.4" dependencies: undici-types: "npm:~7.16.0" - checksum: 10c0/d6bca7a78f550fbb376f236f92b405d676003a8a09a1b411f55920ef34286ee3ee51f566203920e835478784df52662b5b2af89159d9d319352e9ea21801c002 + checksum: 10c0/069639cb7233ee747df1897b5e784f6b6c5da765c96c94773c580aac888fa1a585048d2a6e95eb8302d89c7a9df75801c8b5a0b7d0221d4249059cf09a5f4228 languageName: node linkType: hard @@ -4013,106 +4013,105 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/eslint-plugin@npm:8.48.1" +"@typescript-eslint/eslint-plugin@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.49.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.48.1" - "@typescript-eslint/type-utils": "npm:8.48.1" - "@typescript-eslint/utils": "npm:8.48.1" - "@typescript-eslint/visitor-keys": "npm:8.48.1" - graphemer: "npm:^1.4.0" + "@typescript-eslint/scope-manager": "npm:8.49.0" + "@typescript-eslint/type-utils": "npm:8.49.0" + "@typescript-eslint/utils": "npm:8.49.0" + "@typescript-eslint/visitor-keys": "npm:8.49.0" ignore: "npm:^7.0.0" natural-compare: "npm:^1.4.0" ts-api-utils: "npm:^2.1.0" peerDependencies: - "@typescript-eslint/parser": ^8.48.1 + "@typescript-eslint/parser": ^8.49.0 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/aeb4692ac27ded73dce5ddba08d46f15d617651f629cdfc5e874dd4ac767eac0523807f1f4e51f6f80675efff78e5937690f1c58740b8cb92b44b87d757a6a1a + checksum: 10c0/f5a6ac622bebad31e6e561caa2e7364bac82e259d487e1832f90c41040c856ed360891c710098f43d3541a17703a429ef023b0f5bb573cc05ee52200096f252f languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/parser@npm:8.48.1" +"@typescript-eslint/parser@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/parser@npm:8.49.0" dependencies: - "@typescript-eslint/scope-manager": "npm:8.48.1" - "@typescript-eslint/types": "npm:8.48.1" - "@typescript-eslint/typescript-estree": "npm:8.48.1" - "@typescript-eslint/visitor-keys": "npm:8.48.1" + "@typescript-eslint/scope-manager": "npm:8.49.0" + "@typescript-eslint/types": "npm:8.49.0" + "@typescript-eslint/typescript-estree": "npm:8.49.0" + "@typescript-eslint/visitor-keys": "npm:8.49.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/54ec22c82cc631f56131bfed9747f8cadf52ab123463a406c5221f258f9533431c4a33ebe21ef178840d50235e69bb370d36aa2fd6a066e7223b38bfa41a1788 + checksum: 10c0/749e6244497f2b617351cce4ae520bc101c948b1c94c28e3bc4c5861eb999ada3b4be5dfad36a377a75675998a27d24c5ffba23ff2af743e2b4c4530f68b2673 languageName: node linkType: hard -"@typescript-eslint/project-service@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/project-service@npm:8.48.1" +"@typescript-eslint/project-service@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/project-service@npm:8.49.0" dependencies: - "@typescript-eslint/tsconfig-utils": "npm:^8.48.1" - "@typescript-eslint/types": "npm:^8.48.1" + "@typescript-eslint/tsconfig-utils": "npm:^8.49.0" + "@typescript-eslint/types": "npm:^8.49.0" debug: "npm:^4.3.4" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/0aeeea5e65d0f837bd9a47265f144f14ca72969d259ee929e63e06526b21f4e990e70c7bafdb2ceb3783373df7d9f5bae32c328a4c6403606f01339bc984b3f5 + checksum: 10c0/da6342fe99786c9d9c1d2fc3291ffd62afa043b42f4c7b5c1f8b3a6af266bd9af662281a0905ee70b069a811b63faf7efb63932f6bf55cb138e42309e4ced425 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/scope-manager@npm:8.48.1" +"@typescript-eslint/scope-manager@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/scope-manager@npm:8.49.0" dependencies: - "@typescript-eslint/types": "npm:8.48.1" - "@typescript-eslint/visitor-keys": "npm:8.48.1" - checksum: 10c0/16514823784cb598817b87d3d2b4fb618ab8b2378b3401a4c1160a5c914e51e7a925c3c1e7be73e0250e38390f0be70fecb3e0e0bdde7b243d74444933b95d3e + "@typescript-eslint/types": "npm:8.49.0" + "@typescript-eslint/visitor-keys": "npm:8.49.0" + checksum: 10c0/fe7a036e186e8cb933375ecc3b6ea8ce7604f1dd53d72c24d26158cbc2563527f8c1ba7a894b58bcbd079315fe950ff3c5eb5f7061658f39ff473c04d54ef701 languageName: node linkType: hard -"@typescript-eslint/tsconfig-utils@npm:8.48.1, @typescript-eslint/tsconfig-utils@npm:^8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/tsconfig-utils@npm:8.48.1" +"@typescript-eslint/tsconfig-utils@npm:8.49.0, @typescript-eslint/tsconfig-utils@npm:^8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.49.0" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/0d540f7ab3018ed1bab8f008c0d30229e0ea12806fdbf1c756572b5cf536a1f2a6c59ca2544c09bcd5b89dcfcf79e5f6be3d765e725492b9c7e4cd64fcecffc6 + checksum: 10c0/1b255149d3f0d99b6cf5df4b62925a79f44f243748c6e877a7cf1dd0cdbff7411f2971d5e9fa85472ed76055bd1826e55c1adc99f3d82f504bd9fcd6e76f4b3a languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/type-utils@npm:8.48.1" +"@typescript-eslint/type-utils@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/type-utils@npm:8.49.0" dependencies: - "@typescript-eslint/types": "npm:8.48.1" - "@typescript-eslint/typescript-estree": "npm:8.48.1" - "@typescript-eslint/utils": "npm:8.48.1" + "@typescript-eslint/types": "npm:8.49.0" + "@typescript-eslint/typescript-estree": "npm:8.49.0" + "@typescript-eslint/utils": "npm:8.49.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^2.1.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/c98a71f7d374be249ecc7c9f20b0a867a73ad4f64e646a6bf9f2c1a5d74f0dc7bd59e9c94a0842068caa366af39ae0c550ede6d653b5c9418a0a587510bbb6d5 + checksum: 10c0/0b5bdcbd100469acc6b02642f1bface12347423fc065b57fce94eef2f059a30ada1dfada2d172531305d4a48640c51236634f25eaa9529a400447862837ff595 languageName: node linkType: hard -"@typescript-eslint/types@npm:8.48.1, @typescript-eslint/types@npm:^8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/types@npm:8.48.1" - checksum: 10c0/366b8140f4c69319f1796b66b33c0c6e16eb6cbe543b9517003104e12ed143b620c1433ccf60d781a629d9433bd509a363c0c9d21fd438c17bb8840733af6caa +"@typescript-eslint/types@npm:8.49.0, @typescript-eslint/types@npm:^8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/types@npm:8.49.0" + checksum: 10c0/75b26207b142576cf9af86406815b440c7f4bc6645fa58c58a3d781a5d80a39ba7e44d4b4df297980019a7aa1db10da5ac515191aaaf0f1ef6007996c126d8f9 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/typescript-estree@npm:8.48.1" +"@typescript-eslint/typescript-estree@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.49.0" dependencies: - "@typescript-eslint/project-service": "npm:8.48.1" - "@typescript-eslint/tsconfig-utils": "npm:8.48.1" - "@typescript-eslint/types": "npm:8.48.1" - "@typescript-eslint/visitor-keys": "npm:8.48.1" + "@typescript-eslint/project-service": "npm:8.49.0" + "@typescript-eslint/tsconfig-utils": "npm:8.49.0" + "@typescript-eslint/types": "npm:8.49.0" + "@typescript-eslint/visitor-keys": "npm:8.49.0" debug: "npm:^4.3.4" minimatch: "npm:^9.0.4" semver: "npm:^7.6.0" @@ -4120,32 +4119,32 @@ __metadata: ts-api-utils: "npm:^2.1.0" peerDependencies: typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/72c0802f74222160f6a13ebbd32b0d504142a2427678c87ea78fc32672c65fd522377d43b31a97c944cbd0aefc36b320bf02f04e47c44f2797d6ccd0a8aa30ec + checksum: 10c0/91d0e4ed00021085142c2845571cc91c89b700ee184eb508e8d1f97a02533c029630f00c3f0f796942b28397ec9f61502b153c81971d228893363fc546bbb341 languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/utils@npm:8.48.1" +"@typescript-eslint/utils@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/utils@npm:8.49.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.7.0" - "@typescript-eslint/scope-manager": "npm:8.48.1" - "@typescript-eslint/types": "npm:8.48.1" - "@typescript-eslint/typescript-estree": "npm:8.48.1" + "@typescript-eslint/scope-manager": "npm:8.49.0" + "@typescript-eslint/types": "npm:8.49.0" + "@typescript-eslint/typescript-estree": "npm:8.49.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/1775ac217b578f52d6c1e85258098f8ef764d04830c6ce11043b434860da80f1a5f7cc1b9f2e0a63de161e83b8d876f7ae8362d7644d5d8e636e60ad5eeff4e2 + checksum: 10c0/d10fe4d844dacb2f76f0a6e018455d94ba29204845d57248ae220030bda7e13e0e7b488b3ccf8ce1b5d577e1e1775cbdbbff911261a586d9bc7fdfc3cc001697 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.48.1": - version: 8.48.1 - resolution: "@typescript-eslint/visitor-keys@npm:8.48.1" +"@typescript-eslint/visitor-keys@npm:8.49.0": + version: 8.49.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.49.0" dependencies: - "@typescript-eslint/types": "npm:8.48.1" + "@typescript-eslint/types": "npm:8.49.0" eslint-visitor-keys: "npm:^4.2.1" - checksum: 10c0/ecf4078ce63c296dd340672b516f42bf452534c75af7e7d6c1a3f32b143ff184cb3a4071d7429a9f870371ff9091a790acce28b85ce3c450bfc60554c79d43ca + checksum: 10c0/442c47bf8e46dda50a765cddbd524f6fef9e76acc3d11de2505ca7097054f24e53f12fe57be34b72fb56115f8f74499573a2704f3465bffdb96834083b616cf1 languageName: node linkType: hard @@ -6347,9 +6346,9 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.39.1": - version: 9.39.1 - resolution: "eslint@npm:9.39.1" +"eslint@npm:^9.39.2": + version: 9.39.2 + resolution: "eslint@npm:9.39.2" dependencies: "@eslint-community/eslint-utils": "npm:^4.8.0" "@eslint-community/regexpp": "npm:^4.12.1" @@ -6357,7 +6356,7 @@ __metadata: "@eslint/config-helpers": "npm:^0.4.2" "@eslint/core": "npm:^0.17.0" "@eslint/eslintrc": "npm:^3.3.1" - "@eslint/js": "npm:9.39.1" + "@eslint/js": "npm:9.39.2" "@eslint/plugin-kit": "npm:^0.4.1" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" @@ -6392,7 +6391,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/59b2480639404ba24578ca480f973683b87b7aac8aa7e349240474a39067804fd13cd8b9cb22fee074170b8c7c563b57bab703ec0f0d3f81ea017e5d2cad299d + checksum: 10c0/bb88ca8fd16bb7e1ac3e13804c54d41c583214460c0faa7b3e7c574e69c5600c7122295500fb4b0c06067831111db740931e98da1340329527658e1cf80073d3 languageName: node linkType: hard @@ -7006,13 +7005,6 @@ __metadata: languageName: node linkType: hard -"graphemer@npm:^1.4.0": - version: 1.4.0 - resolution: "graphemer@npm:1.4.0" - checksum: 10c0/e951259d8cd2e0d196c72ec711add7115d42eb9a8146c8eeda5b8d3ac91e5dd816b9cd68920726d9fd4490368e7ed86e9c423f40db87e2d8dfafa00fa17c3a31 - languageName: node - linkType: hard - "has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" @@ -9032,7 +9024,7 @@ __metadata: "@babel/preset-react": "npm:^7.28.5" "@babel/preset-typescript": "npm:^7.28.5" "@eslint/compat": "npm:^2.0.0" - "@eslint/js": "npm:^9.39.1" + "@eslint/js": "npm:^9.39.2" "@rollup/plugin-babel": "npm:^6.1.0" "@rollup/plugin-commonjs": "npm:^29.0.0" "@rollup/plugin-node-resolve": "npm:^16.0.3" @@ -9047,14 +9039,14 @@ __metadata: "@types/jest": "npm:^30.0.0" "@types/jest-axe": "npm:^3.5.9" "@types/lodash": "npm:^4.17.21" - "@types/node": "npm:^24.10.1" + "@types/node": "npm:^24.10.4" "@types/react": "npm:^19.2.7" "@types/react-dom": "npm:^19.2.3" babel-jest: "npm:^30.2.0" babel-plugin-module-resolver: "npm:^5.0.2" babel-plugin-replace-import-extension: "npm:^1.1.5" classnames: "npm:^2.5.1" - eslint: "npm:^9.39.1" + eslint: "npm:^9.39.2" eslint-config-prettier: "npm:^10.1.8" eslint-import-resolver-typescript: "npm:^4.4.4" eslint-plugin-import: "npm:^2.32.0" @@ -9068,7 +9060,7 @@ __metadata: lodash: "npm:^4.17.21" nhsuk-frontend: "npm:^10.1.0" outdent: "npm:^0.8.0" - prettier: "npm:^3.7.3" + prettier: "npm:^3.7.4" react: "npm:^19.2.3" react-dom: "npm:^19.2.3" rollup: "npm:^4.53.3" @@ -9077,7 +9069,7 @@ __metadata: storybook: "npm:^10.1.8" tslib: "npm:^2.8.1" typescript: "npm:^5.9.3" - typescript-eslint: "npm:^8.48.1" + typescript-eslint: "npm:^8.49.0" vite: "npm:^7.2.7" vite-tsconfig-paths: "npm:^6.0.1" peerDependencies: @@ -9604,12 +9596,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.7.3": - version: 3.7.3 - resolution: "prettier@npm:3.7.3" +"prettier@npm:^3.7.4": + version: 3.7.4 + resolution: "prettier@npm:3.7.4" bin: prettier: bin/prettier.cjs - checksum: 10c0/ee86bb06121c74dadc54f30b6f99aff6288966d9b842ce501d6991e20d20c6ce2d45028651b3b0955ca6e5fa89c1bee1e72b6f810243a93cef8bc69737972ef7 + checksum: 10c0/9675d2cd08eacb1faf1d1a2dbfe24bfab6a912b059fc9defdb380a408893d88213e794a40a2700bd29b140eb3172e0b07c852853f6e22f16f3374659a1a13389 languageName: node linkType: hard @@ -11456,18 +11448,18 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.48.1": - version: 8.48.1 - resolution: "typescript-eslint@npm:8.48.1" +"typescript-eslint@npm:^8.49.0": + version: 8.49.0 + resolution: "typescript-eslint@npm:8.49.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.48.1" - "@typescript-eslint/parser": "npm:8.48.1" - "@typescript-eslint/typescript-estree": "npm:8.48.1" - "@typescript-eslint/utils": "npm:8.48.1" + "@typescript-eslint/eslint-plugin": "npm:8.49.0" + "@typescript-eslint/parser": "npm:8.49.0" + "@typescript-eslint/typescript-estree": "npm:8.49.0" + "@typescript-eslint/utils": "npm:8.49.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <6.0.0" - checksum: 10c0/10b501bf69b14edd09d652b33e4a5dfad0498f2943992a433006933e384cdc5815217b2990801796ddf946d2ef4971d9a16c98c7cfbba41f6aa31b245ad057ac + checksum: 10c0/6559807ab5f0708455e22eeface154e5386506d22e4f0c5b1b2038c671ec9fb8b18f0319f6fc1f776f125902e3dc1fcfa99cc44ccf694ccac768c7034499c7e6 languageName: node linkType: hard