Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tech] Bump the non-major-dev-dependencies group across 1 directory w…
…ith 16 updates (#3314) Bumps the non-major-dev-dependencies group with 16 updates in the /frontend directory: | Package | From | To | | --- | --- | --- | | [@swc/core](https://github.com/swc-project/swc) | `1.5.7` | `1.6.3` | | [@types/diacritics](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/diacritics) | `1.3.1` | `1.3.3` | | [@types/ramda](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ramda) | `0.29.4` | `0.30.0` | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `4.1.0` | `4.3.1` | | [esbuild](https://github.com/evanw/esbuild) | `0.20.1` | `0.21.5` | | [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.28.1` | `2.29.1` | | [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) | `6.8.0` | `6.9.0` | | [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) | `10.4.1` | `10.4.3` | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.34.1` | `7.34.3` | | [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) | `4.6.0` | `4.6.2` | | [husky](https://github.com/typicode/husky) | `9.0.10` | `9.0.11` | | [prettier](https://github.com/prettier/prettier) | `3.0.0` | `3.3.2` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.1.3` | `29.1.5` | | [type-fest](https://github.com/sindresorhus/type-fest) | `4.18.3` | `4.20.1` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.2.2` | `5.4.5` | | [vite-tsconfig-paths](https://github.com/aleclarson/vite-tsconfig-paths) | `4.3.1` | `4.3.2` | Updates `@swc/core` from 1.5.7 to 1.6.3 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/swc-project/swc/blob/main/CHANGELOG.md"><code>@swc/core</code>'s changelog</a>.</em></p> <blockquote> <h2>[1.6.3] - 2024-06-19</h2> <h3>Bug Fixes</h3> <ul> <li> <p><strong>(css/minifier)</strong> Don't tranform rotate deg (<a href="https://redirect.github.com/swc-project/swc/issues/9072">#9072</a>) (<a href="https://github.com/swc-project/swc/commit/8d37daedf10cbf5fa7ac8ceeb4192ddd6241e310">8d37dae</a>)</p> </li> <li> <p><strong>(es/decorators)</strong> Reduce the number of sourcemap mappings (<a href="https://redirect.github.com/swc-project/swc/issues/9074">#9074</a>) (<a href="https://github.com/swc-project/swc/commit/cfe3ba306dc709149c496f67dbb7f35dc4f86819">cfe3ba3</a>)</p> </li> </ul> <h3>Performance</h3> <ul> <li> <p><strong>(common)</strong> Use <code>Chars</code> in <code>StringInput</code> (<a href="https://redirect.github.com/swc-project/swc/issues/9073">#9073</a>) (<a href="https://github.com/swc-project/swc/commit/7698eaa006d2951df0e0e0cb5680fe531d64dcf4">7698eaa</a>)</p> </li> <li> <p><strong>(es/lexer)</strong> Optimize lexer (<a href="https://redirect.github.com/swc-project/swc/issues/9075">#9075</a>) (<a href="https://github.com/swc-project/swc/commit/6426928b912baa6573b902d7d3c85bcd49b2e823">6426928</a>)</p> </li> <li> <p><strong>(es/lexer)</strong> Make lexing of string literals faster (<a href="https://redirect.github.com/swc-project/swc/issues/9077">#9077</a>) (<a href="https://github.com/swc-project/swc/commit/373bac55aaffbe1f6e001c7c6d490797de45114e">373bac5</a>)</p> </li> <li> <p><strong>(es/lexer)</strong> Reduce allocation while lexing identifiers (<a href="https://redirect.github.com/swc-project/swc/issues/9076">#9076</a>) (<a href="https://github.com/swc-project/swc/commit/69f00b85d465e882ec33642d6e8ed22dbe3c3fb2">69f00b8</a>)</p> </li> <li> <p><strong>(es/lexer)</strong> Add a fast-path to template literal lexer (<a href="https://redirect.github.com/swc-project/swc/issues/9080">#9080</a>) (<a href="https://github.com/swc-project/swc/commit/238f1c50e5b27a8655e10ac2b2be723b62233931">238f1c5</a>)</p> </li> <li> <p><strong>(es/lexer)</strong> Add fast-path to jsx lexer (<a href="https://redirect.github.com/swc-project/swc/issues/9081">#9081</a>) (<a href="https://github.com/swc-project/swc/commit/af586069a922525dc24b5f59aefaf53daed7759a">af58606</a>)</p> </li> </ul> <h3>Refactor</h3> <ul> <li><strong>(common)</strong> Simplify <code>StringInput</code> implementation (<a href="https://redirect.github.com/swc-project/swc/issues/9071">#9071</a>) (<a href="https://github.com/swc-project/swc/commit/c3a8c0b56755f17d0611f6559689a5cfb3185c33">c3a8c0b</a>)</li> </ul> <h2>[1.6.1] - 2024-06-16</h2> <h3>Bug Fixes</h3> <ul> <li><strong>(common)</strong> Revert <code>Use SourceMap::adjust_mappings</code> (<a href="https://redirect.github.com/swc-project/swc/issues/9058">#9058</a>) (<a href="https://github.com/swc-project/swc/commit/cdd20cd16370342f645a181198432a3dc3b6c7ab">cdd20cd</a>)</li> </ul> <h3>Performance</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/swc-project/swc/commit/60ae1f75b55732dd509647d7294b53fb711af7f8"><code>60ae1f7</code></a> chore: Publish <code>1.6.3</code> with <code>swc_core</code> <code>v0.95.4</code></li> <li><a href="https://github.com/swc-project/swc/commit/929d029e3fb3505886912e1ccd6694fe965cf9ad"><code>929d029</code></a> chore: Bump crates</li> <li><a href="https://github.com/swc-project/swc/commit/af586069a922525dc24b5f59aefaf53daed7759a"><code>af58606</code></a> perf(es/lexer): Add fast-path to jsx lexer (<a href="https://redirect.github.com/swc-project/swc/issues/9081">#9081</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/1839980185a5771f8e51fe6912438a08f2ed2fc2"><code>1839980</code></a> chore: Bump crates</li> <li><a href="https://github.com/swc-project/swc/commit/238f1c50e5b27a8655e10ac2b2be723b62233931"><code>238f1c5</code></a> perf(es/lexer): Add a fast-path to template literal lexer (<a href="https://redirect.github.com/swc-project/swc/issues/9080">#9080</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/8915c621a39d837ddf3ea64938cb85bb43fdddfa"><code>8915c62</code></a> chore: Bump crates</li> <li><a href="https://github.com/swc-project/swc/commit/69f00b85d465e882ec33642d6e8ed22dbe3c3fb2"><code>69f00b8</code></a> perf(es/lexer): Reduce allocation while lexing identifiers (<a href="https://redirect.github.com/swc-project/swc/issues/9076">#9076</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/c3e633372538c28f1529a5f6b31858fed1d8e5a5"><code>c3e6333</code></a> chore: Bump crates</li> <li><a href="https://github.com/swc-project/swc/commit/373bac55aaffbe1f6e001c7c6d490797de45114e"><code>373bac5</code></a> perf(es/lexer): Make lexing of string literals faster (<a href="https://redirect.github.com/swc-project/swc/issues/9077">#9077</a>)</li> <li><a href="https://github.com/swc-project/swc/commit/c0d40c6a51a4524453066b0828bb95bc1fbbf931"><code>c0d40c6</code></a> chore: Bump crates</li> <li>Additional commits viewable in <a href="https://github.com/swc-project/swc/compare/v1.5.7...v1.6.3">compare view</a></li> </ul> </details> <br /> Updates `@types/diacritics` from 1.3.1 to 1.3.3 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/diacritics">compare view</a></li> </ul> </details> <br /> Updates `@types/ramda` from 0.29.4 to 0.30.0 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ramda">compare view</a></li> </ul> </details> <br /> Updates `@vitejs/plugin-react` from 4.1.0 to 4.3.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases"><code>@vitejs/plugin-react</code>'s releases</a>.</em></p> <blockquote> <h2>v4.3.1</h2> <h3>Fix support for React Compiler with React 18</h3> <p>The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a custom <code>runtimeModule</code>: <a href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p> <p>When using a custom <code>runtimeModule</code>, the plugin will not try to pre-optimize <code>react/compiler-runtime</code> dependency.</p> <p>Reminder: Vite expect code outside of <code>node_modules</code> to be ESM, so you will need to update the gist with <code>import React from 'react'</code>.</p> <h2>v4.3.0</h2> <h3>Fix support for React compiler</h3> <p>Don't set <code>retainLines: true</code> when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like <a href="https://github.com/ArnaudBarre/vite-plugin-react-click-to-component">vite-plugin-react-click-to-component</a> to work, you should update your config to something like:</p> <pre lang="ts"><code>export default defineConfig(({ command }) => { const babelPlugins = [['babel-plugin-react-compiler', {}]] if (command === 'serve') { babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}]) } <p>return { plugins: [react({ babel: { plugins: babelPlugins } })], } }) </code></pre></p> <h3>Support HMR for class components</h3> <p>This is a long overdue and should fix some issues people had with HMR when migrating from CRA.</p> <h2>v4.2.1</h2> <p>Remove generic parameter on <code>Plugin</code> to avoid type error with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p> <p>I expect very few people to currently use this feature, but if you are extending the React plugin via <code>api</code> object, you can get back the typing of the hook by importing <code>ViteReactPluginApi</code>:</p> <pre lang="ts"><code>import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react' <p>export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, } </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md"><code>@vitejs/plugin-react</code>'s changelog</a>.</em></p> <blockquote> <h2>4.3.1 (2024-06-10)</h2> <h3>Fix support for React Compiler with React 18</h3> <p>The previous version made this assumption that the compiler was only usable with React 19, but it's possible to use it with React 18 and a custom <code>runtimeModule</code>: <a href="https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43">https://gist.github.com/poteto/37c076bf112a07ba39d0e5f0645fec43</a></p> <p>When using a custom <code>runtimeModule</code>, the plugin will not try to pre-optimize <code>react/compiler-runtime</code> dependency.</p> <p>Reminder: Vite expect code outside of <code>node_modules</code> to be ESM, so you will need to update the gist with <code>import React from 'react'</code>.</p> <h2>4.3.0 (2024-05-22)</h2> <h3>Fix support for React compiler</h3> <p>Don't set <code>retainLines: true</code> when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like <a href="https://github.com/ArnaudBarre/vite-plugin-react-click-to-component">vite-plugin-react-click-to-component</a> to work, you should update your config to something like:</p> <pre lang="ts"><code>export default defineConfig(({ command }) => { const babelPlugins = [['babel-plugin-react-compiler', {}]] if (command === 'serve') { babelPlugins.push(['@babel/plugin-transform-react-jsx-development', {}]) } <p>return { plugins: [react({ babel: { plugins: babelPlugins } })], } }) </code></pre></p> <h3>Support HMR for class components</h3> <p>This is a long overdue and should fix some issues people had with HMR when migrating from CRA.</p> <h2>4.2.1 (2023-12-04)</h2> <p>Remove generic parameter on <code>Plugin</code> to avoid type error with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p> <p>I expect very few people to currently use this feature, but if you are extending the React plugin via <code>api</code> object, you can get back the typing of the hook by importing <code>ViteReactPluginApi</code>:</p> <pre lang="ts"><code>import type { Plugin } from 'vite' import type { ViteReactPluginApi } from '@vitejs/plugin-react' <p>export const somePlugin: Plugin = { name: 'some-plugin', api: { reactBabel: (babelConfig) => { babelConfig.plugins.push('some-babel-plugin') }, } satisfies ViteReactPluginApi, </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/1609186b9f379d4c1cf75c60e878d8b4f7675ab3"><code>1609186</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/ea647d19555d52aa194500111a03992e3342a768"><code>ea647d1</code></a> fix: handle using compiler with React 18 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/330">#330</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/7e7322a3b7b3364f7efad2d28289f06c86831131"><code>7e7322a</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4b4a95c04fd3b33238e0624d480c3da9c2402634"><code>4b4a95c</code></a> fix: don't use retainLines with react compiler (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/319">#319</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/2b7f2ae917d1b9627d2d49a3977dc87c30e06a16"><code>2b7f2ae</code></a> fix: support HMR for class components (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/320">#320</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/302a323b75afc5634c4c4aa5bbf329e9ee7ebcce"><code>302a323</code></a> docs: add minimum react version (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/321">#321</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/9ebfe68d75577248fbdbcd861614dc2628b9d974"><code>9ebfe68</code></a> chore: bump deps (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/318">#318</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/8b5354741a173ce02892ff021c8bdfba4c9f0d11"><code>8b53547</code></a> release: [email protected]</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/ec630663b59e2eaaab0360c0087ac23cbb0ee5bc"><code>ec63066</code></a> chore(deps): update dependency vite to v5 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/263">#263</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/8512995c552a25e9c6f901c00874d63f7638a499"><code>8512995</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/259">#259</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/v4.3.1/packages/plugin-react">compare view</a></li> </ul> </details> <br /> Updates `esbuild` from 0.20.1 to 0.21.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/releases">esbuild's releases</a>.</em></p> <blockquote> <h2>v0.21.5</h2> <ul> <li> <p>Fix <code>Symbol.metadata</code> on classes without a class decorator (<a href="https://redirect.github.com/evanw/esbuild/issues/3781">#3781</a>)</p> <p>This release fixes a bug with esbuild's support for the <a href="https://github.com/tc39/proposal-decorator-metadata">decorator metadata proposal</a>. Previously esbuild only added the <code>Symbol.metadata</code> property to decorated classes if there was a decorator on the class element itself. However, the proposal says that the <code>Symbol.metadata</code> property should be present on all classes that have any decorators at all, not just those with a decorator on the class element itself.</p> </li> <li> <p>Allow unknown import attributes to be used with the <code>copy</code> loader (<a href="https://redirect.github.com/evanw/esbuild/issues/3792">#3792</a>)</p> <p>Import attributes (the <code>with</code> keyword on <code>import</code> statements) are allowed to alter how that path is loaded. For example, esbuild cannot assume that it knows how to load <code>./bagel.js</code> as type <code>bagel</code>:</p> <pre lang="js"><code>// This is an error with "--bundle" without also using "--external:./bagel.js" import tasty from "./bagel.js" with { type: "bagel" } </code></pre> <p>Because of that, bundling this code with esbuild is an error unless the file <code>./bagel.js</code> is external to the bundle (such as with <code>--bundle --external:./bagel.js</code>).</p> <p>However, there is an additional case where it's ok for esbuild to allow this: if the file is loaded using the <code>copy</code> loader. That's because the <code>copy</code> loader behaves similarly to <code>--external</code> in that the file is left external to the bundle. The difference is that the <code>copy</code> loader copies the file into the output folder and rewrites the import path while <code>--external</code> doesn't. That means the following will now work with the <code>copy</code> loader (such as with <code>--bundle --loader:.bagel=copy</code>):</p> <pre lang="js"><code>// This is no longer an error with "--bundle" and "--loader:.bagel=copy" import tasty from "./tasty.bagel" with { type: "bagel" } </code></pre> </li> <li> <p>Support import attributes with glob-style imports (<a href="https://redirect.github.com/evanw/esbuild/issues/3797">#3797</a>)</p> <p>This release adds support for import attributes (the <code>with</code> option) to glob-style imports (dynamic imports with certain string literal patterns as paths). These imports previously didn't support import attributes due to an oversight. So code like this will now work correctly:</p> <pre lang="ts"><code>async function loadLocale(locale: string): Locale { const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) return unpackLocale(locale, data) } </code></pre> <p>Previously this didn't work even though esbuild normally supports forcing the JSON loader using an import attribute. Attempting to do this used to result in the following error:</p> <pre><code>✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data <pre><code>example.ts:2:28: 2 │ const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> <p></code></pre></p> <p>In addition, this change means plugins can now access the contents of <code>with</code> for glob-style imports.</p> </li> <li> <p>Support <code>${configDir}</code> in <code>tsconfig.json</code> files (<a href="https://redirect.github.com/evanw/esbuild/issues/3782">#3782</a>)</p> <p>This adds support for a new feature from the upcoming TypeScript 5.5 release. The character sequence <code>${configDir}</code> is now respected at the start of <code>baseUrl</code> and <code>paths</code> values, which are used by esbuild during bundling to correctly map import paths to file system paths. This feature lets base <code>tsconfig.json</code> files specified via <code>extends</code> refer to the directory of the top-level <code>tsconfig.json</code> file. Here is an example:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's changelog</a>.</em></p> <blockquote> <h2>0.21.5</h2> <ul> <li> <p>Fix <code>Symbol.metadata</code> on classes without a class decorator (<a href="https://redirect.github.com/evanw/esbuild/issues/3781">#3781</a>)</p> <p>This release fixes a bug with esbuild's support for the <a href="https://github.com/tc39/proposal-decorator-metadata">decorator metadata proposal</a>. Previously esbuild only added the <code>Symbol.metadata</code> property to decorated classes if there was a decorator on the class element itself. However, the proposal says that the <code>Symbol.metadata</code> property should be present on all classes that have any decorators at all, not just those with a decorator on the class element itself.</p> </li> <li> <p>Allow unknown import attributes to be used with the <code>copy</code> loader (<a href="https://redirect.github.com/evanw/esbuild/issues/3792">#3792</a>)</p> <p>Import attributes (the <code>with</code> keyword on <code>import</code> statements) are allowed to alter how that path is loaded. For example, esbuild cannot assume that it knows how to load <code>./bagel.js</code> as type <code>bagel</code>:</p> <pre lang="js"><code>// This is an error with "--bundle" without also using "--external:./bagel.js" import tasty from "./bagel.js" with { type: "bagel" } </code></pre> <p>Because of that, bundling this code with esbuild is an error unless the file <code>./bagel.js</code> is external to the bundle (such as with <code>--bundle --external:./bagel.js</code>).</p> <p>However, there is an additional case where it's ok for esbuild to allow this: if the file is loaded using the <code>copy</code> loader. That's because the <code>copy</code> loader behaves similarly to <code>--external</code> in that the file is left external to the bundle. The difference is that the <code>copy</code> loader copies the file into the output folder and rewrites the import path while <code>--external</code> doesn't. That means the following will now work with the <code>copy</code> loader (such as with <code>--bundle --loader:.bagel=copy</code>):</p> <pre lang="js"><code>// This is no longer an error with "--bundle" and "--loader:.bagel=copy" import tasty from "./tasty.bagel" with { type: "bagel" } </code></pre> </li> <li> <p>Support import attributes with glob-style imports (<a href="https://redirect.github.com/evanw/esbuild/issues/3797">#3797</a>)</p> <p>This release adds support for import attributes (the <code>with</code> option) to glob-style imports (dynamic imports with certain string literal patterns as paths). These imports previously didn't support import attributes due to an oversight. So code like this will now work correctly:</p> <pre lang="ts"><code>async function loadLocale(locale: string): Locale { const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) return unpackLocale(locale, data) } </code></pre> <p>Previously this didn't work even though esbuild normally supports forcing the JSON loader using an import attribute. Attempting to do this used to result in the following error:</p> <pre><code>✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data <pre><code>example.ts:2:28: 2 │ const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> <p></code></pre></p> <p>In addition, this change means plugins can now access the contents of <code>with</code> for glob-style imports.</p> </li> <li> <p>Support <code>${configDir}</code> in <code>tsconfig.json</code> files (<a href="https://redirect.github.com/evanw/esbuild/issues/3782">#3782</a>)</p> <p>This adds support for a new feature from the upcoming TypeScript 5.5 release. The character sequence <code>${configDir}</code> is now respected at the start of <code>baseUrl</code> and <code>paths</code> values, which are used by esbuild during bundling to correctly map import paths to file system paths. This feature lets base <code>tsconfig.json</code> files specified via <code>extends</code> refer to the directory of the top-level <code>tsconfig.json</code> file. Here is an example:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/fc37c2fa9de2ad77476a6d4a8f1516196b90187e"><code>fc37c2f</code></a> publish 0.21.5 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/cb119249a19603b12fdf8df1c5a81c21420a1cb0"><code>cb11924</code></a> fix <code>Symbol.metadata</code> errors in decorator tests</li> <li><a href="https://github.com/evanw/esbuild/commit/b93a2a95ac697f4aa01471e0a383a25626f1998e"><code>b93a2a9</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3781">#3781</a>: add metadata to all decorated classes</li> <li><a href="https://github.com/evanw/esbuild/commit/953dae945b265df7d9728dbd961f7a27dce941cd"><code>953dae9</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3797">#3797</a>: import attributes and glob-style import</li> <li><a href="https://github.com/evanw/esbuild/commit/98cb2ed72cfc4187f45fe1a6abe5417ad613356b"><code>98cb2ed</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3782">#3782</a>: support <code>${configDir}</code> in tsconfig.json</li> <li><a href="https://github.com/evanw/esbuild/commit/8e6603b83f6be8de8204a7c5af755874f8b8da68"><code>8e6603b</code></a> run <code>make update-compat-table</code></li> <li><a href="https://github.com/evanw/esbuild/commit/db1b8ca20f26091fbaebd5b4a8ce950de984e750"><code>db1b8ca</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3792">#3792</a>: import attributes and the <code>copy</code> loader</li> <li><a href="https://github.com/evanw/esbuild/commit/de572d0e5363fef5457d3581ec340e481b139152"><code>de572d0</code></a> fix non-deterministic import attribute plugin test</li> <li><a href="https://github.com/evanw/esbuild/commit/ae8d1b4f307b290bde0f17aceb51dd6f62eac64c"><code>ae8d1b4</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/3794">#3794</a>: <code>--supported:object-accessors=false</code></li> <li><a href="https://github.com/evanw/esbuild/commit/67cbf87a4909d87a902ca8c3b69ab5330defab0a"><code>67cbf87</code></a> publish 0.21.4 to npm</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.20.1...v0.21.5">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-import` from 2.28.1 to 2.29.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p> <blockquote> <h2>v2.29.1</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1">https://github.com/import-js/eslint-plugin-import/compare/v2.29.0...v2.29.1</a></p> <h2>v2.29.0</h2> <p><strong>Full Changelog</strong>: <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0">https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p> <blockquote> <h2>[2.29.1] - 2023-12-14</h2> <h3>Fixed</h3> <ul> <li>[<code>no-extraneous-dependencies</code>]: ignore <code>export type { ... } from '...'</code> when <code>includeTypes</code> is <code>false</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2919">#2919</a>, thanks [<a href="https://github.com/Pandemic1617"><code>@Pandemic1617</code></a>])</li> <li>[<code>no-unused-modules</code>]: support export patterns with array destructuring (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2930">#2930</a>, thanks [<a href="https://github.com/ljharb"><code>@ljharb</code></a>])</li> <li>[Deps] update <code>tsconfig-paths</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2447">#2447</a>, thanks [<a href="https://github.com/domdomegg"><code>@domdomegg</code></a>])</li> </ul> <h2>[2.29.0] - 2023-10-22</h2> <h3>Added</h3> <ul> <li>TypeScript config: add .cts and .mts extensions (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2851">#2851</a>, thanks [<a href="https://github.com/Zamiell"><code>@Zamiell</code></a>])</li> <li>[<code>newline-after-import</code>]: new option <code>exactCount</code> and docs update (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/1933">#1933</a>, thanks [<a href="https://github.com/anikethsaha"><code>@anikethsaha</code></a>] and [<a href="https://github.com/reosarevok"><code>@reosarevok</code></a>])</li> <li>[<code>newline-after-import</code>]: fix <code>exactCount</code> with <code>considerComments</code> false positive, when there is a leading comment (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2884">#2884</a>, thanks [<a href="https://github.com/kinland"><code>@kinland</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/ee5fadeffff68f2300bed7f67a310496cb969d61"><code>ee5fade</code></a> Bump to 2.29.1</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/48fec35fbe9d20f5c859a02d0e4acef70759c875"><code>48fec35</code></a> [Deps] update <code>tsconfig-paths</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/80aee736721397cd073636950fef30aa65e165d3"><code>80aee73</code></a> [Dev Deps] update <code>chai</code>, <code>eslint-doc-generator</code>, <code>markdownlint-cli</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/8c83eafe4a709c0c275279a7bf99d92fa4e034a5"><code>8c83eaf</code></a> [Tests] node v21.3 has a broken <code>fs.writeFile</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/e67259e4c167d46e9cc5472d3afa32369fbf2eff"><code>e67259e</code></a> [Fix] <code>no-unused-modules</code>: support export patterns with array destructuring</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/9fd3c42707d71987e439a847f2e213f55c84f734"><code>9fd3c42</code></a> [Tests] <code>no-duplicates</code>: add passing test</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/12f0300100b9bb90c6a952d07c133f2d5842ad57"><code>12f0300</code></a> [Fix] <code>no-extraneous-dependencies</code>: ignore <code>export type { ... } from '...'</code> w...</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/6d34c88a91a9cb7556700b7cb83c8a27731ff302"><code>6d34c88</code></a> Bump to 2.29.0</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/ec6a8ea3c386241daaf208fe78da151b30415357"><code>ec6a8ea</code></a> [Refactor] use <code>hasown</code> instead of <code>has</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/78f50b852a0dc187ccbfd6b4592e4f59ba78d339"><code>78f50b8</code></a> [Deps] update <code>array-includes</code>, <code>array.prototype.findlastindex</code>, `array.proto...</li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.1">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-jsx-a11y` from 6.8.0 to 6.9.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases">eslint-plugin-jsx-a11y's releases</a>.</em></p> <blockquote> <h2>v6.9.0</h2> <h3>Added</h3> <ul> <li>add support for Flat Config <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6b5f096f10b47326d68e2893152a48a79c8555b4"><code>6b5f096</code></a></li> <li><code>no-noninteractive-element-to-interactive-role</code>: allow <code>menuitemradio</code> and <code>menuitemcheckbox</code> on <li> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/c0733f94031fe3eec6b4d54176afe47929bb0a84"><code>c0733f9</code></a></li> </ul> <h3>Fixed</h3> <ul> <li><code>img-redundant-alt</code>: fixed multibyte character support <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/969"><code>[#969](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/969)</code></a></li> <li>Revert "[Fix] <code>isNonInteractiveElement</code>: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1" <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/75d5dd722bd67186d97afa7b151fd6fee5885c70"><code>75d5dd7</code></a></li> <li>ensure <code>summary</code> remains non-interactive <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6a048dacf2b98eaa204e2a5a70dc7e3d48d9463a"><code>6a048da</code></a></li> </ul> <h3>Changed</h3> <ul> <li>[meta] fix changelog links <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/960"><code>[#960](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/960)</code></a></li> <li>[Robustness] use <code>safe-regex-test</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/4c7e7815c12a797587bb8e3cdced7f3003848964"><code>4c7e781</code></a></li> <li>[actions] update actions/checkout <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/51a1ca7b4d83d4fbd1ea62888f7f2dc21ece6788"><code>51a1ca7</code></a></li> <li>[Deps] pin <code>aria-query</code> and <code>axobject-query</code>, add <code>ls-engines</code> test to CI <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/32fd82c628d7f3e4ec8c06a1994f4eca1be2be4f"><code>32fd82c</code></a></li> <li>[Deps] remove <code>@babel/runtime</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/0a98ad83ffa7f4b66458cc1c39db2ef32bb2c480"><code>0a98ad8</code></a></li> <li>[Deps] unpin <code>axe-core</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/b3559cf89be6b5352cd77ffa025831b3d793d565"><code>b3559cf</code></a></li> <li>[Deps] move <code>object.entries</code> to dev deps <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/1be7b709eececd83f1d5f67a60b2c97cfe9a561d"><code>1be7b70</code></a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0">https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md">eslint-plugin-jsx-a11y's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0">v6.9.0</a> - 2024-06-19</h2> <h3>Fixed</h3> <ul> <li>[Fix] <code>img-redundant-alt</code>: fixed multibyte character support <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/969"><code>[#969](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/969)</code></a></li> <li>[meta] fix changelog links <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/960"><code>[#960](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/960)</code></a></li> </ul> <h3>Commits</h3> <ul> <li>[New] add support for Flat Config <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6b5f096f10b47326d68e2893152a48a79c8555b4"><code>6b5f096</code></a></li> <li>Revert "[Fix] <code>isNonInteractiveElement</code>: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1" <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/75d5dd722bd67186d97afa7b151fd6fee5885c70"><code>75d5dd7</code></a></li> <li>[Robustness] use <code>safe-regex-test</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/4c7e7815c12a797587bb8e3cdced7f3003848964"><code>4c7e781</code></a></li> <li>[actions] update actions/checkout <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/51a1ca7b4d83d4fbd1ea62888f7f2dc21ece6788"><code>51a1ca7</code></a></li> <li>[Dev Deps] update <code>@babel/cli</code>, <code>@babel/core</code>, <code>@babel/eslint-parser</code>, <code>@babel/plugin-transform-flow-strip-types</code>, <code>@babel/register</code>, <code>eslint-doc-generator</code>, <code>object.entries</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/1271ac1d6e5dcf9a2bc2c086faaf062335629171"><code>1271ac1</code></a></li> <li>[Dev Deps] update <code>@babel/cli</code>, <code>@babel/core</code>, <code>@babel/register</code>, <code>aud</code>, <code>eslint-plugin-import</code>, <code>npmignore</code>, <code>object.assign</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/540cb7aefead582f237071d55a40f098d0885478"><code>540cb7a</code></a></li> <li>[Deps] update <code>@babel/runtime</code>, <code>array-includes</code>, <code>es-iterator-helpers</code>, <code>hasown</code>, <code>object.fromentries</code>, <code>safe-regex-test</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/5d1440825a8838ae10dc94cc3a4a7e1e967644b4"><code>5d14408</code></a></li> <li>[Deps] pin <code>aria-query</code> and <code>axobject-query</code>, add <code>ls-engines</code> test to CI <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/32fd82c628d7f3e4ec8c06a1994f4eca1be2be4f"><code>32fd82c</code></a></li> <li>[Dev Deps] update <code>@babel/core</code>, <code>@babel/eslint-parser</code>, <code>@babel/plugin-transform-flow-strip-types</code>, <code>eslint-doc-generator</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/d1b41142248a7cca45bb5f0b96ff23ee87fb9411"><code>d1b4114</code></a></li> <li>[Fix] ensure <code>summary</code> remains non-interactive <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6a048dacf2b98eaa204e2a5a70dc7e3d48d9463a"><code>6a048da</code></a></li> <li>[Deps] remove <code>@babel/runtime</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/0a98ad83ffa7f4b66458cc1c39db2ef32bb2c480"><code>0a98ad8</code></a></li> <li>[New] <code>no-noninteractive-element-to-interactive-role</code>: allow <code>menuitemradio</code> and <code>menuitemcheckbox</code> on <li> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/c0733f94031fe3eec6b4d54176afe47929bb0a84"><code>c0733f9</code></a></li> <li>[Deps] update <code>@babel/runtime</code>, <code>safe-regex-test</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/0d5321a5457c5f0da0ca216053cc5b4f571b53ae"><code>0d5321a</code></a></li> <li>[actions] pin codecov to v3.1.5 <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/961817f61fa56cd7815c6940c27ef08469b1516b"><code>961817f</code></a></li> <li>[Deps] unpin <code>axe-core</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/b3559cf89be6b5352cd77ffa025831b3d793d565"><code>b3559cf</code></a></li> <li>[Deps] move <code>object.entries</code> to dev deps <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/1be7b709eececd83f1d5f67a60b2c97cfe9a561d"><code>1be7b70</code></a></li> <li>[Deps] update <code>@babel/runtime</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/2a48abb5effa911e7d1a8575e1c9768c947a33f1"><code>2a48abb</code></a></li> <li>[Deps] update <code>@babel/runtime</code> <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/1adec3517fc2c9797212ca4d38858deed917e7be"><code>1adec35</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/882bd4dc8a4898be1ca0e69561f7885b8ea2c085"><code>882bd4d</code></a> v6.9.0</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/961817f61fa56cd7815c6940c27ef08469b1516b"><code>961817f</code></a> [actions] pin codecov to v3.1.5</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6a048dacf2b98eaa204e2a5a70dc7e3d48d9463a"><code>6a048da</code></a> [Fix] ensure <code>summary</code> remains non-interactive</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/75d5dd722bd67186d97afa7b151fd6fee5885c70"><code>75d5dd7</code></a> Revert "[Fix] <code>isNonInteractiveElement</code>: Upgrade aria-query to 5.3.0 and axob...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/32fd82c628d7f3e4ec8c06a1994f4eca1be2be4f"><code>32fd82c</code></a> [Deps] pin <code>aria-query</code> and <code>axobject-query</code>, add <code>ls-engines</code> test to CI</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/0a98ad83ffa7f4b66458cc1c39db2ef32bb2c480"><code>0a98ad8</code></a> [Deps] remove <code>@babel/runtime</code></li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/6b5f096f10b47326d68e2893152a48a79c8555b4"><code>6b5f096</code></a> [New] add support for Flat Config</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/51a1ca7b4d83d4fbd1ea62888f7f2dc21ece6788"><code>51a1ca7</code></a> [actions] update actions/checkout</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/5d1440825a8838ae10dc94cc3a4a7e1e967644b4"><code>5d14408</code></a> [Deps] update <code>@babel/runtime</code>, <code>array-includes</code>, <code>es-iterator-helpers</code>, `has...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/commit/1271ac1d6e5dcf9a2bc2c086faaf062335629171"><code>1271ac1</code></a> [Dev Deps] update <code>@babel/cli</code>, <code>@babel/core</code>, <code>@babel/eslint-parser</code>, `@babe...</li> <li>Additional commits viewable in <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.8.0...v6.9.0">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-mocha` from 10.4.1 to 10.4.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lo1tuma/eslint-plugin-mocha/releases">eslint-plugin-mocha's releases</a>.</em></p> <blockquote> <h2>10.4.3</h2> <h3>Bug Fixes</h3> <ul> <li>Fix support for ESLint versions < 8.40.0</li> </ul> <h2>10.4.2</h2> <h3>Bug Fixes</h3> <ul> <li>Stop using deprecated ESLint context methods</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/756fa039925c933827ab0e2d9ca87246ab044bc3"><code>756fa03</code></a> Remove node v14 from build matrix</li> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/ddd614c1e1cf3847667ab23af0368b1ca8e33ef6"><code>ddd614c</code></a> Run tests against latest ESLint 8.x version</li> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/e19e93e9c7ade1833233a030a062f61c6babae23"><code>e19e93e</code></a> Fix support for ESLint versions < 8.40.0</li> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/bdf2006cacdbbe7939996cdab7821e169dbc5cae"><code>bdf2006</code></a> 10.4.2</li> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/af13b8d84d7a2ca802eb9c5bf60ba2b9c59278fa"><code>af13b8d</code></a> Stop using deprecated context.getScope() method</li> <li><a href="https://github.com/lo1tuma/eslint-plugin-mocha/commit/3b60bf6e2eaca68bc9d21ed0d14e403f4248501b"><code>3b60bf6</code></a> Stop using deprecated context.getDeclaredVariables() method</li> <li>See full diff in <a href="https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.4.1...10.4.3">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-react` from 7.34.1 to 7.34.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-react/releases">eslint-plugin-react's releases</a>.</em></p> <blockquote> <h2>v7.34.3</h2> <h3>Fixed</h3> <ul> <li>[<code>prop-types</code>]: null-check rootNode before calling getScope (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3762">#3762</a>[] <a href="https://github.com/crnhrv"><code>@crnhrv</code></a>)</li> <li>[<code>boolean-prop-naming</code>]: avoid a crash with a spread prop (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733">#3733</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>jsx-boolean-value</code>]: <code>assumeUndefinedIsFalse</code> with <code>never</code> must not allow explicit <code>true</code> value (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3757">#3757</a>[] <a href="https://github.com/6uliver"><code>@6uliver</code></a>)</li> <li>[<code>no-object-type-as-default-prop</code>]: enable rule for components with many parameters (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3768">#3768</a>[] <a href="https://github.com/JulienR1"><code>@JulienR1</code></a>)</li> <li>[<code>jsx-key</code>]: incorrect behavior for checkKeyMustBeforeSpread with map callbacks (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3769">#3769</a>[] <a href="https://github.com/akulsr0"><code>@akulsr0</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1000">#1000</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1000">jsx-eslint/eslint-plugin-react#1000</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1002">#1002</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1002">jsx-eslint/eslint-plugin-react#1002</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1005">#1005</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1005">jsx-eslint/eslint-plugin-react#1005</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/100">#100</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/100">jsx-eslint/eslint-plugin-react#100</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1010">#1010</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1010">jsx-eslint/eslint-plugin-react#1010</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1013">#1013</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1013">jsx-eslint/eslint-plugin-react#1013</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1022">#1022</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1022">jsx-eslint/eslint-plugin-react#1022</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1029">#1029</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1029">jsx-eslint/eslint-plugin-react#1029</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/102">#102</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/102">jsx-eslint/eslint-plugin-react#102</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1034">#1034</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1034">jsx-eslint/eslint-plugin-react#1034</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1038">#1038</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1038">jsx-eslint/eslint-plugin-react#1038</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1041">#1041</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1041">jsx-eslint/eslint-plugin-react#1041</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1043">#1043</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1043">jsx-eslint/eslint-plugin-react#1043</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1046">#1046</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1046">jsx-eslint/eslint-plugin-react#1046</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1047">#1047</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1047">jsx-eslint/eslint-plugin-react#1047</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1050">#1050</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1050">jsx-eslint/eslint-plugin-react#1050</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1053">#1053</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1053">jsx-eslint/eslint-plugin-react#1053</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1057">#1057</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1057">jsx-eslint/eslint-plugin-react#1057</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/105">#105</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/105">jsx-eslint/eslint-plugin-react#105</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1061">#1061</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1061">jsx-eslint/eslint-plugin-react#1061</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1062">#1062</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1062">jsx-eslint/eslint-plugin-react#1062</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1070">#1070</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1070">jsx-eslint/eslint-plugin-react#1070</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1071">#1071</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1071">jsx-eslint/eslint-plugin-react#1071</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1073">#1073</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1073">jsx-eslint/eslint-plugin-react#1073</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1076">#1076</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1076">jsx-eslint/eslint-plugin-react#1076</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1079">#1079</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1079">jsx-eslint/eslint-plugin-react#1079</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1088">#1088</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1088">jsx-eslint/eslint-plugin-react#1088</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1098">#1098</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1098">jsx-eslint/eslint-plugin-react#1098</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1101">#1101</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1101">jsx-eslint/eslint-plugin-react#1101</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1103">#1103</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1103">jsx-eslint/eslint-plugin-react#1103</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/110">#110</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/110">jsx-eslint/eslint-plugin-react#110</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1116">#1116</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1116">jsx-eslint/eslint-plugin-react#1116</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1117">#1117</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1117">jsx-eslint/eslint-plugin-react#1117</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1119">#1119</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1119">jsx-eslint/eslint-plugin-react#1119</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1121">#1121</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1121">jsx-eslint/eslint-plugin-react#1121</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1122">#1122</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1122">jsx-eslint/eslint-plugin-react#1122</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1123">#1123</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1123">jsx-eslint/eslint-plugin-react#1123</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1130">#1130</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1130">jsx-eslint/eslint-plugin-react#1130</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1131">#1131</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1131">jsx-eslint/eslint-plugin-react#1131</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1132">#1132</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1132">jsx-eslint/eslint-plugin-react#1132</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/1134">#1134</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/1134">jsx-eslint/eslint-plugin-react#1134</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.2...v7.34.3">7.34.3</a> - 2024.06.18</h2> <h3>Fixed</h3> <ul> <li>[<code>prop-types</code>]: null-check rootNode before calling getScope (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3762">#3762</a>[] <a href="https://github.com/crnhrv"><code>@crnhrv</code></a>)</li> <li>[<code>boolean-prop-naming</code>]: avoid a crash with a spread prop (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733">#3733</a>[] <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> <li>[<code>jsx-boolean-value</code>]: <code>assumeUndefinedIsFalse</code> with <code>never</code> must not allow explicit <code>true</code> value (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3757">#3757</a>[] <a href="https://github.com/6uliver"><code>@6uliver</code></a>)</li> <li>[<code>no-object-type-as-default-prop</code>]: enable rule for components with many parameters (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3768">#3768</a>[] <a href="https://github.com/JulienR1"><code>@JulienR1</code></a>)</li> <li>[<code>jsx-key</code>]: incorrect behavior for checkKeyMustBeforeSpread with map callbacks (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3769">#3769</a>[] <a href="https://github.com/akulsr0"><code>@akulsr0</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3769">#3769</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3769">jsx-eslint/eslint-plugin-react#3769</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3768">#3768</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3768">jsx-eslint/eslint-plugin-react#3768</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3762">#3762</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3762">jsx-eslint/eslint-plugin-react#3762</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3757">#3757</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3757">jsx-eslint/eslint-plugin-react#3757</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733">#3733</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3733">jsx-eslint/eslint-plugin-react#3733</a></p> <h2><a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2">7.34.2</a> - 2024.05.24</h2> <h3>Fixed</h3> <ul> <li>[<code>boolean-prop-naming</code>]: avoid a crash with a non-TSTypeReference type (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3718">#3718</a>[] <a href="https://github.com/developer-bandi"><code>@developer-bandi</code></a>)</li> <li>[<code>jsx-no-leaked-render</code>]: invalid report if left side is boolean (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3746">#3746</a>[] <a href="https://github.com/akulsr0"><code>@akulsr0</code></a>)</li> <li>[<code>jsx-closing-bracket-location</code>]: message shows <code>{{details}}</code> when there are no details (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3759">#3759</a>[] <a href="https://github.com/mdjermanovic"><code>@mdjermanovic</code></a>)</li> <li>[<code>no-invalid-html-attribute</code>]: ensure error messages are correct (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3759">#3759</a>[] <a href="https://github.com/mdjermanovic"><code>@mdjermanovic</code></a>, <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> </ul> <h3>Changed</h3> <ul> <li>[Refactor] create various eslint utils to fix eslint deprecations (<a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3759">#3759</a>[] <a href="https://github.com/mdjermanovic"><code>@mdjermanovic</code></a>, <a href="https://github.com/ljharb"><code>@ljharb</code></a>)</li> </ul> <p><a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3759">#3759</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3759">jsx-eslint/eslint-plugin-react#3759</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3746">#3746</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3746">jsx-eslint/eslint-plugin-react#3746</a> <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/issues/3718">#3718</a>: <a href="https://redirect.github.com/jsx-eslint/eslint-plugin-react/pull/3718">jsx-eslint/eslint-plugin-react#3718</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/cef8123ff92460ed2369d670e8c7b9539e5994bd"><code>cef8123</code></a> Update CHANGELOG and bump version</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/eb56061c95d3e5e234d2f33def724c17aedc752e"><code>eb56061</code></a> [Deps] update <code>array.prototype.tosorted</code></li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/7d16666058e2b06193f08342c8b1f20a5468cf20"><code>7d16666</code></a> [Dev Deps] update <code>@babel/core</code>, <code>@babel/eslint-parser</code>, `@babel/plugin-synta...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/6dc7803acecac6e79d71d9619665403fe3073d79"><code>6dc7803</code></a> [Fix] <code>jsx-key</code>: incorrect behavior for checkKeyMustBeforeSpread with map cal...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/393bfa2fc071bfd08cef2327790e2ccc95507d72"><code>393bfa2</code></a> [Fix] <code>no-object-type-as-default-prop</code>: enable rule for components with many ...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/a944aa519246d1f4c7a494ebd40e5b2c23601b77"><code>a944aa5</code></a> [Fix] <code>jsx-boolean-value</code>: <code>assumeUndefinedIsFalse</code> with <code>never</code> must not all...</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/a79beb364f297571af9d368e1d5c35f56f84a8a7"><code>a79beb3</code></a> [Fix] <code>boolean-prop-naming</code>: avoid a crash with a spread prop</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/e27ef8131f955fedddc3f3111a7073ea7a6f5e17"><code>e27ef81</code></a> [Fix] <code>prop-types</code>: null-check rootNode before calling getScope</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/417e1ca292788c75618dc994b084c3a57c483fce"><code>417e1ca</code></a> Update CHANGELOG and bump version</li> <li><a href="https://github.com/jsx-eslint/eslint-plugin-react/commit/d79605a796475e438b654f10c1c1c66ebc92886a"><code>d79605a</code></a> [Deps] update <code>array-includes</code>, <code>array.prototype.findlast</code>, `es-iterator-help...</li> <li>Additional commits viewable in <a href="https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.3">compare view</a></li> </ul> </details> <br /> Updates `eslint-plugin-react-hooks` from 4.6.0 to 4.6.2 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p> <blockquote> <h2>5.0.0 (next release)</h2> <ul> <li><strong>New Violations:</strong> Component names now need to start with an uppercase letter instead of a non-lowercase letter. This means <code>_Button</code> or <code>_component</code> are no longer valid. (<a href="https://github.com/kassens"><code>@kassens</code></a>) in <a href="https://redirect.github.com/facebook/react/pull/25162">#25162</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~react-bot">react-bot</a>, a new releaser for eslint-plugin-react-hooks since your current version.</p> </details> <br /> Updates `husky` from 9.0.10 to 9.0.11 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typicode/husky/releases">husky's releases</a>.</em></p> <blockquote> <h2>v9.0.11</h2> <ul> <li>chore: update <code>package-lock.json</code> by <a href="https://github.com/btea"><code>@btea</code></a> in <a href="https://redirect.github.com/typicode/husky/pull/1383">typicode/husky#1383</a></li> <li>fix: <code>export HUSKY=0</code> in init (fixes <a href="https://redirect.github.com/typicode/husky/issues/1393">#1393</a>) by <a href="https://github.com/typicode"><code>@typicode</code></a> in <a href="https://redirect.github.com/typicode/husky/pull/1395">typicode/husky#1395</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typicode/husky/commit/a9c658405470a562b86af4db349959a2fed208c2"><code>a9c6584</code></a> 9.0.11</li> <li><a href="https://github.com/typicode/husky/commit/29056db8469522d9d67f1b6cb333c7262069f4ee"><code>29056db</code></a> fix: husky=0 in init (<a href="https:/…
- Loading branch information