From dd9af30eaf1527227391fd601a5e1015e50f5cbe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:12:30 +0000 Subject: [PATCH] fix(deps): update dependency eslint-plugin-functional to v7 ##### [v7.0.1](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#701-2024-08-07) ##### Bug Fixes - don't throw when typescript can't be resolved ([afb05bd](https://github.com/eslint-functional/eslint-plugin-functional/commit/afb05bdf934d8f63bde405f39c1c5233ad8be572)) ##### [v7.0.0](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#700-2024-08-05) ##### Bug Fixes - checking of types from ts's lib are now more strict ([#862](https://github.com/eslint-functional/eslint-plugin-functional/issues/862)) ([39beb25](https://github.com/eslint-functional/eslint-plugin-functional/commit/39beb25a5c1805047abd76055e6d5aaeecc961e0)) ##### Features - eslint 9 migration ([#809](https://github.com/eslint-functional/eslint-plugin-functional/issues/809)) ([de4e3ea](https://github.com/eslint-functional/eslint-plugin-functional/commit/de4e3ea3370663c29cba8d8f773445a17885a59e)) - **functional-parameters:** allow overriding options based on where the function type is declared ([#803](https://github.com/eslint-functional/eslint-plugin-functional/issues/803)) ([21396d5](https://github.com/eslint-functional/eslint-plugin-functional/commit/21396d598cb4b8ca403b8b04f15b295a7f2580e0)), closes [#575](https://github.com/eslint-functional/eslint-plugin-functional/issues/575) - **functional-parameters:** change options in recommended and lite configs ([#811](https://github.com/eslint-functional/eslint-plugin-functional/issues/811)) ([b3cb8d9](https://github.com/eslint-functional/eslint-plugin-functional/commit/b3cb8d95de88cca7706f73175aa928ea83380788)) - **immutable-data:** allows for applying overrides to the options based on the root object's type ([#826](https://github.com/eslint-functional/eslint-plugin-functional/issues/826)) ([c04e425](https://github.com/eslint-functional/eslint-plugin-functional/commit/c04e4253953a2353706ed0feb963249dcb35fd4c)) - **no-classes:** add options ignoreIdentifierPattern and ignoreCodePattern ([#863](https://github.com/eslint-functional/eslint-plugin-functional/issues/863)) ([18aede1](https://github.com/eslint-functional/eslint-plugin-functional/commit/18aede1e4ea68385f06fb4b52468ee49eec1f620)), closes [#851](https://github.com/eslint-functional/eslint-plugin-functional/issues/851) - **no-throw-statements:** replace option `allowInAsyncFunctions` with `allowToRejectPromises` ([#839](https://github.com/eslint-functional/eslint-plugin-functional/issues/839)) ([c2c589c](https://github.com/eslint-functional/eslint-plugin-functional/commit/c2c589cd8fd4af9bd55cd148c7826a15e90c6d81)), closes [#838](https://github.com/eslint-functional/eslint-plugin-functional/issues/838) - **prefer-immutable-types:** allow overriding options based on where the type is declared ([#804](https://github.com/eslint-functional/eslint-plugin-functional/issues/804)) ([86fa76a](https://github.com/eslint-functional/eslint-plugin-functional/commit/86fa76a5dc66958b8fba96fcc0be5c665fd4ac40)), closes [#800](https://github.com/eslint-functional/eslint-plugin-functional/issues/800) - **prefer-immutable-types:** change the options in recommeneded and lite configs ([#810](https://github.com/eslint-functional/eslint-plugin-functional/issues/810)) ([defd713](https://github.com/eslint-functional/eslint-plugin-functional/commit/defd7136dbbd687c6ad176fb9f1b5660363cac38)) ##### BREAKING CHANGES - The minimum supported Node version is now 18.18.0 ([#809](https://github.com/eslint-functional/eslint-plugin-functional/issues/809)) - The minimum supported TypeScript version is now 4.7.4 ([#809](https://github.com/eslint-functional/eslint-plugin-functional/issues/809)) - The minimum supported Eslint version is now 9.0.0 ([#809](https://github.com/eslint-functional/eslint-plugin-functional/issues/809)) - **no-throw-statements:** replace option `allowInAsyncFunctions` with `allowToRejectPromises` ([#839](https://github.com/eslint-functional/eslint-plugin-functional/issues/839)) #### [6.6.3](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.6.2...v6.6.3) (2024-07-11) ##### Bug Fixes - **immutable-data:** ignoreAccessorPattern can now handle NonNullExpressions and ChainExpressions ([#849](https://github.com/eslint-functional/eslint-plugin-functional/issues/849)) ([f6ff69b](https://github.com/eslint-functional/eslint-plugin-functional/commit/f6ff69b0a4bcb0b170b30cbc0605201f2b3ba271)), closes [#840](https://github.com/eslint-functional/eslint-plugin-functional/issues/840) #### [6.6.2](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.6.1...v6.6.2) (2024-07-11) ##### Bug Fixes - **no-conditional-statements:** allow continue and break statements with labels to be considered "returning" ([#846](https://github.com/eslint-functional/eslint-plugin-functional/issues/846)) ([969b77b](https://github.com/eslint-functional/eslint-plugin-functional/commit/969b77b53d488a7bd4381beac55256bb8b2cceda)) - **no-expression-statements:** arrow functions cannot be self returning ([#847](https://github.com/eslint-functional/eslint-plugin-functional/issues/847)) ([7217fa4](https://github.com/eslint-functional/eslint-plugin-functional/commit/7217fa4130c7375de46cc261d404acf783bcba03)) - **no-promise-reject:** new Promises and throw statements are now also checked ([#848](https://github.com/eslint-functional/eslint-plugin-functional/issues/848)) ([fbe27ad](https://github.com/eslint-functional/eslint-plugin-functional/commit/fbe27ad932dee5fd08a091cfa308f077aad25556)) #### [6.6.1](https://github.com/eslint-functional/eslint-plugin-functional/compare/v6.6.0...v6.6.1) (2024-07-06) --- package.json | 2 +- pnpm-lock.yaml | 136 ++++++++++++++++++++++++++++++++++++------------- 2 files changed, 101 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 247185aa..28458c8e 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "eslint-config-xo-react": "^0.27.0", "eslint-config-xo-typescript": "^1.0.1", "eslint-plugin-codegen": "0.28.0", - "eslint-plugin-functional": "^6.0.0", + "eslint-plugin-functional": "^7.0.0", "eslint-plugin-import-x": "^3.1.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-markdown": "^4.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f75a5077..b00ed7d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 0.28.0 version: 0.28.0(eslint@8.57.0) eslint-plugin-functional: - specifier: ^6.0.0 - version: 6.6.3(eslint@8.57.0)(typescript@5.5.4) + specifier: ^7.0.0 + version: 7.0.1(eslint@8.57.0)(typescript@5.5.4) eslint-plugin-import-x: specifier: ^3.1.0 version: 3.1.0(eslint@8.57.0)(typescript@5.5.4) @@ -1049,6 +1049,10 @@ packages: resolution: {integrity: sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/scope-manager@8.2.0': + resolution: {integrity: sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@6.19.1': resolution: {integrity: sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1069,9 +1073,9 @@ packages: typescript: optional: true - '@typescript-eslint/type-utils@7.18.0': - resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} - engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/type-utils@7.2.0': + resolution: {integrity: sha512-xHi51adBHo9O9330J8GQYQwrKBqbIPJGZZVQTHHmy200hvkLZFWJIFtAG/7IYTWUyun6DE6w5InDReePJYJlJA==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^8.56.0 typescript: '*' @@ -1079,11 +1083,10 @@ packages: typescript: optional: true - '@typescript-eslint/type-utils@7.2.0': - resolution: {integrity: sha512-xHi51adBHo9O9330J8GQYQwrKBqbIPJGZZVQTHHmy200hvkLZFWJIFtAG/7IYTWUyun6DE6w5InDReePJYJlJA==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/type-utils@8.2.0': + resolution: {integrity: sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: @@ -1113,6 +1116,10 @@ packages: resolution: {integrity: sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.2.0': + resolution: {integrity: sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@5.59.11': resolution: {integrity: sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1167,6 +1174,15 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.2.0': + resolution: {integrity: sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@5.59.11': resolution: {integrity: sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1203,6 +1219,12 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/utils@8.2.0': + resolution: {integrity: sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + '@typescript-eslint/visitor-keys@5.59.11': resolution: {integrity: sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1227,6 +1249,10 @@ packages: resolution: {integrity: sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/visitor-keys@8.2.0': + resolution: {integrity: sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -1724,8 +1750,8 @@ packages: deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge-ts@5.1.0: - resolution: {integrity: sha512-eS8dRJOckyo9maw9Tu5O5RUi/4inFLrnoLkBe3cPfDMx3WZioXtmOew4TXQaxq7Rhl4xjDtR7c6x8nNTxOvbFw==} + deepmerge-ts@7.1.0: + resolution: {integrity: sha512-q6bNsfNBtgr8ZOQqmZbl94MmYWm+QcDNIkqCxVWiw1vKvf+y/N2dZQKdnDXn4c5Ygt/y63tDof6OCN+2YwWVEg==} engines: {node: '>=16.0.0'} default-browser-id@5.0.0: @@ -1915,12 +1941,12 @@ packages: resolution: {integrity: sha512-tM8Pj0Ej2QYqN7hpREA8IJ2P36fpvW5TIu8Vx/Y4JlyLy+pAO8PsVYRIdw0+qQ900eCQSyDoSa93O0+NfNjbnQ==} engines: {node: '>=18.0.0'} - eslint-plugin-functional@6.6.3: - resolution: {integrity: sha512-sVbbvNvwX3HVkXAykKyoNLv57r4DPF7f1sy+/8j4YtzLYVQPGljMUWv3T6Kd4lwnnjmcKuj0EkIbS+knL6P5jw==} - engines: {node: '>=16.10.0'} + eslint-plugin-functional@7.0.1: + resolution: {integrity: sha512-naT4A+NiYb5TIweR4ibK3SYN+r1Iqd6rWv3VAnLiyWl0zfYxz9hzNsRAPdREOe1aqwMXasdOZQ1nPqvZKC50ZQ==} + engines: {node: '>=v18.18.0'} peerDependencies: - eslint: ^8.0.0 || ^9.0.0 - typescript: '>=4.3.5' + eslint: ^9.0.0 + typescript: '>=4.7.4' peerDependenciesMeta: typescript: optional: true @@ -2547,8 +2573,8 @@ packages: is-hexadecimal@1.0.4: resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} - is-immutable-type@4.0.0: - resolution: {integrity: sha512-gyFBCXv+NikTs8/PGZhgjbMmFZQ5jvHGZIsVu6+/9Bk4K7imlWBIDN7hTr9fNioGzFg71I4YM3z8f0aKXarTAw==} + is-immutable-type@5.0.0: + resolution: {integrity: sha512-mcvHasqbRBWJznuPqqHRKiJgYAz60sZ0mvO3bN70JbkuK7ksfmgc489aKZYxMEjIbRvyOseaTjaRZLRF/xFeRA==} peerDependencies: eslint: '*' typescript: '>=4.7.4' @@ -5014,6 +5040,11 @@ snapshots: '@typescript-eslint/types': 8.1.0 '@typescript-eslint/visitor-keys': 8.1.0 + '@typescript-eslint/scope-manager@8.2.0': + dependencies: + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/visitor-keys': 8.2.0 + '@typescript-eslint/type-utils@6.19.1(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.5.4) @@ -5038,28 +5069,28 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@7.2.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.5.4) + '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.5.4) debug: 4.3.6 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.0.3(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@7.2.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.2.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 7.2.0(typescript@5.5.4) - '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + '@typescript-eslint/utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) debug: 4.3.6 - eslint: 8.57.0 - ts-api-utils: 1.0.3(typescript@5.5.4) + ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: + - eslint - supports-color '@typescript-eslint/types@5.59.11': {} @@ -5074,6 +5105,8 @@ snapshots: '@typescript-eslint/types@8.1.0': {} + '@typescript-eslint/types@8.2.0': {} + '@typescript-eslint/typescript-estree@5.59.11(typescript@5.5.4)': dependencies: '@typescript-eslint/types': 5.59.11 @@ -5163,6 +5196,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.2.0(typescript@5.5.4)': + dependencies: + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/visitor-keys': 8.2.0 + debug: 4.3.6 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + optionalDependencies: + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@5.59.11(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -5242,6 +5290,17 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.2.0(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@typescript-eslint/scope-manager': 8.2.0 + '@typescript-eslint/types': 8.2.0 + '@typescript-eslint/typescript-estree': 8.2.0(typescript@5.5.4) + eslint: 8.57.0 + transitivePeerDependencies: + - supports-color + - typescript + '@typescript-eslint/visitor-keys@5.59.11': dependencies: '@typescript-eslint/types': 5.59.11 @@ -5272,6 +5331,11 @@ snapshots: '@typescript-eslint/types': 8.1.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.2.0': + dependencies: + '@typescript-eslint/types': 8.2.0 + eslint-visitor-keys: 3.4.3 + '@ungap/structured-clone@1.2.0': {} '@vitest/expect@1.6.0': @@ -5788,7 +5852,7 @@ snapshots: deep-is@0.1.4: {} - deepmerge-ts@5.1.0: {} + deepmerge-ts@7.1.0: {} default-browser-id@5.0.0: {} @@ -6102,15 +6166,15 @@ snapshots: - eslint - supports-color - eslint-plugin-functional@6.6.3(eslint@8.57.0)(typescript@5.5.4): + eslint-plugin-functional@7.0.1(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - deepmerge-ts: 5.1.0 - escape-string-regexp: 4.0.0 + '@typescript-eslint/utils': 8.1.0(eslint@8.57.0)(typescript@5.5.4) + deepmerge-ts: 7.1.0 + escape-string-regexp: 5.0.0 eslint: 8.57.0 - is-immutable-type: 4.0.0(eslint@8.57.0)(typescript@5.5.4) - semver: 7.6.3 + is-immutable-type: 5.0.0(eslint@8.57.0)(typescript@5.5.4) ts-api-utils: 1.3.0(typescript@5.5.4) + ts-declaration-location: 1.0.4(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -6878,9 +6942,9 @@ snapshots: is-hexadecimal@1.0.4: {} - is-immutable-type@4.0.0(eslint@8.57.0)(typescript@5.5.4): + is-immutable-type@5.0.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/type-utils': 8.2.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.4) ts-declaration-location: 1.0.4(typescript@5.5.4)