diff --git a/package.json b/package.json index 95ca2708..2e677dd9 100644 --- a/package.json +++ b/package.json @@ -28,11 +28,11 @@ "lint:fix": "eslint --fix app/javascript/" }, "devDependencies": { - "@eslint/js": "^9.16.0", - "@stylistic/eslint-plugin-js": "^2.11.0", - "@stylistic/eslint-plugin-ts": "^2.11.0", + "@eslint/js": "^9.17.0", + "@stylistic/eslint-plugin-js": "^2.12.1", + "@stylistic/eslint-plugin-ts": "^2.12.1", "@types/eslint__js": "^8.42.3", - "eslint": "^9.16.0", - "typescript-eslint": "^8.16.0" + "eslint": "^9.17.0", + "typescript-eslint": "^8.18.1" } } diff --git a/yarn.lock b/yarn.lock index 69546048..27200fb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -58,10 +58,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.16.0, @eslint/js@npm:^9.16.0": - version: 9.16.0 - resolution: "@eslint/js@npm:9.16.0" - checksum: 10c0/a55846a4ddade720662d36682f3eaaf38eac06eeee12c83bb837bba2b7d550dadcb3445b104219f0bc1da2e09b4fe5fb5ba123b8338c8c787bcfbd540878df75 +"@eslint/js@npm:9.17.0, @eslint/js@npm:^9.17.0": + version: 9.17.0 + resolution: "@eslint/js@npm:9.17.0" + checksum: 10c0/a0fda8657a01c60aa540f95397754267ba640ffb126e011b97fd65c322a94969d161beeaef57c1441c495da2f31167c34bd38209f7c146c7225072378c3a933d languageName: node linkType: hard @@ -553,28 +553,28 @@ __metadata: languageName: node linkType: hard -"@stylistic/eslint-plugin-js@npm:^2.11.0": - version: 2.11.0 - resolution: "@stylistic/eslint-plugin-js@npm:2.11.0" +"@stylistic/eslint-plugin-js@npm:^2.12.1": + version: 2.12.1 + resolution: "@stylistic/eslint-plugin-js@npm:2.12.1" dependencies: eslint-visitor-keys: "npm:^4.2.0" espree: "npm:^10.3.0" peerDependencies: eslint: ">=8.40.0" - checksum: 10c0/b8b8d19b89ccec51fee7f394be5a7f3551919e6141e1751bfe7a2f0f279919c576dc266d75290f062c2e65024841abb6c9cbdc3a0233503bd02b366e5371b61c + checksum: 10c0/f0941e97098b85414ddf372c37e8b034c1e742956a9bad98ae936750b99bf0832f53da84a6926ac20bbe4e2b34573d394a5941cc98792f451b55936d413a954d languageName: node linkType: hard -"@stylistic/eslint-plugin-ts@npm:^2.11.0": - version: 2.11.0 - resolution: "@stylistic/eslint-plugin-ts@npm:2.11.0" +"@stylistic/eslint-plugin-ts@npm:^2.12.1": + version: 2.12.1 + resolution: "@stylistic/eslint-plugin-ts@npm:2.12.1" dependencies: "@typescript-eslint/utils": "npm:^8.13.0" eslint-visitor-keys: "npm:^4.2.0" espree: "npm:^10.3.0" peerDependencies: eslint: ">=8.40.0" - checksum: 10c0/fb23e62bc44dfa34b12cffb1cb99f3841050911c5a9f4a8a72f75f44e236eaeb66950611471d9f1a99954b0c14b767567b000e98e800425bdb39976841ec0520 + checksum: 10c0/37255ad4733ddac16be63a17c0ce8a51bf968a31c198045fb33aaf587b4066f8cddb28f4ff3ba872806e5f573095f4bb1c9b1e057285466f40dd0c19a4fbedb8 languageName: node linkType: hard @@ -657,15 +657,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.16.0" +"@typescript-eslint/eslint-plugin@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.18.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.16.0" - "@typescript-eslint/type-utils": "npm:8.16.0" - "@typescript-eslint/utils": "npm:8.16.0" - "@typescript-eslint/visitor-keys": "npm:8.16.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/type-utils": "npm:8.18.1" + "@typescript-eslint/utils": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -673,28 +673,24 @@ __metadata: peerDependencies: "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/b03612b726ee5aff631cd50e05ceeb06a522e64465e4efdc134e3a27a09406b959ef7a05ec4acef1956b3674dc4fedb6d3a62ce69382f9e30c227bd4093003e5 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/7994d323228f3fc3ec124291cd02761251bcd9a5a6356001d2cb8f68abdb400c3cfbeb343d6941d8e6b6c8d2d616a278bbb3b6d9ed839ba5148a05f60a1f67b4 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/parser@npm:8.16.0" +"@typescript-eslint/parser@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/parser@npm:8.18.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.16.0" - "@typescript-eslint/types": "npm:8.16.0" - "@typescript-eslint/typescript-estree": "npm:8.16.0" - "@typescript-eslint/visitor-keys": "npm:8.16.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/typescript-estree": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/e49c6640a7a863a16baecfbc5b99392a4731e9c7e9c9aaae4efbc354e305485fe0f39a28bf0acfae85bc01ce37fe0cc140fd315fdaca8b18f9b5e0addff8ceae + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/23ab30b3f00b86108137e7df03710a088046ead3582595b0f8e17d5062770365e24e0a1ae3398bb3a1c29aa0f05a0de30887e2e0f6fb86163e878dd0eed1b25c languageName: node linkType: hard @@ -708,20 +704,28 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/type-utils@npm:8.16.0" +"@typescript-eslint/scope-manager@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/scope-manager@npm:8.18.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.16.0" - "@typescript-eslint/utils": "npm:8.16.0" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" + checksum: 10c0/97c503b2ece79b6c99ca8e6a5f1f40855cf72f17fbf05e42e62d19c2666e7e6f5df9bf71f13dbc4720c5ee0397670ba8052482a90441fbffa901da5f2e739565 + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/type-utils@npm:8.18.1" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.18.1" + "@typescript-eslint/utils": "npm:8.18.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/24c0e815c8bdf99bf488c7528bd6a7c790e8b3b674cb7fb075663afc2ee26b48e6f4cf7c0d14bb21e2376ca62bd8525cbcb5688f36135b00b62b1d353d7235b9 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/cfe5362a22fa5e18a2662928904da024e42c84cb58a46238b9b61edafcd046f53c9505637176c8cd1c386165c6a6ed15a2b51700495cad6c20e0e33499d483a1 languageName: node linkType: hard @@ -732,6 +736,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/types@npm:8.18.1" + checksum: 10c0/0a2ca5f7cdebcc844b6bc1e5afc5d83b563f55917d20e3fea3a17ed39c54b003178e26b5ec535113f45c93c569b46628d9a67defa70c01cbdfa801573fed69a2 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:8.16.0": version: 8.16.0 resolution: "@typescript-eslint/typescript-estree@npm:8.16.0" @@ -751,7 +762,40 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.16.0, @typescript-eslint/utils@npm:^8.13.0": +"@typescript-eslint/typescript-estree@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.18.1" + dependencies: + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" + peerDependencies: + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/7ecb061dc63c729b23f4f15db5736ca93b1ae633108400e6c31cf8af782494912f25c3683f9f952dbfd10cb96031caba247a1ad406abf5d163639a00ac3ce5a3 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/utils@npm:8.18.1" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/typescript-estree": "npm:8.18.1" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/1e29408bd8fbda9f3386dabdb2b7471dacff28342d5bd6521ca3b7932df0cae100030d2eac75d946a82cbefa33f78000eed4ce789128fdea069ffeabd4429d80 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^8.13.0": version: 8.16.0 resolution: "@typescript-eslint/utils@npm:8.16.0" dependencies: @@ -778,6 +822,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.18.1" + dependencies: + "@typescript-eslint/types": "npm:8.18.1" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/68651ae1825dbd660ea39b4e1d1618f6ad0026fa3a04aecec296750977cab316564e3e2ace8edbebf1ae86bd17d86acc98cac7b6e9aad4e1c666bd26f18706ad + languageName: node + linkType: hard + "abbrev@npm:^2.0.0": version: 2.0.0 resolution: "abbrev@npm:2.0.0" @@ -1029,7 +1083,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.5": +"cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -1150,16 +1204,16 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^9.16.0": - version: 9.16.0 - resolution: "eslint@npm:9.16.0" +"eslint@npm:^9.17.0": + version: 9.17.0 + resolution: "eslint@npm:9.17.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.12.1" "@eslint/config-array": "npm:^0.19.0" "@eslint/core": "npm:^0.9.0" "@eslint/eslintrc": "npm:^3.2.0" - "@eslint/js": "npm:9.16.0" + "@eslint/js": "npm:9.17.0" "@eslint/plugin-kit": "npm:^0.2.3" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" @@ -1168,7 +1222,7 @@ __metadata: "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.5" + cross-spawn: "npm:^7.0.6" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" eslint-scope: "npm:^8.2.0" @@ -1195,7 +1249,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/f36d12652c6f20bab8a77375b8ad29a6af030c3840deb0a5f9dd4cee49d68a2d68d7dc73b0c25918df59d83cd686dd5712e11387e696e1f3842e8dde15cd3255 + checksum: 10c0/9edd8dd782b4ae2eb00a158ed4708194835d4494d75545fa63a51f020ed17f865c49b4ae1914a2ecbc7fdb262bd8059e811aeef9f0bae63dced9d3293be1bbdd languageName: node linkType: hard @@ -2080,13 +2134,13 @@ __metadata: version: 0.0.0-use.local resolution: "pmp_idam@workspace:." dependencies: - "@eslint/js": "npm:^9.16.0" + "@eslint/js": "npm:^9.17.0" "@rails/ujs": "npm:^7.1.500" "@rollup/plugin-commonjs": "npm:^28.0.1" "@rollup/plugin-node-resolve": "npm:^15.3.0" "@rollup/plugin-typescript": "npm:^12.1.1" - "@stylistic/eslint-plugin-js": "npm:^2.11.0" - "@stylistic/eslint-plugin-ts": "npm:^2.11.0" + "@stylistic/eslint-plugin-js": "npm:^2.12.1" + "@stylistic/eslint-plugin-ts": "npm:^2.12.1" "@types/eslint__js": "npm:^8.42.3" "@types/jquery": "npm:^3.5.32" "@types/js-cookie": "npm:^3.0.6" @@ -2094,7 +2148,7 @@ __metadata: "@types/rails__ujs": "npm:^6.0.4" accessible-autocomplete: "npm:^3.0.1" ccs-frontend: "npm:^1.2.0" - eslint: "npm:^9.16.0" + eslint: "npm:^9.17.0" govuk-frontend: "npm:^5.7.1" jquery: "npm:^3.7.1" js-cookie: "npm:^3.0.5" @@ -2102,7 +2156,7 @@ __metadata: sass: "npm:^1.82.0" tslib: "npm:^2.8.1" typescript: "npm:^5.7.2" - typescript-eslint: "npm:^8.16.0" + typescript-eslint: "npm:^8.18.1" languageName: unknown linkType: soft @@ -2497,19 +2551,17 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.16.0": - version: 8.16.0 - resolution: "typescript-eslint@npm:8.16.0" +"typescript-eslint@npm:^8.18.1": + version: 8.18.1 + resolution: "typescript-eslint@npm:8.18.1" dependencies: - "@typescript-eslint/eslint-plugin": "npm:8.16.0" - "@typescript-eslint/parser": "npm:8.16.0" - "@typescript-eslint/utils": "npm:8.16.0" + "@typescript-eslint/eslint-plugin": "npm:8.18.1" + "@typescript-eslint/parser": "npm:8.18.1" + "@typescript-eslint/utils": "npm:8.18.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/3da9401d6c2416b9d95c96a41a9423a5379d233a120cd3304e2c03f191d350ce91cf0c7e60017f7b10c93b4cc1190592702735735b771c1ce1bf68f71a9f1647 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/cb75af9b7381051cf80a18d4d96782a23196f7500766fa52926c1515fd7eaa42cb01ed37582d1bf519860075bea3f5375e6fcbbaf7fed3e3ab1b0f6da95805ce languageName: node linkType: hard