diff --git a/package.json b/package.json index a6467ec49..a81385dbd 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "eslint-plugin-promise": "7.2.1", "eslint-plugin-regexp": "2.7.0", "eslint-plugin-sonarjs": "3.0.2", - "eslint-plugin-unicorn": "59.0.1", + "eslint-plugin-unicorn": "61.0.2", "eslint-plugin-yml": "1.18.0", "eslint-vitest-rule-tester": "2.2.0", "fast-glob": "3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f5e8e90a3..1fd1372e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,7 +38,7 @@ importers: version: 1.2.9(eslint@9.36.0(jiti@2.4.2)) '@rebeccastevens/eslint-config': specifier: 3.7.1 - version: 3.7.1(f8d736850cf52b3536086f1b3f03e15a) + version: 3.7.1(729bd46aa3e005efcbdc807f3653d6ad) '@rollup/plugin-replace': specifier: 6.0.2 version: 6.0.2(rollup@4.41.1) @@ -151,8 +151,8 @@ importers: specifier: 3.0.2 version: 3.0.2(eslint@9.36.0(jiti@2.4.2)) eslint-plugin-unicorn: - specifier: 59.0.1 - version: 59.0.1(eslint@9.36.0(jiti@2.4.2)) + specifier: 61.0.2 + version: 61.0.2(eslint@9.36.0(jiti@2.4.2)) eslint-plugin-yml: specifier: 1.18.0 version: 1.18.0(eslint@9.36.0(jiti@2.4.2)) @@ -873,10 +873,6 @@ packages: resolution: {integrity: sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/core@0.13.0': - resolution: {integrity: sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/core@0.15.2': resolution: {integrity: sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -893,10 +889,6 @@ packages: resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/plugin-kit@0.2.8': - resolution: {integrity: sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/plugin-kit@0.3.5': resolution: {integrity: sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -1822,6 +1814,10 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + baseline-browser-mapping@2.8.10: + resolution: {integrity: sha512-uLfgBi+7IBNay8ECBO2mVMGZAc1VgZWEChxm4lv+TobGdG82LnXMjuNGo/BSSZZL4UmkWhxEHP2f5ziLNwGWMA==} + hasBin: true + before-after-hook@4.0.0: resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==} @@ -1838,8 +1834,8 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - browserslist@4.25.1: - resolution: {integrity: sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==} + browserslist@4.26.3: + resolution: {integrity: sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -1875,8 +1871,8 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - caniuse-lite@1.0.30001726: - resolution: {integrity: sha512-VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==} + caniuse-lite@1.0.30001746: + resolution: {integrity: sha512-eA7Ys/DGw+pnkWWSE/id29f2IcPHVoE8wxtvE5JdvD2V28VTDPy1yEeo11Guz0sJ4ZeGRcm3uaTcAqK1LXaphA==} chai@5.2.0: resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} @@ -1927,8 +1923,8 @@ packages: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} - ci-info@4.2.0: - resolution: {integrity: sha512-cYY9mypksY8NRqgDB1XD1RiJL338v/551niynFTGkZOO2LHuB2OmOYxDIe/ttN9AHwrqdum1360G3ald0W9kCg==} + ci-info@4.3.0: + resolution: {integrity: sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==} engines: {node: '>=8'} clean-regexp@1.0.0: @@ -2051,8 +2047,8 @@ packages: convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - core-js-compat@3.41.0: - resolution: {integrity: sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A==} + core-js-compat@3.45.1: + resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==} core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -2245,8 +2241,8 @@ packages: engines: {node: '>=16'} hasBin: true - electron-to-chromium@1.5.179: - resolution: {integrity: sha512-UWKi/EbBopgfFsc5k61wFpV7WrnnSlSzW/e2XcBmS6qKYTivZlLtoll5/rdqRTxGglGHkmkW0j0pFNJG10EUIQ==} + electron-to-chromium@1.5.228: + resolution: {integrity: sha512-nxkiyuqAn4MJ1QbobwqJILiDtu/jk14hEAWaMiJmNPh1Z+jqoFlBFZjdXwLWGeVSeu9hGLg6+2G9yJaW8rBIFA==} emoji-regex@10.3.0: resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} @@ -2565,11 +2561,11 @@ packages: peerDependencies: eslint: ^8.0.0 || ^9.0.0 - eslint-plugin-unicorn@59.0.1: - resolution: {integrity: sha512-EtNXYuWPUmkgSU2E7Ttn57LbRREQesIP1BiLn7OZLKodopKfDXfBUkC/0j6mpw2JExwf43Uf3qLSvrSvppgy8Q==} - engines: {node: ^18.20.0 || ^20.10.0 || >=21.0.0} + eslint-plugin-unicorn@61.0.2: + resolution: {integrity: sha512-zLihukvneYT7f74GNbVJXfWIiNQmkc/a9vYBTE4qPkQZswolWNdu+Wsp9sIXno1JOzdn6OUwLPd19ekXVkahRA==} + engines: {node: ^20.10.0 || >=21.0.0} peerDependencies: - eslint: '>=9.22.0' + eslint: '>=9.29.0' eslint-plugin-yml@1.18.0: resolution: {integrity: sha512-9NtbhHRN2NJa/s3uHchO3qVVZw0vyOIvWlXWGaKCr/6l3Go62wsvJK5byiI6ZoYztDsow4GnS69BZD3GnqH3hA==} @@ -2893,8 +2889,8 @@ packages: resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==} engines: {node: '>=18'} - globals@16.0.0: - resolution: {integrity: sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==} + globals@16.4.0: + resolution: {integrity: sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==} engines: {node: '>=18'} globalthis@1.0.4: @@ -3702,8 +3698,8 @@ packages: resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==} engines: {node: '>=18'} - node-releases@2.0.19: - resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + node-releases@2.0.21: + resolution: {integrity: sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw==} normalize-package-data@6.0.2: resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} @@ -4924,7 +4920,7 @@ snapshots: dependencies: '@babel/compat-data': 7.28.0 '@babel/helper-validator-option': 7.27.1 - browserslist: 4.25.1 + browserslist: 4.26.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -5408,10 +5404,6 @@ snapshots: '@eslint/config-helpers@0.3.1': {} - '@eslint/core@0.13.0': - dependencies: - '@types/json-schema': 7.0.15 - '@eslint/core@0.15.2': dependencies: '@types/json-schema': 7.0.15 @@ -5434,11 +5426,6 @@ snapshots: '@eslint/object-schema@2.1.6': {} - '@eslint/plugin-kit@0.2.8': - dependencies: - '@eslint/core': 0.13.0 - levn: 0.4.1 - '@eslint/plugin-kit@0.3.5': dependencies: '@eslint/core': 0.15.2 @@ -5630,12 +5617,12 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@rebeccastevens/eslint-config@3.7.1(f8d736850cf52b3536086f1b3f03e15a)': + '@rebeccastevens/eslint-config@3.7.1(729bd46aa3e005efcbdc807f3653d6ad)': dependencies: '@antfu/install-pkg': 1.0.0 '@clack/prompts': 0.10.0 eslint: 9.36.0(jiti@2.4.2) - globals: 16.0.0 + globals: 16.4.0 local-pkg: 1.1.1 semver: 7.7.2 optionalDependencies: @@ -5664,7 +5651,7 @@ snapshots: eslint-plugin-promise: 7.2.1(eslint@9.36.0(jiti@2.4.2)) eslint-plugin-regexp: 2.7.0(eslint@9.36.0(jiti@2.4.2)) eslint-plugin-sonarjs: 3.0.2(eslint@9.36.0(jiti@2.4.2)) - eslint-plugin-unicorn: 59.0.1(eslint@9.36.0(jiti@2.4.2)) + eslint-plugin-unicorn: 61.0.2(eslint@9.36.0(jiti@2.4.2)) eslint-plugin-yml: 1.18.0(eslint@9.36.0(jiti@2.4.2)) jsonc-eslint-parser: 2.4.0 prettier: 3.5.3 @@ -6293,6 +6280,8 @@ snapshots: balanced-match@1.0.2: {} + baseline-browser-mapping@2.8.10: {} + before-after-hook@4.0.0: {} bottleneck@2.19.5: {} @@ -6310,12 +6299,13 @@ snapshots: dependencies: fill-range: 7.1.1 - browserslist@4.25.1: + browserslist@4.26.3: dependencies: - caniuse-lite: 1.0.30001726 - electron-to-chromium: 1.5.179 - node-releases: 2.0.19 - update-browserslist-db: 1.1.3(browserslist@4.25.1) + baseline-browser-mapping: 2.8.10 + caniuse-lite: 1.0.30001746 + electron-to-chromium: 1.5.228 + node-releases: 2.0.21 + update-browserslist-db: 1.1.3(browserslist@4.26.3) builtin-modules@3.3.0: {} @@ -6344,7 +6334,7 @@ snapshots: callsites@3.1.0: {} - caniuse-lite@1.0.30001726: {} + caniuse-lite@1.0.30001746: {} chai@5.2.0: dependencies: @@ -6389,7 +6379,7 @@ snapshots: check-error@2.1.1: {} - ci-info@4.2.0: {} + ci-info@4.3.0: {} clean-regexp@1.0.0: dependencies: @@ -6512,9 +6502,9 @@ snapshots: convert-source-map@2.0.0: {} - core-js-compat@3.41.0: + core-js-compat@3.45.1: dependencies: - browserslist: 4.25.1 + browserslist: 4.26.3 core-util-is@1.0.3: {} @@ -6767,7 +6757,7 @@ snapshots: minimatch: 9.0.2 semver: 7.7.2 - electron-to-chromium@1.5.179: {} + electron-to-chromium@1.5.228: {} emoji-regex@10.3.0: {} @@ -7274,18 +7264,19 @@ snapshots: semver: 7.7.1 typescript: 5.8.3 - eslint-plugin-unicorn@59.0.1(eslint@9.36.0(jiti@2.4.2)): + eslint-plugin-unicorn@61.0.2(eslint@9.36.0(jiti@2.4.2)): dependencies: '@babel/helper-validator-identifier': 7.27.1 '@eslint-community/eslint-utils': 4.9.0(eslint@9.36.0(jiti@2.4.2)) - '@eslint/plugin-kit': 0.2.8 - ci-info: 4.2.0 + '@eslint/plugin-kit': 0.3.5 + change-case: 5.4.4 + ci-info: 4.3.0 clean-regexp: 1.0.0 - core-js-compat: 3.41.0 + core-js-compat: 3.45.1 eslint: 9.36.0(jiti@2.4.2) esquery: 1.6.0 find-up-simple: 1.0.1 - globals: 16.0.0 + globals: 16.4.0 indent-string: 5.0.0 is-builtin-module: 5.0.0 jsesc: 3.1.0 @@ -7682,7 +7673,7 @@ snapshots: globals@15.15.0: {} - globals@16.0.0: {} + globals@16.4.0: {} globalthis@1.0.4: dependencies: @@ -8606,7 +8597,7 @@ snapshots: emojilib: 2.4.0 skin-tone: 2.0.0 - node-releases@2.0.19: {} + node-releases@2.0.21: {} normalize-package-data@6.0.2: dependencies: @@ -9596,9 +9587,9 @@ snapshots: '@unrs/resolver-binding-win32-ia32-msvc': 1.7.8 '@unrs/resolver-binding-win32-x64-msvc': 1.7.8 - update-browserslist-db@1.1.3(browserslist@4.25.1): + update-browserslist-db@1.1.3(browserslist@4.26.3): dependencies: - browserslist: 4.25.1 + browserslist: 4.26.3 escalade: 3.2.0 picocolors: 1.1.1