Skip to content

Commit a5d9bbe

Browse files
Bump lint-staged from 15.3.0 to 15.4.1 (#718)
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) 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>
1 parent 94bc339 commit a5d9bbe

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"jest": "^29.7.0",
5454
"jest-junit": "^16.0.0",
5555
"license-checker-rseidelsohn": "^4.4.2",
56-
"lint-staged": "^15.3.0",
56+
"lint-staged": "^15.4.1",
5757
"lodash": "^4.17.21",
5858
"nodemon": "^3.1.9",
5959
"prettier": "^3.4.2",

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ __metadata:
824824
jest: "npm:^29.7.0"
825825
jest-junit: "npm:^16.0.0"
826826
license-checker-rseidelsohn: "npm:^4.4.2"
827-
lint-staged: "npm:^15.3.0"
827+
lint-staged: "npm:^15.4.1"
828828
lodash: "npm:^4.17.21"
829829
nodemon: "npm:^3.1.9"
830830
prettier: "npm:^3.4.2"
@@ -4286,9 +4286,9 @@ __metadata:
42864286
languageName: node
42874287
linkType: hard
42884288

4289-
"lint-staged@npm:^15.3.0":
4290-
version: 15.3.0
4291-
resolution: "lint-staged@npm:15.3.0"
4289+
"lint-staged@npm:^15.4.1":
4290+
version: 15.4.1
4291+
resolution: "lint-staged@npm:15.4.1"
42924292
dependencies:
42934293
chalk: "npm:~5.4.1"
42944294
commander: "npm:~12.1.0"
@@ -4302,7 +4302,7 @@ __metadata:
43024302
yaml: "npm:~2.6.1"
43034303
bin:
43044304
lint-staged: bin/lint-staged.js
4305-
checksum: 1ddf9488c523c0b65c85b755428d4ad74fac3aa6ccb2e28e9bff5b8d86503158fe241d20d5433a11146872050b43580644901a5ef4c924b1ad7017c224a07339
4305+
checksum: 1ba9ac047f644a36d476f5e139854ea7fef8bfa97b59d6f709ffca36d3d8b3b45b8c0dbcdeed9d9b9eacb36ca4abc8170d857761d8e0e748f85f1e155ef3e47d
43064306
languageName: node
43074307
linkType: hard
43084308

0 commit comments

Comments
 (0)