Skip to content

Commit

Permalink
build(deps-dev): bump lint-staged from 15.3.0 to 15.4.1 (#137)
Browse files Browse the repository at this point in the history
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from
15.3.0 to 15.4.1.
<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.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=&quot;--experimental-strip-types&quot;
<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.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=&quot;--experimental-strip-types&quot;
<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/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><a
href="https://github.com/lint-staged/lint-staged/commit/9cc18c9debb185490f9ae4f9c1d21ec8c2587393"><code>9cc18c9</code></a>
fix: add missing conditional export for TypeScript types</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/7ff1e584e69494656f53c1597a1b9ceebf3d60a9"><code>7ff1e58</code></a>
chore(changeset): release (<a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1502">#1502</a>)</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/b881830d6d0c3c6f33fcf70b1a086b2f0753a1d7"><code>b881830</code></a>
docs: adjust README regarding TypeScript</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/41c9fee6b1bc7e16bf6287451b2e57d7d48138f6"><code>41c9fee</code></a>
docs: sync changelog and README regarding TypeScript</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/6de75297b8ecff1e3d3a51cf779eeb681041e022"><code>6de7529</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1500">#1500</a>
from lint-staged/typescript-types</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/012916ef590f79fb9cb381746dfb98158bda3a58"><code>012916e</code></a>
feat: enable loading configuration from TS files (if Node.js supports
importi...</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/e95d5cdf82e8f661aa7a41347b5e0badaa471df5"><code>e95d5cd</code></a>
feat: add TypeScript types for the main lint-staged Node.js API</li>
<li>Additional commits viewable in <a
href="https://github.com/lint-staged/lint-staged/compare/v15.3.0...v15.4.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lint-staged&package-manager=npm_and_yarn&previous-version=15.3.0&new-version=15.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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 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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 17, 2025
1 parent 2de377e commit 872acf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.1.4",
"lint-staged": "^15.2.9",
"lint-staged": "^15.4.1",
"markdownlint-cli": "^0.43.0",
"mocha": "^11.0.1",
"prettier": "^3.3.3",
Expand Down

0 comments on commit 872acf6

Please sign in to comment.