Commit bcd9d6f
Merge #1849
1849: build(deps-dev): bump lint-staged from 15.3.0 to 15.4.3 r=flevi29 a=dependabot[bot]
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.3.0 to 15.4.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/lint-staged/lint-staged/releases">lint-staged's releases</a>.</em></p>
<blockquote>
<h2>v15.4.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1512">#1512</a> <a href="https://github.com/lint-staged/lint-staged/commit/cbfed1dfd2465c4198c692955281f0836600bea1"><code>cbfed1d</code></a> Thanks <a href="https://github.com/tarik02"><code>`@tarik02</code></a>!` - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693.</li>
</ul>
<h2>v15.4.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1509">#1509</a> <a href="https://github.com/lint-staged/lint-staged/commit/8827ebf29dc8f25149a36450b4a0023425202e18"><code>8827ebf</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Change <em>lint-staged</em>'s dependencies to use <a href="https://docs.npmjs.com/cli/v6/using-npm/semver#caret-ranges-123-025-004">caret (<code>^</code>) ranges</a> instead of <a href="https://docs.npmjs.com/cli/v6/using-npm/semver#tilde-ranges-123-12-1">tilde (<code>~</code>)</a>. This makes it easier for package managers to perform dependency management when minor-level updates are also permitted instead of just patch-level.</li>
</ul>
<h2>v15.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a> <a href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Default TypeScript config filenames match JS equivalents.</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a> <a href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Add missing conditional exports syntax for TypeScript types.</p>
</li>
</ul>
<h2>v15.4.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1500">#1500</a> <a href="https://github.com/lint-staged/lint-staged/commit/a8ec1ddb587d2c1c2420dbb4baff8160f0ac46c9"><code>a8ec1dd</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - <em>Lint-staged</em> now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files:</p>
<pre lang="js"><code>/**
* `@filename:` lint-staged.config.js
* `@type` {import('lint-staged').Configuration}
*/
export default {
'*': 'prettier --write',
}
</code></pre>
<p>It's also possible to use the <code>.ts</code> file extension for the configuration if your Node.js version supports it. The <code>--experimental-strip-types</code> flag was introduced in <a href="https://github.com/nodejs/node/releases/tag/v22.6.0">Node.js v22.6.0</a> and unflagged in <a href="https://github.com/nodejs/node/releases/tag/v23.6.0">v23.6.0</a>, enabling Node.js to execute TypeScript files without additional configuration.</p>
<pre lang="shell"><code>export NODE_OPTIONS="--experimental-strip-types"
<p>npx lint-staged --config lint-staged.config.ts<br />
</code></pre></p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1501">#1501</a> <a href="https://github.com/lint-staged/lint-staged/commit/9b793640e1f87b46e4f40fcfc1ecf9d6f6013ac9"><code>9b79364</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Handle possible failures when logging user shell for debug info.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md">lint-staged's changelog</a>.</em></p>
<blockquote>
<h2>15.4.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1512">#1512</a> <a href="https://github.com/lint-staged/lint-staged/commit/cbfed1dfd2465c4198c692955281f0836600bea1"><code>cbfed1d</code></a> Thanks <a href="https://github.com/tarik02"><code>`@tarik02</code></a>!` - Adjust TypeScript types for the default export so that it can be used as a value without error TS2693.</li>
</ul>
<h2>15.4.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1509">#1509</a> <a href="https://github.com/lint-staged/lint-staged/commit/8827ebf29dc8f25149a36450b4a0023425202e18"><code>8827ebf</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Change <em>lint-staged</em>'s dependencies to use <a href="https://docs.npmjs.com/cli/v6/using-npm/semver#caret-ranges-123-025-004">caret (<code>^</code>) ranges</a> instead of <a href="https://docs.npmjs.com/cli/v6/using-npm/semver#tilde-ranges-123-12-1">tilde (<code>~</code>)</a>. This makes it easier for package managers to perform dependency management when minor-level updates are also permitted instead of just patch-level.</li>
</ul>
<h2>15.4.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a> <a href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Default TypeScript config filenames match JS equivalents.</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1504">#1504</a> <a href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Add missing conditional exports syntax for TypeScript types.</p>
</li>
</ul>
<h2>15.4.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1500">#1500</a> <a href="https://github.com/lint-staged/lint-staged/commit/a8ec1ddb587d2c1c2420dbb4baff8160f0ac46c9"><code>a8ec1dd</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - <em>Lint-staged</em> now provides TypeScript types for the configuration and main Node.js API. You can use the JSDoc syntax in your JS configuration files:</p>
<pre lang="js"><code>/**
* `@filename:` lint-staged.config.js
* `@type` {import('lint-staged').Configuration}
*/
export default {
'*': 'prettier --write',
}
</code></pre>
<p>It's also possible to use the <code>.ts</code> file extension for the configuration if your Node.js version supports it. The <code>--experimental-strip-types</code> flag was introduced in <a href="https://github.com/nodejs/node/releases/tag/v22.6.0">Node.js v22.6.0</a> and unflagged in <a href="https://github.com/nodejs/node/releases/tag/v23.6.0">v23.6.0</a>, enabling Node.js to execute TypeScript files without additional configuration.</p>
<pre lang="shell"><code>export NODE_OPTIONS="--experimental-strip-types"
<p>npx lint-staged --config lint-staged.config.ts<br />
</code></pre></p>
</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1501">#1501</a> <a href="https://github.com/lint-staged/lint-staged/commit/9b793640e1f87b46e4f40fcfc1ecf9d6f6013ac9"><code>9b79364</code></a> Thanks <a href="https://github.com/iiroj"><code>`@iiroj</code></a>!` - Handle possible failures when logging user shell for debug info.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/lint-staged/lint-staged/commit/e53f950dd74255226f8ecdcfe0aa0a9ebd820277"><code>e53f950</code></a> chore(changeset): release</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/089da567b48af34a70a35552a1f27c4706bbd1b4"><code>089da56</code></a> test: fail Jest when coverage is under 100%</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/19aa461358ecf194fdd22366b3b94026656e033b"><code>19aa461</code></a> ci: remove code coverage action since it's not working in PRs from forks</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/cbfed1dfd2465c4198c692955281f0836600bea1"><code>cbfed1d</code></a> fix: update types.d.ts (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1512">#1512</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/aef9e5c83473505665f1d27c350cad1abc831a17"><code>aef9e5c</code></a> chore(changeset): release (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1510">#1510</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/8827ebf29dc8f25149a36450b4a0023425202e18"><code>8827ebf</code></a> build(dependencies): update dependencies and switch to caret ranges (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1509">#1509</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/7f69b3f5058d88050dbcef94218a15cc82e28600"><code>7f69b3f</code></a> docs: generalize description from 'linting' to 'tasks' (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1507">#1507</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/1c93c9e1272df8fe5fdc7ebb2e6bb846a45a0fd4"><code>1c93c9e</code></a> chore(changeset): release (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1505">#1505</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/c0206646f1b1130bbe8bd25c839afe874f97f20d"><code>c020664</code></a> Merge pull request <a href="https://redirect.github.com/lint-staged/lint-staged/issues/1504">#1504</a> from lint-staged/fix-typescript</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/1c7a45ed2c7fee9d5f55337be16a51e4c9b240e1"><code>1c7a45e</code></a> fix: default TypeScript config filenames match JS equivalents</li>
<li>Additional commits viewable in <a href="https://github.com/lint-staged/lint-staged/compare/v15.3.0...v15.4.3">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2 files changed
+33
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
970 | 970 | | |
971 | 971 | | |
972 | 972 | | |
973 | | - | |
| 973 | + | |
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
1296 | | - | |
| 1296 | + | |
1297 | 1297 | | |
1298 | 1298 | | |
1299 | 1299 | | |
| |||
1647 | 1647 | | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | | - | |
| 1650 | + | |
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
| |||
1659 | 1659 | | |
1660 | 1660 | | |
1661 | 1661 | | |
1662 | | - | |
1663 | | - | |
1664 | | - | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | | - | |
1678 | | - | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
1679 | 1679 | | |
1680 | 1680 | | |
1681 | 1681 | | |
| |||
2003 | 2003 | | |
2004 | 2004 | | |
2005 | 2005 | | |
2006 | | - | |
| 2006 | + | |
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
| |||
2162 | 2162 | | |
2163 | 2163 | | |
2164 | 2164 | | |
2165 | | - | |
| 2165 | + | |
2166 | 2166 | | |
2167 | 2167 | | |
2168 | 2168 | | |
| |||
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
2345 | | - | |
| 2345 | + | |
2346 | 2346 | | |
2347 | 2347 | | |
2348 | 2348 | | |
| |||
2635 | 2635 | | |
2636 | 2636 | | |
2637 | 2637 | | |
2638 | | - | |
2639 | | - | |
2640 | | - | |
2641 | | - | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
2642 | 2642 | | |
2643 | 2643 | | |
2644 | 2644 | | |
| |||
0 commit comments