From 017d22c8f6c0f5c0da0e6d55fdd6a67912b8c180 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:59:12 +0000 Subject: [PATCH] chore(deps): update dependency eslint-plugin-unicorn to v54 (#648) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-unicorn](https://togithub.com/sindresorhus/eslint-plugin-unicorn) | [`53.0.0` -> `54.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/53.0.0/54.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/54.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/54.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/53.0.0/54.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/53.0.0/54.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn) ### [`v54.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v54.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v53.0.0...v54.0.0) ##### New rules - [`no-negation-in-equality-check`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-negation-in-equality-check.md) ([#​2353](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2353)) [`8957a03`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/8957a03) ##### Breaking - `prefer-array-find`: Change [`checkFromLast`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-find.md#checkfromlast) default value to `true` ([#​2367](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2367)) [`a449af9`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/a449af9) ##### Improvements - Add name to flat configs ([#​2377](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2377)) [`ac8536e`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/ac8536e) - `prefer-array-some`: Check `Array#{findIndex,findLastIndex}()` ([#​2370](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2370)) [`10568ab`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/10568ab) - `prefer-includes`: Check `.lastIndexOf()` ([#​2368](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2368)) [`d812ad1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d812ad1) - `prefer-string-raw`: Ignore strings in Enums ([#​2354](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2354)) [`175ea04`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/175ea04) ##### Fixes - Fix edge cases when add `new` to calls ([#​2352](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2352)) [`d8f8161`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/d8f8161)
--- ### Configuration 📅 **Schedule**: Branch creation - "every weekday" in timezone Etc/UTC, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ScaleLeap/amazon-marketplaces). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 26 +++++++++++++------------- package.json | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index fa85ea49..4aee0600 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "eslint-plugin-prettier": "5.1.3", "eslint-plugin-simple-import-sort": "12.1.0", "eslint-plugin-sonarjs": "1.0.3", - "eslint-plugin-unicorn": "53.0.0", + "eslint-plugin-unicorn": "54.0.0", "jest": "29.7.0", "rimraf": "5.0.7", "ts-jest": "29.1.4", @@ -7568,9 +7568,9 @@ } }, "node_modules/eslint-plugin-unicorn": { - "version": "53.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-53.0.0.tgz", - "integrity": "sha512-kuTcNo9IwwUCfyHGwQFOK/HjJAYzbODHN3wP0PgqbW+jbXqpNWxNVpVhj2tO9SixBwuAdmal8rVcWKBxwFnGuw==", + "version": "54.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-54.0.0.tgz", + "integrity": "sha512-XxYLRiYtAWiAjPv6z4JREby1TAE2byBC7wlh0V4vWDCpccOSU1KovWV//jqPXF6bq3WKxqX9rdjoRQ1EhdmNdQ==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.24.5", @@ -7601,9 +7601,9 @@ } }, "node_modules/eslint-plugin-unicorn/node_modules/@eslint/eslintrc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.0.2.tgz", - "integrity": "sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -24281,9 +24281,9 @@ "requires": {} }, "eslint-plugin-unicorn": { - "version": "53.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-53.0.0.tgz", - "integrity": "sha512-kuTcNo9IwwUCfyHGwQFOK/HjJAYzbODHN3wP0PgqbW+jbXqpNWxNVpVhj2tO9SixBwuAdmal8rVcWKBxwFnGuw==", + "version": "54.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-54.0.0.tgz", + "integrity": "sha512-XxYLRiYtAWiAjPv6z4JREby1TAE2byBC7wlh0V4vWDCpccOSU1KovWV//jqPXF6bq3WKxqX9rdjoRQ1EhdmNdQ==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.24.5", @@ -24305,9 +24305,9 @@ }, "dependencies": { "@eslint/eslintrc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.0.2.tgz", - "integrity": "sha512-wV19ZEGEMAC1eHgrS7UQPqsdEiCIbTKTasEfcXAigzoXICcqZSjBZEHlZwNVvKg6UBCjSlos84XiLqsRJnIcIg==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", "dev": true, "requires": { "ajv": "^6.12.4", diff --git a/package.json b/package.json index 921012cc..0d0903e5 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "eslint-plugin-prettier": "5.1.3", "eslint-plugin-simple-import-sort": "12.1.0", "eslint-plugin-sonarjs": "1.0.3", - "eslint-plugin-unicorn": "53.0.0", + "eslint-plugin-unicorn": "54.0.0", "jest": "29.7.0", "rimraf": "5.0.7", "ts-jest": "29.1.4",