diff --git a/eslint.config.mjs b/eslint.config.mjs index 6b506f16274..0d43f0ae332 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -115,6 +115,8 @@ export default [ 'unicorn/no-array-for-each': 'off', // disabled because `toReversed` is not "widely supported" yet 'unicorn/no-array-reverse': 'off', + // disabled because `toSorted` is not "widely supported" yet + 'unicorn/no-array-sort': 'off', // disabled because it is annoying in some cases... 'unicorn/no-await-expression-member': 'off', // disabled because we need `null` since JSON has no `undefined` diff --git a/package.json b/package.json index 3aa8844d23d..691d5c755ab 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "eslint-plugin-prettier": "5.5.4", "eslint-plugin-qunit": "8.2.5", "eslint-plugin-qunit-dom": "0.2.0", - "eslint-plugin-unicorn": "60.0.0", + "eslint-plugin-unicorn": "61.0.2", "globals": "16.4.0", "globby": "14.1.0", "loader.js": "4.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4aae575d192..73c2812e13d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -264,8 +264,8 @@ importers: specifier: 0.2.0 version: 0.2.0(eslint@9.35.0(jiti@2.5.1)) eslint-plugin-unicorn: - specifier: 60.0.0 - version: 60.0.0(eslint@9.35.0(jiti@2.5.1)) + specifier: 61.0.2 + version: 61.0.2(eslint@9.35.0(jiti@2.5.1)) globals: specifier: 16.4.0 version: 16.4.0 @@ -4509,8 +4509,8 @@ packages: resolution: {integrity: sha512-qr7RJCYImKQjB+39q4q46i1l7p1V3joHzBE5CAYfxn5tfVFjrnjn/tw7q/kDyweU9kAIcLul0Dx/KWVUCb3BgA==} engines: {node: ^16.0.0 || ^18.0.0 || >=20.0.0} - eslint-plugin-unicorn@60.0.0: - resolution: {integrity: sha512-QUzTefvP8stfSXsqKQ+vBQSEsXIlAiCduS/V1Em+FKgL9c21U/IIm20/e3MFy1jyCf14tHAhqC1sX8OTy6VUCg==} + eslint-plugin-unicorn@61.0.2: + resolution: {integrity: sha512-zLihukvneYT7f74GNbVJXfWIiNQmkc/a9vYBTE4qPkQZswolWNdu+Wsp9sIXno1JOzdn6OUwLPd19ekXVkahRA==} engines: {node: ^20.10.0 || >=21.0.0} peerDependencies: eslint: '>=9.29.0' @@ -6844,6 +6844,7 @@ packages: engines: {node: '>=0.6.0', teleport: '>=0.2.0'} deprecated: |- You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. + (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) qs@6.13.0: @@ -13888,7 +13889,7 @@ snapshots: transitivePeerDependencies: - eslint - eslint-plugin-unicorn@60.0.0(eslint@9.35.0(jiti@2.5.1)): + eslint-plugin-unicorn@61.0.2(eslint@9.35.0(jiti@2.5.1)): dependencies: '@babel/helper-validator-identifier': 7.27.1 '@eslint-community/eslint-utils': 4.8.0(eslint@9.35.0(jiti@2.5.1))