diff --git a/package.json b/package.json index 8dd8c1f..56e6bfe 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.0" } } diff --git a/yarn.lock b/yarn.lock index 5c8f4cb..baecffd 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.0": + version: 8.18.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.18.0" 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.0" + "@typescript-eslint/type-utils": "npm:8.18.0" + "@typescript-eslint/utils": "npm:8.18.0" + "@typescript-eslint/visitor-keys": "npm:8.18.0" 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/c338da1b96c41d7b94401a6711659d0fef3acb691eff7a958f9d3aa0442a858830daad67e3575288a4f4669572e2b690517a513519b404a465ad68fe0a82d3ec 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.0": + version: 8.18.0 + resolution: "@typescript-eslint/parser@npm:8.18.0" 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.0" + "@typescript-eslint/types": "npm:8.18.0" + "@typescript-eslint/typescript-estree": "npm:8.18.0" + "@typescript-eslint/visitor-keys": "npm:8.18.0" 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/d3a062511c24dfcf522a645db1153022d49aa3bb05e288c22474cf04dc1d836f877eb9d2733947e448981ffb16e4de50d4ebe7570a268733a641f228ca6c4849 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.0": + version: 8.18.0 + resolution: "@typescript-eslint/scope-manager@npm:8.18.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.16.0" - "@typescript-eslint/utils": "npm:8.16.0" + "@typescript-eslint/types": "npm:8.18.0" + "@typescript-eslint/visitor-keys": "npm:8.18.0" + checksum: 10c0/6bf6532fd43f2b55b9b47fa8b0217c5b5a03f022e869a6a21228fc3ae04c0ac6c5ae5d6026866d189ba424d2f98cc6fbd2a34f909d241c9b86c031afd808f90c + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.18.0": + version: 8.18.0 + resolution: "@typescript-eslint/type-utils@npm:8.18.0" + dependencies: + "@typescript-eslint/typescript-estree": "npm:8.18.0" + "@typescript-eslint/utils": "npm:8.18.0" 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/c0fcf201c3b53f9374c0571198a639c81536170141caa08fd0f47094a596b1f82f839a849eac5832f954345c567dccb45b2ee1c0872c513331165f7bcb812396 languageName: node linkType: hard @@ -732,6 +736,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.18.0": + version: 8.18.0 + resolution: "@typescript-eslint/types@npm:8.18.0" + checksum: 10c0/2dd7468c3f1c305545268b72c3a333488e6ab1b628c5f65081d895866422b9376c21634a7aac437805f84b22e352b6a8fc4dcf925ef4a8fd7d1898b8359f71be + 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.0": + version: 8.18.0 + resolution: "@typescript-eslint/typescript-estree@npm:8.18.0" + dependencies: + "@typescript-eslint/types": "npm:8.18.0" + "@typescript-eslint/visitor-keys": "npm:8.18.0" + 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/87b432b190b627314f007b17b2371898db78baaa3df67a0d9a94d080d88a7a307906b54a735084cacef37f6421e2b9c3320040617e73fe54eac2bf22c610f1ec + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:8.18.0": + version: 8.18.0 + resolution: "@typescript-eslint/utils@npm:8.18.0" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.4.0" + "@typescript-eslint/scope-manager": "npm:8.18.0" + "@typescript-eslint/types": "npm:8.18.0" + "@typescript-eslint/typescript-estree": "npm:8.18.0" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/58a2fc1e404d1f905c2a958d995824eb4abc6e73836b186717550677f8b1d17954acc369feddb83277350915388bc3d8b721423c37777b8b8017fc29c89ec6ee + 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.0": + version: 8.18.0 + resolution: "@typescript-eslint/visitor-keys@npm:8.18.0" + dependencies: + "@typescript-eslint/types": "npm:8.18.0" + eslint-visitor-keys: "npm:^4.2.0" + checksum: 10c0/d4cdc2adab553098b5be7117fb7df76fb66cfd380528881a0a8c2a9eee03bf8baddda07d15ca0bd3ed8b35c379b3f449292183df18e3e81898dbcadafcb708b8 + 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 @@ -2423,13 +2477,13 @@ __metadata: version: 0.0.0-use.local resolution: "tailspend_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" @@ -2437,7 +2491,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" @@ -2445,7 +2499,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.0" 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.0": + version: 8.18.0 + resolution: "typescript-eslint@npm:8.18.0" 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.0" + "@typescript-eslint/parser": "npm:8.18.0" + "@typescript-eslint/utils": "npm:8.18.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/3da9401d6c2416b9d95c96a41a9423a5379d233a120cd3304e2c03f191d350ce91cf0c7e60017f7b10c93b4cc1190592702735735b771c1ce1bf68f71a9f1647 + typescript: ">=4.8.4 <5.8.0" + checksum: 10c0/dda882cbfc1ebad6903864571bc69bfd7e32e17fec67d98fdfab2bd652348d425c6a1c3697734d59cd5dd15d26d496db3c3808c1de5840fa29b9e76184fa1865 languageName: node linkType: hard