From a84a91d896d10fdc87e65ec3df8c65f02950689b Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 6 Feb 2024 09:42:03 +0000 Subject: [PATCH] chore: bump up eslint-plugin-unicorn version to v51 (#5810) 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) | [`^50.0.0` -> `^51.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/50.0.0/51.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/50.0.0/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/50.0.0/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn) ### [`v51.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v51.0.0) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.0) ##### Breaking - `consistent-destructuring`: Remove from `recommended` preset ([#​2260](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2260)) [`702d51b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/702d51b) ##### Improvements - `no-array-method-this-argument`: Check `Array.from()` ([#​2262](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2262)) [`797caee`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/797caee) ##### Fixes - `no-thenable`: Fix crash on `{[Symbol.prototype]: 0}` ([#​2248](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2248)) [`3c7d7c0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3c7d7c0) - `prefer-prototype-methods`: Fix argument of `isMethodCall` ([#​2247](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2247)) [`3b504fa`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3b504fa) ### [`v50.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v50.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.0...v50.0.1) ##### Fixes - `no-unnecessary-polyfills`: Fix missing dependency error ([#​2242](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2242)) [`3df1606`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3df16068)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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/toeverything/AFFiNE). --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index cfc3dd4355..145e3a803c 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-sonarjs": "^0.23.0", - "eslint-plugin-unicorn": "^50.0.0", + "eslint-plugin-unicorn": "^51.0.0", "eslint-plugin-unused-imports": "^3.0.0", "eslint-plugin-vue": "^9.18.1", "fake-indexeddb": "5.0.2", diff --git a/yarn.lock b/yarn.lock index 2e6b0eccb6..95926543a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -561,7 +561,7 @@ __metadata: eslint-plugin-react-hooks: "npm:^4.6.0" eslint-plugin-simple-import-sort: "npm:^10.0.0" eslint-plugin-sonarjs: "npm:^0.23.0" - eslint-plugin-unicorn: "npm:^50.0.0" + eslint-plugin-unicorn: "npm:^51.0.0" eslint-plugin-unused-imports: "npm:^3.0.0" eslint-plugin-vue: "npm:^9.18.1" fake-indexeddb: "npm:5.0.2" @@ -20083,9 +20083,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:^50.0.0": - version: 50.0.0 - resolution: "eslint-plugin-unicorn@npm:50.0.0" +"eslint-plugin-unicorn@npm:^51.0.0": + version: 51.0.0 + resolution: "eslint-plugin-unicorn@npm:51.0.0" dependencies: "@babel/helper-validator-identifier": "npm:^7.22.20" "@eslint-community/eslint-utils": "npm:^4.4.0" @@ -20105,7 +20105,7 @@ __metadata: strip-indent: "npm:^3.0.0" peerDependencies: eslint: ">=8.56.0" - checksum: 10/09d069bac3d4c7d3d3d4ddf8a9992718cd1acc6bbba99cfcb0fb581d9dd0d64378c55d6cc5579aadf23d199c53b539a4351446e0855b363c95e8926be15c95e6 + checksum: 10/cf875cf673bbc3e515bce5248f232d4a7a548d8c649f5cf653822a612e84532b4f190d9564a191c44054dcf8b7811f7e2bf64da39885a1a9ec123745237c818e languageName: node linkType: hard