Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the dependencies group across 1 directory with 7 updates (#932)
Bumps the dependencies group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.3` | `22.10.1` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.16.0` | `8.17.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.16.0` | `8.17.0` | | [debug](https://github.com/debug-js/debug) | `4.3.7` | `4.4.0` | | [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript) | `3.6.3` | `3.7.0` | | [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) | `4.4.3` | `4.5.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.16.0` | `8.17.0` | Updates `@types/node` from 22.9.3 to 22.10.1 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/eslint-plugin` from 8.16.0 to 8.17.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p> <blockquote> <h2>v8.17.0</h2> <h2>8.17.0 (2024-12-02)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-promise-reject-errors] options to allow any and unknown (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10392">#10392</a>)</li> <li><strong>typescript-estree:</strong> add package version to ts version warning (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10343">#10343</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10363">#10363</a>)</li> <li><strong>eslint-plugin:</strong> remove references to "extendDefaults" in no-restricted-types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10401">#10401</a>)</li> <li><strong>eslint-plugin:</strong> [promise-function-async] handle function overloading (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10304">#10304</a>)</li> <li><strong>website:</strong> press the Report an Issue button makes error if eslintrc does not include rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10367">#10367</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kim OhSeong <a href="https://github.com/bkks1004"><code>@bkks1004</code></a></li> <li>Kim Sang Du <a href="https://github.com/developer-bandi"><code>@developer-bandi</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Marco Pasqualetti <a href="https://github.com/marcalexiei"><code>@marcalexiei</code></a></li> <li>Maria José Solano <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a></li> <li>Ronen Amiel</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p> <blockquote> <h2>8.17.0 (2024-12-02)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-promise-reject-errors] options to allow any and unknown (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10392">#10392</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [promise-function-async] handle function overloading (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10304">#10304</a>)</li> <li><strong>eslint-plugin:</strong> remove references to "extendDefaults" in no-restricted-types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10401">#10401</a>)</li> <li><strong>eslint-plugin:</strong> [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10363">#10363</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kim OhSeong <a href="https://github.com/bkks1004"><code>@bkks1004</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Maria José Solano <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a></li> <li>Ronen Amiel</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/2c8a75e84242e1d94ea74de8dbb5c6f04aac580d"><code>2c8a75e</code></a> chore(release): publish 8.17.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/670df2715c620ac8067ad61eafa96c52e4d06a18"><code>670df27</code></a> feat(eslint-plugin): [prefer-promise-reject-errors] options to allow any and ...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/68311eedfdd6c46d333f7cc437b45b24d4ae9388"><code>68311ee</code></a> fix(eslint-plugin): [promise-function-async] handle function overloading (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/10">#10</a>...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/9dbb4f9249c13ff9be17f1fd8934d0330c4721d4"><code>9dbb4f9</code></a> fix(eslint-plugin): remove references to "extendDefaults" in no-restricted-ty...</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/fcd6cf063a774f73ea00af23705117a197f826d4"><code>fcd6cf0</code></a> fix(eslint-plugin): [no-unnecessary-template-expressions] allow template expr...</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/eslint-plugin">compare view</a></li> </ul> </details> <br /> Updates `@typescript-eslint/parser` from 8.16.0 to 8.17.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v8.17.0</h2> <h2>8.17.0 (2024-12-02)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-promise-reject-errors] options to allow any and unknown (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10392">#10392</a>)</li> <li><strong>typescript-estree:</strong> add package version to ts version warning (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10343">#10343</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10363">#10363</a>)</li> <li><strong>eslint-plugin:</strong> remove references to "extendDefaults" in no-restricted-types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10401">#10401</a>)</li> <li><strong>eslint-plugin:</strong> [promise-function-async] handle function overloading (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10304">#10304</a>)</li> <li><strong>website:</strong> press the Report an Issue button makes error if eslintrc does not include rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10367">#10367</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kim OhSeong <a href="https://github.com/bkks1004"><code>@bkks1004</code></a></li> <li>Kim Sang Du <a href="https://github.com/developer-bandi"><code>@developer-bandi</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Marco Pasqualetti <a href="https://github.com/marcalexiei"><code>@marcalexiei</code></a></li> <li>Maria José Solano <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a></li> <li>Ronen Amiel</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@typescript-eslint/parser</code>'s changelog</a>.</em></p> <blockquote> <h2>8.17.0 (2024-12-02)</h2> <p>This was a version bump only for parser to align it with other projects, there were no code changes.</p> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/2c8a75e84242e1d94ea74de8dbb5c6f04aac580d"><code>2c8a75e</code></a> chore(release): publish 8.17.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/parser">compare view</a></li> </ul> </details> <br /> Updates `debug` from 4.3.7 to 4.4.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/debug-js/debug/releases">debug's releases</a>.</em></p> <blockquote> <h2>4.4.0</h2> <p>Fixes (hopefully) the inefficient regex warnings in <code>.enable()</code>.</p> <p>Minor version as this is invariably going to break certain users who misuse the <code>.enable()</code> API and expected it to work with regexes, which was never supported nor documented. That's on you, sorry - that functionality won't be added back.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/debug-js/debug/compare/4.3.7...4.4.0">https://github.com/debug-js/debug/compare/4.3.7...4.4.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/debug-js/debug/commit/7e3814cc603bf64fdd69e714e0cf5611ec31f43b"><code>7e3814c</code></a> 4.4.0</li> <li><a href="https://github.com/debug-js/debug/commit/d2d6bf0bab3a0eeeb3a9ce7113cb0a31d8da678f"><code>d2d6bf0</code></a> fix inefficient .enable() regex and .enabled() test</li> <li>See full diff in <a href="https://github.com/debug-js/debug/compare/4.3.7...4.4.0">compare view</a></li> </ul> </details> <br /> Updates `eslint-import-resolver-typescript` from 3.6.3 to 3.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-import-resolver-typescript/releases">eslint-import-resolver-typescript's releases</a>.</em></p> <blockquote> <h2>v3.7.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/pull/326">#326</a> <a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/93ea1305d0317db62a71edf029688eb410c2d261"><code>93ea130</code></a> Thanks <a href="https://github.com/SukkaW"><code>@SukkaW</code></a>! - This version has implemented the <code>eslint-plugin-import-x</code>'s v3 resolver interface. This allows you to use import/require to reference <code>eslint-import-resolver-typescript</code> directly in your ESLint flat config:</p> <p><strong>Previously</strong></p> <pre lang="js"><code>// eslint.config.js module.exports = { settings: { 'import-x/resolver': { typescript: { alwaysTryTypes: true, }, // or require.resolve('eslint-import-resolver-typescript'): alwaysTryTypes: true, } } } } </code></pre> <p><strong>Now</strong></p> <pre lang="js"><code>// eslint.config.js const { createTypeScriptImportResolver, } = require('eslint-import-resolver-typescript') <p>module.exports = {<br /> settings: {<br /> 'import-x/resolver-next': [<br /> createTypeScriptImportResolver({<br /> alwaysTryTypes: true,<br /> }),<br /> ],<br /> },<br /> }<br /> </code></pre></p> <p>Note that this only works with <code>eslint-plugin-import-x@>=4.5.0</code>. You can't use <code>createTypeScriptImportResolver</code> with the older versions of <code>eslint-plugin-import-x</code> or any existing versions of <code>eslint-plugin-import</code>.</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md">eslint-import-resolver-typescript's changelog</a>.</em></p> <blockquote> <h2>3.7.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/pull/326">#326</a> <a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/93ea1305d0317db62a71edf029688eb410c2d261"><code>93ea130</code></a> Thanks <a href="https://github.com/SukkaW"><code>@SukkaW</code></a>! - This version has implemented the <code>eslint-plugin-import-x</code>'s v3 resolver interface. This allows you to use import/require to reference <code>eslint-import-resolver-typescript</code> directly in your ESLint flat config:</p> <p><strong>Previously</strong></p> <pre lang="js"><code>// eslint.config.js module.exports = { settings: { 'import-x/resolver': { typescript: { alwaysTryTypes: true, }, // or require.resolve('eslint-import-resolver-typescript'): alwaysTryTypes: true, } } } } </code></pre> <p><strong>Now</strong></p> <pre lang="js"><code>// eslint.config.js const { createTypeScriptImportResolver, } = require('eslint-import-resolver-typescript') <p>module.exports = {<br /> settings: {<br /> 'import-x/resolver-next': [<br /> createTypeScriptImportResolver({<br /> alwaysTryTypes: true,<br /> }),<br /> ],<br /> },<br /> }<br /> </code></pre></p> <p>Note that this only works with <code>eslint-plugin-import-x@>=4.5.0</code>. You can't use <code>createTypeScriptImportResolver</code> with the older versions of <code>eslint-plugin-import-x</code> or any existing versions of <code>eslint-plugin-import</code>.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/c5da7003c3e98400be91fb2c38a988fbe3dab124"><code>c5da700</code></a> chore: release eslint-import-resolver-typescript (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/327">#327</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/93ea1305d0317db62a71edf029688eb410c2d261"><code>93ea130</code></a> feat: implement import-x resolver interface v3 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/326">#326</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/e6256b7860e886583ec5a7614b001d021e1086a2"><code>e6256b7</code></a> chore(deps): update dependency simple-git-hooks to ^2.11.1 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/325">#325</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/da56f17bd02cd7f5078210bed0df6eb07745ed24"><code>da56f17</code></a> chore(deps): update dependency react to ^18.3.1 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/324">#324</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/88a6d44d4009a16c3709e96527e3f1c84dcfb354"><code>88a6d44</code></a> chore(deps): update node.js to v18.20.5 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/323">#323</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/bed664f539cd7dc8e0d551d26ea7032711923ac5"><code>bed664f</code></a> chore(deps): update dependency <code>@changesets/cli</code> to ^2.27.10 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/322">#322</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/42e7cc3eb413dda56683c1b2b2483e4756e0bd62"><code>42e7cc3</code></a> chore(deps): update dependency <code>@types/node</code> to ^18.19.63 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/320">#320</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/13fa760ddd08697d1e9fc4a1b119241f1619e7cb"><code>13fa760</code></a> chore(deps): update dependency <code>@changesets/cli</code> to ^2.27.9 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/319">#319</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/5ee5879b4428f42edbc262d66e192c76202b7f47"><code>5ee5879</code></a> fix(deps): update dependency debug to ^4.3.7 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/316">#316</a>)</li> <li><a href="https://github.com/import-js/eslint-import-resolver-typescript/commit/f5b09f5f192b432a31c19f75a513003b6c17e03a"><code>f5b09f5</code></a> chore(deps): update dependency eslint to ^8.57.1 (<a href="https://redirect.github.com/import-js/eslint-import-resolver-typescript/issues/315">#315</a>)</li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.6.3...v3.7.0">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-import-x` from 4.4.3 to 4.5.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/un-ts/eslint-plugin-import-x/releases">eslint-plugin-import-x's releases</a>.</em></p> <blockquote> <h2>v4.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/pull/192">#192</a> <a href="https://github.com/un-ts/eslint-plugin-import-x/commit/fbf639b85a6b22f7668c86c9ceaca5482ffc1045"><code>fbf639b</code></a> Thanks <a href="https://github.com/SukkaW"><code>@SukkaW</code></a>! - The PR implements the new resolver design proposed in <a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/40#issuecomment-2381444266">un-ts/eslint-plugin-import-x#40</a></p> <h3>For <code>eslint-plugin-import-x</code> users</h3> <p>Like the ESLint flat config allows you to use js objects (e.g. import and require) as ESLint plugins, the new <code>eslint-plugin-import-x</code> resolver settings allow you to use js objects as custom resolvers through the new setting <code>import-x/resolver-next</code>:</p> <pre lang="js"><code>// eslint.config.js import { createTsResolver } from '#custom-resolver'; const { createOxcResolver } = require('path/to/a/custom/resolver'); <p>const resolverInstance = new ResolverFactory({}); const customResolverObject = { interfaceVersion: 3, name: 'my-custom-eslint-import-resolver', resolve(modPath, sourcePath) { const path = resolverInstance.resolve(modPath, sourcePath); if (path) { return { found: true, path }; }</p> <pre><code>return { found: false, path: null } </code></pre> <p>}; };</p> <p>module.exports = { settings: { // multiple resolvers 'import-x/resolver-next': [ customResolverObject, createTsResolver(enhancedResolverOptions), createOxcResolver(oxcOptions), ], // single resolver: 'import-x/resolver-next': [createOxcResolver(oxcOptions)] } } </code></pre></p> <p>The new <code>import-x/resolver-next</code> no longer accepts strings as the resolver, thus will not be compatible with the ESLint legacy config (a.k.a. <code>.eslintrc</code>). Those who are still using the ESLint legacy config should stick with <code>import-x/resolver</code>.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/un-ts/eslint-plugin-import-x/blob/master/CHANGELOG.md">eslint-plugin-import-x's changelog</a>.</em></p> <blockquote> <h2>4.5.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/pull/192">#192</a> <a href="https://github.com/un-ts/eslint-plugin-import-x/commit/fbf639b85a6b22f7668c86c9ceaca5482ffc1045"><code>fbf639b</code></a> Thanks <a href="https://github.com/SukkaW"><code>@SukkaW</code></a>! - The PR implements the new resolver design proposed in <a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/40#issuecomment-2381444266">un-ts/eslint-plugin-import-x#40</a></p> <h3>For <code>eslint-plugin-import-x</code> users</h3> <p>Like the ESLint flat config allows you to use js objects (e.g. import and require) as ESLint plugins, the new <code>eslint-plugin-import-x</code> resolver settings allow you to use js objects as custom resolvers through the new setting <code>import-x/resolver-next</code>:</p> <pre lang="js"><code>// eslint.config.js import { createTsResolver } from '#custom-resolver'; const { createOxcResolver } = require('path/to/a/custom/resolver'); <p>const resolverInstance = new ResolverFactory({}); const customResolverObject = { interfaceVersion: 3, name: 'my-custom-eslint-import-resolver', resolve(modPath, sourcePath) { const path = resolverInstance.resolve(modPath, sourcePath); if (path) { return { found: true, path }; }</p> <pre><code>return { found: false, path: null } </code></pre> <p>}; };</p> <p>module.exports = { settings: { // multiple resolvers 'import-x/resolver-next': [ customResolverObject, createTsResolver(enhancedResolverOptions), createOxcResolver(oxcOptions), ], // single resolver: 'import-x/resolver-next': [createOxcResolver(oxcOptions)] } } </code></pre></p> <p>The new <code>import-x/resolver-next</code> no longer accepts strings as the resolver, thus will not be compatible with the ESLint legacy config (a.k.a. <code>.eslintrc</code>). Those who are still using the ESLint legacy config should stick with <code>import-x/resolver</code>.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/un-ts/eslint-plugin-import-x/commit/f22eaa9eebcc47242288b06d5c15bf8c162b329b"><code>f22eaa9</code></a> chore: release eslint-plugin-import-x (<a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/190">#190</a>)</li> <li><a href="https://github.com/un-ts/eslint-plugin-import-x/commit/739e22c0252a34d64c5ee101a07ed104ae7e2026"><code>739e22c</code></a> chore: fix changeset (<a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/193">#193</a>)</li> <li><a href="https://github.com/un-ts/eslint-plugin-import-x/commit/fbf639b85a6b22f7668c86c9ceaca5482ffc1045"><code>fbf639b</code></a> feat: implement custom resolver interface v3 (<a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/192">#192</a>)</li> <li><a href="https://github.com/un-ts/eslint-plugin-import-x/commit/bc4de89dc425436461e87d7793ba4bc3b9ab386d"><code>bc4de89</code></a> test: migrate to type-friendly <code>createRuleTestCaseFunction</code> (<a href="https://redirect.github.com/un-ts/eslint-plugin-import-x/issues/184">#184</a>)</li> <li>See full diff in <a href="https://github.com/un-ts/eslint-plugin-import-x/compare/v4.4.3...v4.5.0">compare view</a></li> </ul> </details> <br /> Updates `typescript-eslint` from 8.16.0 to 8.17.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint's releases</a>.</em></p> <blockquote> <h2>v8.17.0</h2> <h2>8.17.0 (2024-12-02)</h2> <h3>🚀 Features</h3> <ul> <li><strong>eslint-plugin:</strong> [prefer-promise-reject-errors] options to allow any and unknown (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10392">#10392</a>)</li> <li><strong>typescript-estree:</strong> add package version to ts version warning (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10343">#10343</a>)</li> </ul> <h3>🩹 Fixes</h3> <ul> <li><strong>eslint-plugin:</strong> [no-unnecessary-template-expressions] allow template expressions used to make trailing whitespace visible (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10363">#10363</a>)</li> <li><strong>eslint-plugin:</strong> remove references to "extendDefaults" in no-restricted-types (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10401">#10401</a>)</li> <li><strong>eslint-plugin:</strong> [promise-function-async] handle function overloading (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10304">#10304</a>)</li> <li><strong>website:</strong> press the Report an Issue button makes error if eslintrc does not include rules (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/10367">#10367</a>)</li> </ul> <h3>❤️ Thank You</h3> <ul> <li>Kim OhSeong <a href="https://github.com/bkks1004"><code>@bkks1004</code></a></li> <li>Kim Sang Du <a href="https://github.com/developer-bandi"><code>@developer-bandi</code></a></li> <li>Kirk Waiblinger <a href="https://github.com/kirkwaiblinger"><code>@kirkwaiblinger</code></a></li> <li>Marco Pasqualetti <a href="https://github.com/marcalexiei"><code>@marcalexiei</code></a></li> <li>Maria José Solano <a href="https://github.com/MariaSolOs"><code>@MariaSolOs</code></a></li> <li>Ronen Amiel</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md">typescript-eslint's changelog</a>.</em></p> <blockquote> <h2>8.17.0 (2024-12-02)</h2> <p>This was a version bump only for typescript-eslint to align it with other projects, there were no code changes.</p> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/2c8a75e84242e1d94ea74de8dbb5c6f04aac580d"><code>2c8a75e</code></a> chore(release): publish 8.17.0</li> <li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v8.17.0/packages/typescript-eslint">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information