From abf813927084153a618cae3e517bd8ee3c4d14dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 20:46:18 +0800 Subject: [PATCH] chore(deps-dev): bump eslint-plugin-unicorn from 68.0.0 to 69.0.0 (#22373) * chore(deps-dev): bump eslint-plugin-unicorn from 68.0.0 to 69.0.0 Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 68.0.0 to 69.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v68.0.0...v69.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-version: 69.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: add unicorn v69 recommended rules --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .oxlintrc.json | 11 +++++++++ package.json | 2 +- pnpm-lock.yaml | 61 ++++++++++++++++++++++++++++++++++++++++---------- 3 files changed, 61 insertions(+), 13 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 01a3955faf..8d53314eb2 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -164,6 +164,7 @@ "unicorn-js/consistent-json-file-read": "error", "unicorn-js/consistent-optional-chaining": "error", "unicorn/consistent-template-literal-escape": "error", + "unicorn-js/consistent-tuple-labels": "error", "unicorn-js/default-export-style": "error", "unicorn/empty-brace-spaces": "error", "unicorn/error-message": "error", @@ -227,7 +228,9 @@ "unicorn-js/no-invalid-character-comparison": "error", "unicorn/no-invalid-fetch-options": "error", "unicorn/no-invalid-remove-event-listener": "error", + "unicorn-js/no-invalid-well-known-symbol-methods": "error", "unicorn-js/no-late-current-target-access": "error", + "unicorn-js/no-late-event-control": "error", "unicorn/no-lonely-if": "error", "unicorn-js/no-loop-iterable-mutation": "error", "unicorn/no-magic-array-flat-depth": "error", @@ -306,8 +309,10 @@ // "unicorn/number-literal-case": "error", // "unicorn/numeric-separators-style": "error", "unicorn-js/operator-assignment": "error", + "unicorn-js/prefer-abort-signal-timeout": "error", "unicorn/prefer-add-event-listener": "error", "unicorn-js/prefer-add-event-listener-options": "error", + "unicorn-js/prefer-aggregate-error": "error", "unicorn/prefer-array-find": "error", "unicorn/prefer-array-flat": "error", "unicorn/prefer-array-flat-map": "error", @@ -333,6 +338,7 @@ "unicorn/prefer-dom-node-append": "error", "unicorn/prefer-dom-node-dataset": "error", "unicorn/prefer-dom-node-remove": "error", + "unicorn-js/prefer-dom-node-replace-children": "error", "unicorn/prefer-dom-node-text-content": "error", "unicorn-js/prefer-early-return": "error", "unicorn-js/prefer-else-if": "error", @@ -373,9 +379,11 @@ "unicorn-js/prefer-object-destructuring-defaults": "error", "unicorn/prefer-object-from-entries": "error", "unicorn-js/prefer-object-iterable-methods": "error", + "unicorn-js/prefer-observer-apis": "error", "unicorn/prefer-optional-catch-binding": "error", // "unicorn-js/prefer-path2d": "error", // unused "unicorn-js/prefer-private-class-fields": "error", + "unicorn-js/prefer-promise-try": "error", "unicorn-js/prefer-promise-with-resolvers": "error", "unicorn/prefer-prototype-methods": "error", "unicorn/prefer-query-selector": "error", @@ -385,6 +393,7 @@ "unicorn/prefer-response-static-json": "error", "unicorn-js/prefer-scoped-selector": "error", "unicorn/prefer-set-has": "error", + "unicorn-js/prefer-set-methods": "error", "unicorn/prefer-set-size": "error", "unicorn-js/prefer-short-arrow-method": "warn", "unicorn-js/prefer-simple-condition-first": "error", @@ -407,6 +416,7 @@ "unicorn/prefer-structured-clone": "error", // "unicorn/prefer-switch": "error", "unicorn/prefer-ternary": "error", + "unicorn-js/prefer-toggle-attribute": "error", // "unicorn/prefer-top-level-await": "error", "unicorn/prefer-type-error": "error", "unicorn-js/prefer-type-literal-last": "error", @@ -415,6 +425,7 @@ "unicorn-js/prefer-unicode-code-point-escapes": "error", "unicorn-js/prefer-url-can-parse": "error", "unicorn-js/prefer-url-href": "error", + "unicorn-js/prefer-url-search-parameters": "error", "unicorn-js/prefer-while-loop-condition": "error", // "unicorn/prevent-abbreviations": "error", "unicorn/relative-url-style": "error", diff --git a/package.json b/package.json index 77b7f0bcfb..881b1368da 100644 --- a/package.json +++ b/package.json @@ -177,7 +177,7 @@ "eslint-plugin-n": "18.2.1", "eslint-plugin-regexp": "3.1.1", "eslint-plugin-simple-import-sort": "13.0.0", - "eslint-plugin-unicorn": "68.0.0", + "eslint-plugin-unicorn": "69.0.0", "eslint-plugin-yml": "3.5.0", "fast-string-width": "3.0.2", "fs-extra": "11.3.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 58c54e6f53..5b3ed6b518 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -387,8 +387,8 @@ importers: specifier: 13.0.0 version: 13.0.0(eslint@10.6.0(jiti@2.6.1)) eslint-plugin-unicorn: - specifier: 68.0.0 - version: 68.0.0(eslint@10.6.0(jiti@2.6.1)) + specifier: 69.0.0 + version: 69.0.0(eslint@10.6.0(jiti@2.6.1)) eslint-plugin-yml: specifier: 3.5.0 version: 3.5.0(eslint@10.6.0(jiti@2.6.1)) @@ -2848,6 +2848,11 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + baseline-browser-mapping@2.10.40: + resolution: {integrity: sha512-BSSLZ9/Cjjv7Gtj5B68ZzXcXUg8iOf3fme+FCuh8rC/Go+Kmh8cox7M3A8dolou16s64QjLPOSdngh7GxXvkSw==} + engines: {node: '>=6.0.0'} + hasBin: true + basic-ftp@5.3.1: resolution: {integrity: sha512-bopVNp6ugyA150DDuZfPFdt1KZ5a94ZDiwX4hMgZDzF+GttD80lEy8kj98kbyhLXnPvhtIo93mdnLIjpCAeeOw==} engines: {node: '>=10.0.0'} @@ -2904,6 +2909,11 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + browserslist@4.28.4: + resolution: {integrity: sha512-MTc8i/x9jBQd1iMw2CFGS+rwMa07eYjLR0CCTLDACl9xhxy+nIs3KeML/biicXtk9JrZ6dnnTatmc7ErPXIxqw==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + buffer-equal-constant-time@1.0.1: resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} @@ -2917,8 +2927,8 @@ packages: resolution: {integrity: sha512-ZMANVnAixE6AWWnPzlW2KpUrxhm9woycYvPOo67jWHyFowASTEd9s+QN1EIMsSDtwhIxN4sWE1jotpuDUIgyIw==} engines: {node: '>=6.14.2'} - builtin-modules@5.2.0: - resolution: {integrity: sha512-02yxLeyxF4dNl6SlY6/5HfRSrSdZ/sCPoxy2kZNP5dZZX8LSAD9aE2gtJIUgWrsQTiMPl3mxESyrobSwvRGisQ==} + builtin-modules@5.3.0: + resolution: {integrity: sha512-hMQUl2bUFG339QygPM97E+mc8OY1IAchORZxm4a/frcYwKzozMzRVDBwHW0NjOqGElLm2O37AVQE8ikxlZHrMQ==} engines: {node: '>=18.20'} byte-counter@0.1.0: @@ -3311,6 +3321,9 @@ packages: electron-to-chromium@1.5.376: resolution: {integrity: sha512-cUVA7/RvbFTEuw/i3obUwDTRIXojaxkResf+ibByPFxjc6XK3VNtcQXV0NSbAlJ0FMjcJGgftVVB4Qo184EXvA==} + electron-to-chromium@1.5.381: + resolution: {integrity: sha512-n9Wa6yB+vDsGuA8AKbl/0z7HbvWqt5jxIdvr1IUicd0ryPrk7/xzwqLv8D9AbbvZ6avVNtXYLTfmgFHkwkyelg==} + emoji-regex@10.6.0: resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} @@ -3463,8 +3476,8 @@ packages: peerDependencies: eslint: '>=5.0.0' - eslint-plugin-unicorn@68.0.0: - resolution: {integrity: sha512-mHYWvX948Q4H3bGc39bsNMxD/leOuNI+Iws9NVsoSz5VA7EGP86wnz7mZ/SPSvRhefT8L4hd8DHfDuGC+lIoCQ==} + eslint-plugin-unicorn@69.0.0: + resolution: {integrity: sha512-ZN/KtHr9hQ6AOByANSNJpsDbo/+Nn+EyQ6blK4w+dcmS/xpYkqLLfrUc+NA/wOK6vF5uEUvhn8my5B/3sruB9g==} engines: {node: '>=22'} peerDependencies: eslint: '>=10.4' @@ -4574,6 +4587,10 @@ packages: resolution: {integrity: sha512-1uz8041X6LoI6ZSdZacM9lVY28vuzDlSKitnpbSNK0RfKoIJkX29NBPVEFXhnuSuEOA9Ww0xnPJ+ILWbGAv8DA==} engines: {node: '>=18'} + node-releases@2.0.50: + resolution: {integrity: sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==} + engines: {node: '>=18'} + nodemailer@9.0.1: resolution: {integrity: sha512-Gwv8SQewT616ZM/URn0H54b8PWo/Wum7md3EW2aWy1lO27+WZCX+Xyak3J+NlmHUjDh5ME+uesJUDRbR3Ye8Bw==} engines: {node: '>=6.0.0'} @@ -7931,6 +7948,8 @@ snapshots: baseline-browser-mapping@2.10.38: {} + baseline-browser-mapping@2.10.40: {} + basic-ftp@5.3.1: {} bcrypt-pbkdf@1.0.2: @@ -7985,6 +8004,14 @@ snapshots: node-releases: 2.0.48 update-browserslist-db: 1.2.3(browserslist@4.28.2) + browserslist@4.28.4: + dependencies: + baseline-browser-mapping: 2.10.40 + caniuse-lite: 1.0.30001799 + electron-to-chromium: 1.5.381 + node-releases: 2.0.50 + update-browserslist-db: 1.2.3(browserslist@4.28.4) + buffer-equal-constant-time@1.0.1: {} buffer@6.0.3: @@ -8002,7 +8029,7 @@ snapshots: dependencies: node-gyp-build: 4.8.4 - builtin-modules@5.2.0: {} + builtin-modules@5.3.0: {} byte-counter@0.1.0: {} @@ -8151,7 +8178,7 @@ snapshots: core-js-compat@3.49.0: dependencies: - browserslist: 4.28.2 + browserslist: 4.28.4 core-js@2.6.12: {} @@ -8351,6 +8378,8 @@ snapshots: electron-to-chromium@1.5.376: {} + electron-to-chromium@1.5.381: {} + emoji-regex@10.6.0: {} emoji-regex@8.0.0: {} @@ -8553,11 +8582,11 @@ snapshots: dependencies: eslint: 10.6.0(jiti@2.6.1) - eslint-plugin-unicorn@68.0.0(eslint@10.6.0(jiti@2.6.1)): + eslint-plugin-unicorn@69.0.0(eslint@10.6.0(jiti@2.6.1)): dependencies: '@babel/helper-validator-identifier': 7.29.7 '@eslint-community/eslint-utils': 4.9.1(eslint@10.6.0(jiti@2.6.1)) - browserslist: 4.28.2 + browserslist: 4.28.4 change-case: 5.4.4 ci-info: 4.4.0 core-js-compat: 3.49.0 @@ -8570,7 +8599,7 @@ snapshots: jsesc: 3.1.0 pluralize: 8.0.0 regjsparser: 0.13.2 - semver: 7.8.4 + semver: 7.8.5 strip-indent: 4.1.1 eslint-plugin-yml@3.5.0(eslint@10.6.0(jiti@2.6.1)): @@ -9183,7 +9212,7 @@ snapshots: is-builtin-module@5.0.0: dependencies: - builtin-modules: 5.2.0 + builtin-modules: 5.3.0 is-docker@2.2.1: {} @@ -9965,6 +9994,8 @@ snapshots: node-releases@2.0.48: {} + node-releases@2.0.50: {} + nodemailer@9.0.1: {} nopt@7.2.1: @@ -11119,6 +11150,12 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + update-browserslist-db@1.2.3(browserslist@4.28.4): + dependencies: + browserslist: 4.28.4 + escalade: 3.2.0 + picocolors: 1.1.1 + uri-js@4.4.1: dependencies: punycode: 2.3.1