diff --git a/package.json b/package.json index c0f41135..59304bf1 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "eslint": "9.15.0", "eslint-config-prettier": "9.1.0", "eslint-formatter-codeframe": "7.32.1", - "eslint-plugin-perfectionist": "3.9.1", + "eslint-plugin-perfectionist": "4.0.2", "globby": "14.0.2", "prettier": "3.3.3", "rimraf": "6.0.1", diff --git a/yarn.lock b/yarn.lock index 13a3fb07..a672a15c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -638,7 +638,7 @@ __metadata: eslint: "npm:9.15.0" eslint-config-prettier: "npm:9.1.0" eslint-formatter-codeframe: "npm:7.32.1" - eslint-plugin-perfectionist: "npm:3.9.1" + eslint-plugin-perfectionist: "npm:4.0.2" globby: "npm:14.0.2" prettier: "npm:3.3.3" rimraf: "npm:6.0.1" @@ -873,16 +873,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.9.0": - version: 8.9.0 - resolution: "@typescript-eslint/scope-manager@npm:8.9.0" - dependencies: - "@typescript-eslint/types": "npm:8.9.0" - "@typescript-eslint/visitor-keys": "npm:8.9.0" - checksum: 10/44dfb640113e8be2f5d25034f5657a9609ee06082b817dc24116c5e1d7a708ca31e8eedcc47f7d309def2ce63be662d1d0a37a1c7bdc7345968a31d04c0a2377 - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.15.0": version: 8.15.0 resolution: "@typescript-eslint/type-utils@npm:8.15.0" @@ -900,20 +890,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.15.0": +"@typescript-eslint/types@npm:8.15.0, @typescript-eslint/types@npm:^8.15.0": version: 8.15.0 resolution: "@typescript-eslint/types@npm:8.15.0" checksum: 10/d31605748984794e586ed62e9052bd3794ba646ae75f60b9da5de644ad0e76aa64e47386a4e113ba2d66836927e03c836586ef586261c8ae627acc06fb7e275c languageName: node linkType: hard -"@typescript-eslint/types@npm:8.9.0, @typescript-eslint/types@npm:^8.9.0": - version: 8.9.0 - resolution: "@typescript-eslint/types@npm:8.9.0" - checksum: 10/4d087153605ec23c980f9bc807b122edefff828e0c3b52ef531f4b8e1d30078c39f95e84019370a395bf97eed0d7886cc50b8cd545c287f8a2a21b301272377a - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.15.0": version: 8.15.0 resolution: "@typescript-eslint/typescript-estree@npm:8.15.0" @@ -933,26 +916,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.9.0": - version: 8.9.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.9.0" - dependencies: - "@typescript-eslint/types": "npm:8.9.0" - "@typescript-eslint/visitor-keys": "npm:8.9.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" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/855b433f24fad5d6791c16510d035ded31ccfd17235b45f4dcb7fa89ed57268e4bf4bf79311c5323037e6243da506b2edcb113aa51339291efb344b6d8035b1a - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:8.15.0": +"@typescript-eslint/utils@npm:8.15.0, @typescript-eslint/utils@npm:^8.15.0": version: 8.15.0 resolution: "@typescript-eslint/utils@npm:8.15.0" dependencies: @@ -969,20 +933,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^8.9.0": - version: 8.9.0 - resolution: "@typescript-eslint/utils@npm:8.9.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.9.0" - "@typescript-eslint/types": "npm:8.9.0" - "@typescript-eslint/typescript-estree": "npm:8.9.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - checksum: 10/84efd10d6aa212103615cf52211a79f1ca02dc4fbf2dbb3a8d2aa49cd19f582b04c219ee98ed1ab77a503f967d82ce56521b1663359ff3e7faaa1f8798c19697 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.15.0": version: 8.15.0 resolution: "@typescript-eslint/visitor-keys@npm:8.15.0" @@ -993,16 +943,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.9.0": - version: 8.9.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.9.0" - dependencies: - "@typescript-eslint/types": "npm:8.9.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/809097884b8c706f549d99bafa3e0958bd893b3deb190297110f2f1f9360e12064335c8f2df68f39be7d744d2032b5eb57b710c9671eb38f793877ab9364c731 - languageName: node - linkType: hard - "@vercel/ncc@npm:0.38.3": version: 0.38.3 resolution: "@vercel/ncc@npm:0.38.3" @@ -1699,30 +1639,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-perfectionist@npm:3.9.1": - version: 3.9.1 - resolution: "eslint-plugin-perfectionist@npm:3.9.1" +"eslint-plugin-perfectionist@npm:4.0.2": + version: 4.0.2 + resolution: "eslint-plugin-perfectionist@npm:4.0.2" dependencies: - "@typescript-eslint/types": "npm:^8.9.0" - "@typescript-eslint/utils": "npm:^8.9.0" - minimatch: "npm:^9.0.5" - natural-compare-lite: "npm:^1.4.0" + "@typescript-eslint/types": "npm:^8.15.0" + "@typescript-eslint/utils": "npm:^8.15.0" + natural-orderby: "npm:^5.0.0" peerDependencies: - astro-eslint-parser: ^1.0.2 eslint: ">=8.0.0" - svelte: ">=3.0.0" - svelte-eslint-parser: ^0.41.1 - vue-eslint-parser: ">=9.0.0" - peerDependenciesMeta: - astro-eslint-parser: - optional: true - svelte: - optional: true - svelte-eslint-parser: - optional: true - vue-eslint-parser: - optional: true - checksum: 10/a40ea811fee63607dee62bd50e8fa02cdf583b90d5a3e06e8b7cf786a6c01a3c1a6bf67919e633f914ffd56a5bcd3ceb30c4a4d671a15399d1a00870c9acaf84 + checksum: 10/f7320890c3f469ac272a24672ffbc79c78eb934ccbf5475bad15cbe64794d60dde7ee6e6918a6addff071a2106cf77d3bbe5a822847c307bf505afdf37c06ec4 languageName: node linkType: hard @@ -1746,7 +1672,7 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 10/3f357c554a9ea794b094a09bd4187e5eacd1bc0d0653c3adeb87962c548e6a1ab8f982b86963ae1337f5d976004146536dcee5d0e2806665b193fbfbf1a9231b @@ -2529,15 +2455,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.5": - version: 9.0.5 - resolution: "minimatch@npm:9.0.5" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10/dd6a8927b063aca6d910b119e1f2df6d2ce7d36eab91de83167dd136bb85e1ebff97b0d3de1cb08bd1f7e018ca170b4962479fefab5b2a69e2ae12cb2edc8348 - languageName: node - linkType: hard - "minipass-collect@npm:^2.0.1": version: 2.0.1 resolution: "minipass-collect@npm:2.0.1" @@ -2673,13 +2590,6 @@ __metadata: languageName: node linkType: hard -"natural-compare-lite@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare-lite@npm:1.4.0" - checksum: 10/5222ac3986a2b78dd6069ac62cbb52a7bf8ffc90d972ab76dfe7b01892485d229530ed20d0c62e79a6b363a663b273db3bde195a1358ce9e5f779d4453887225 - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -2687,6 +2597,13 @@ __metadata: languageName: node linkType: hard +"natural-orderby@npm:^5.0.0": + version: 5.0.0 + resolution: "natural-orderby@npm:5.0.0" + checksum: 10/7620051a2d79af81ac6bce96f6bdec45c291d4acc1d709d62d7a6648b01cda4e751415d63bc71060ce8ab223dbf3ce013f229ee683ea651868f36ea4008d0dbe + languageName: node + linkType: hard + "negotiator@npm:^0.6.3": version: 0.6.3 resolution: "negotiator@npm:0.6.3"