From 1fc14bc7c9672ffc456f28c2d2081e4b30c35ff0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 22:07:54 +0000 Subject: [PATCH] fix(deps): update dependency eslint-plugin-functional to v7 ##### [v7.0.2](https://github.com/eslint-functional/eslint-plugin-functional/blob/HEAD/CHANGELOG.md#702-2024-08-26) ##### Bug Fixes - **no-expression-statements:** ignore `Promise` when `ignoreVoid` is set ([#866](https://github.com/eslint-functional/eslint-plugin-functional/issues/866)) ([2e1a992](https://github.com/eslint-functional/eslint-plugin-functional/commit/2e1a992365bdae6e89eaf744d6d8e61fc1e62b69)) ##### [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 | 62 ++++++++++++++++---------------------------------- 2 files changed, 21 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 4bf82283..9dd39e9a 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "eslint-config-xo-react": "^0.27.0", "eslint-config-xo-typescript": "^1.0.1", "eslint-plugin-codegen": "0.29.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": "^5.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5ea54d6..170a4a53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,8 +51,8 @@ importers: specifier: 0.29.0 version: 0.29.0(eslint@8.57.1) eslint-plugin-functional: - specifier: ^6.0.0 - version: 6.6.3(eslint@8.57.1)(typescript@5.6.2) + specifier: ^7.0.0 + version: 7.0.2(eslint@8.57.1)(typescript@5.6.2) eslint-plugin-import-x: specifier: ^3.1.0 version: 3.1.0(eslint@8.57.1)(typescript@5.6.2) @@ -1026,16 +1026,6 @@ packages: resolution: {integrity: sha512-ZuoutoS5y9UOxKvpc/GkvF4cuEmpokda4wRg64JEia27wX+PysIE9q+lzDtlHHgblwUWwo5/Qn+/WyTUvDwBHw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@7.18.0': - resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/type-utils@8.1.0': resolution: {integrity: sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1681,8 +1671,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: @@ -1871,12 +1861,12 @@ packages: resolution: {integrity: sha512-C5NqptnJgf5ngxAaPg125OodjYeDD1o79Q2QbRV4Ga8WGX70KyC9KgB5walRy037fl9/JFC8PKVB9lwLOBbVGw==} 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.2: + resolution: {integrity: sha512-IBriPyU3Uc1EieU5YVyiqrwHzw2yl4bRW58Xf5RP8x3pf80MoqObgfNu9DERwSIgvFOm93jdalUITc96Ysnx7g==} + 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 @@ -2491,8 +2481,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' @@ -4885,18 +4875,6 @@ snapshots: '@typescript-eslint/types': 8.6.0 '@typescript-eslint/visitor-keys': 8.6.0 - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.6.2)': - dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.2) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.2) - debug: 4.3.7 - eslint: 8.57.1 - ts-api-utils: 1.3.0(typescript@5.6.2) - optionalDependencies: - typescript: 5.6.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/type-utils@8.1.0(eslint@8.57.1)(typescript@5.6.2)': dependencies: '@typescript-eslint/typescript-estree': 8.1.0(typescript@5.6.2) @@ -5612,7 +5590,7 @@ snapshots: deep-is@0.1.4: {} - deepmerge-ts@5.1.0: {} + deepmerge-ts@7.1.0: {} default-browser-id@5.0.0: {} @@ -5924,15 +5902,15 @@ snapshots: - eslint - supports-color - eslint-plugin-functional@6.6.3(eslint@8.57.1)(typescript@5.6.2): + eslint-plugin-functional@7.0.2(eslint@8.57.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.2) - deepmerge-ts: 5.1.0 - escape-string-regexp: 4.0.0 + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.6.2) + deepmerge-ts: 7.1.0 + escape-string-regexp: 5.0.0 eslint: 8.57.1 - is-immutable-type: 4.0.0(eslint@8.57.1)(typescript@5.6.2) - semver: 7.6.3 + is-immutable-type: 5.0.0(eslint@8.57.1)(typescript@5.6.2) ts-api-utils: 1.3.0(typescript@5.6.2) + ts-declaration-location: 1.0.4(typescript@5.6.2) optionalDependencies: typescript: 5.6.2 transitivePeerDependencies: @@ -6685,9 +6663,9 @@ snapshots: is-hexadecimal@1.0.4: {} - is-immutable-type@4.0.0(eslint@8.57.1)(typescript@5.6.2): + is-immutable-type@5.0.0(eslint@8.57.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/type-utils': 8.6.0(eslint@8.57.1)(typescript@5.6.2) eslint: 8.57.1 ts-api-utils: 1.3.0(typescript@5.6.2) ts-declaration-location: 1.0.4(typescript@5.6.2)