From 785129558c82820377b211416e9512cbe933c006 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 23 Aug 2024 07:37:34 +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 | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index b8106b3..e22bfac 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 2c4d5dd..ae9c849 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) @@ -1658,8 +1658,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: @@ -1849,12 +1849,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 @@ -2497,8 +2497,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' @@ -5635,7 +5635,7 @@ snapshots: deep-is@0.1.4: {} - deepmerge-ts@5.1.0: {} + deepmerge-ts@7.1.0: {} default-browser-id@5.0.0: {} @@ -5949,15 +5949,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.2.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: @@ -6751,9 +6751,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.1.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)