From 420e18da863d98f13129e65c696fe97a109cad2c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:03:31 +0000 Subject: [PATCH] fix(deps): update dependency eslint-plugin-unicorn to v51 (#163) 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.1` -> `^51.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/50.0.1/51.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/51.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/51.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/50.0.1/51.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/50.0.1/51.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn) ### [`v51.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v51.0.1) [Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.0...v51.0.1) - `prefer-node-protocol`: Fix false positive on `bun:*` modules ([#​2272](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2272)) [`43fc638`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/43fc638) ### [`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)
--- ### Configuration ๐Ÿ“… **Schedule**: Branch creation - "before 4am on Wednesday" in timezone Europe/Berlin, 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/mheob/config). Co-authored-by: Alex Bรถhm <3983539+mheob@users.noreply.github.com> --- .changeset/sour-eggs-hunt.md | 5 +++ packages/eslint-config/package.json | 2 +- pnpm-lock.yaml | 65 +++-------------------------- 3 files changed, 11 insertions(+), 61 deletions(-) create mode 100644 .changeset/sour-eggs-hunt.md diff --git a/.changeset/sour-eggs-hunt.md b/.changeset/sour-eggs-hunt.md new file mode 100644 index 0000000..16c060f --- /dev/null +++ b/.changeset/sour-eggs-hunt.md @@ -0,0 +1,5 @@ +--- +"@mheob/eslint-config": patch +--- + +chore(deps): update dependency eslint-plugin-unicorn to v51 diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 8885c8e..bd61251 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -58,7 +58,7 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.33.2", "eslint-plugin-simple-import-sort": "^10.0.0", - "eslint-plugin-unicorn": "^50.0.1", + "eslint-plugin-unicorn": "^51.0.0", "eslint-plugin-unused-imports": "^3.0.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 290546d..98c4845 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,8 +111,8 @@ importers: specifier: ^10.0.0 version: 10.0.0(eslint@8.56.0) eslint-plugin-unicorn: - specifier: ^50.0.1 - version: 50.0.1(eslint@8.56.0) + specifier: ^51.0.0 + version: 51.0.1(eslint@8.56.0) eslint-plugin-unused-imports: specifier: ^3.0.0 version: 3.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint@8.56.0) @@ -400,16 +400,6 @@ packages: - typescript dev: true - /@commitlint/config-validator@18.4.4: - resolution: {integrity: sha512-/QI8KIg/h7O0Eus36fPcEcO3QPBcdXuGfZeCF5m15k0EB2bcU8s6pHNTNEa6xz9PrAefHCL+yzRJj7w20T6Mow==} - engines: {node: '>=v18'} - requiresBuild: true - dependencies: - '@commitlint/types': 18.4.4 - ajv: 8.12.0 - dev: true - optional: true - /@commitlint/config-validator@18.6.0: resolution: {integrity: sha512-Ptfa865arNozlkjxrYG3qt6wT9AlhNUHeuDyKEZiTL/l0ftncFhK/KN0t/EAMV2tec+0Mwxo0FmhbESj/bI+1g==} engines: {node: '>=v18'} @@ -461,28 +451,6 @@ packages: '@commitlint/types': 18.6.0 dev: true - /@commitlint/load@18.4.4(@types/node@20.11.17)(typescript@5.3.3): - resolution: {integrity: sha512-RaDIa9qwOw2xRJ3Jr2DBXd14rmnHJIX2XdZF4kmoF1rgsg/+7cvrExLSUNAkQUNimyjCn1b/bKX2Omm+GdY0XQ==} - engines: {node: '>=v18'} - requiresBuild: true - dependencies: - '@commitlint/config-validator': 18.4.4 - '@commitlint/execute-rule': 18.4.4 - '@commitlint/resolve-extends': 18.4.4 - '@commitlint/types': 18.4.4 - chalk: 4.1.2 - cosmiconfig: 8.3.6(typescript@5.3.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.11.17)(cosmiconfig@8.3.6)(typescript@5.3.3) - lodash.isplainobject: 4.0.6 - lodash.merge: 4.6.2 - lodash.uniq: 4.5.0 - resolve-from: 5.0.0 - transitivePeerDependencies: - - '@types/node' - - typescript - dev: true - optional: true - /@commitlint/load@18.6.0(@types/node@20.11.17)(typescript@5.3.3): resolution: {integrity: sha512-RRssj7TmzT0bowoEKlgwg8uQ7ORXWkw7lYLsZZBMi9aInsJuGNLNWcMxJxRZbwxG3jkCidGUg85WmqJvRjsaDA==} engines: {node: '>=v18'} @@ -527,20 +495,6 @@ packages: minimist: 1.2.8 dev: true - /@commitlint/resolve-extends@18.4.4: - resolution: {integrity: sha512-RRpIHSbRnFvmGifVk21Gqazf1QF/yeP+Kkg/e3PlkegcOKd/FGOXp/Kx9cvSO2K7ucSn4GD/oBvgasFoy+NCAw==} - engines: {node: '>=v18'} - requiresBuild: true - dependencies: - '@commitlint/config-validator': 18.4.4 - '@commitlint/types': 18.4.4 - import-fresh: 3.3.0 - lodash.mergewith: 4.6.2 - resolve-from: 5.0.0 - resolve-global: 1.0.0 - dev: true - optional: true - /@commitlint/resolve-extends@18.6.0: resolution: {integrity: sha512-k2Xp+Fxeggki2i90vGrbiLDMefPius3zGSTFFlRAPKce/SWLbZtI+uqE9Mne23mHO5lmcSV8z5m6ziiJwGpOcg==} engines: {node: '>=v18'} @@ -576,15 +530,6 @@ packages: find-up: 5.0.0 dev: true - /@commitlint/types@18.4.4: - resolution: {integrity: sha512-/FykLtodD8gKs3+VNkAUwofu4LBHankclj+I8fB2jTRvG6PV7k/OUt4P+VbM7ip853qS4F0g7Z6hLNa6JeMcAQ==} - engines: {node: '>=v18'} - requiresBuild: true - dependencies: - chalk: 4.1.2 - dev: true - optional: true - /@commitlint/types@18.6.0: resolution: {integrity: sha512-oavoKLML/eJa2rJeyYSbyGAYzTxQ6voG5oeX3OrxpfrkRWhJfm4ACnhoRf5tgiybx2MZ+EVFqC1Lw3W8/uwpZA==} engines: {node: '>=v18'} @@ -1519,7 +1464,7 @@ packages: longest: 2.0.1 word-wrap: 1.2.5 optionalDependencies: - '@commitlint/load': 18.4.4(@types/node@20.11.17)(typescript@5.3.3) + '@commitlint/load': 18.6.0(@types/node@20.11.17)(typescript@5.3.3) transitivePeerDependencies: - '@types/node' - typescript @@ -2015,8 +1960,8 @@ packages: eslint: 8.56.0 dev: false - /eslint-plugin-unicorn@50.0.1(eslint@8.56.0): - resolution: {integrity: sha512-KxenCZxqSYW0GWHH18okDlOQcpezcitm5aOSz6EnobyJ6BIByiPDviQRjJIUAjG/tMN11958MxaQ+qCoU6lfDA==} + /eslint-plugin-unicorn@51.0.1(eslint@8.56.0): + resolution: {integrity: sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.56.0'