Skip to content

Commit 21a01ee

Browse files
build(deps-dev): bump lint-staged from 15.5.2 to 16.2.7 in the git-hooks group (#63)
Bumps the git-hooks group with 1 update: [lint-staged](https://github.com/lint-staged/lint-staged). Updates `lint-staged` from 15.5.2 to 16.2.7 <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>v16.2.7</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1711">#1711</a> <a href="https://github.com/lint-staged/lint-staged/commit/ef74c8d165d5acd3ce88567e02b891e0e9af8e0e"><code>ef74c8d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Do not display a &quot;<em>failed to spawn</em>&quot; error message when a task fails normally. This message is reserved for when the task didn't run because spawning it failed.</li> </ul> <h2>v16.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1693">#1693</a> <a href="https://github.com/lint-staged/lint-staged/commit/33d4502ef9c939a9c6f41fc630a34e0985220f8e"><code>33d4502</code></a> Thanks <a href="https://github.com/Adrian-Baran-GY"><code>@​Adrian-Baran-GY</code></a>! - Fix problems with <code>--continue-on-error</code> option, where tasks might have still been killed (<code>SIGINT</code>) when one of them failed.</li> </ul> <h2>v16.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1687">#1687</a> <a href="https://github.com/lint-staged/lint-staged/commit/9e02d9dc8a84bfeb7995520f00f7080b07a2e839"><code>9e02d9d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Fix unhandled promise rejection when spawning tasks (<em>instead of the tasks themselves failing</em>). Previously when a task failed to spawn, <em>lint-staged</em> also failed and the backup stash might not have been automatically restored.</li> </ul> <h2>v16.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1682">#1682</a> <a href="https://github.com/lint-staged/lint-staged/commit/01760380e57080d136cc396455346c36aef5770e"><code>0176038</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Update dependencies, including <a href="https://github.com/sindresorhus/nano-spawn/releases/tag/v2.0.0"><code>[email protected]</code></a> with bug fixes.</p> </li> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1671">#1671</a> <a href="https://github.com/lint-staged/lint-staged/commit/581a54eea6ba3a3a1b715407c895f63a961903f3"><code>581a54e</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Speed up execution by only importing the <code>yaml</code> depedency if using YAML configuration files.</p> </li> </ul> <h2>v16.2.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1669">#1669</a> <a href="https://github.com/lint-staged/lint-staged/commit/27cd5413d973baea6b4f3da704fb3bee8298e751"><code>27cd541</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - When using <code>--fail-on-changes</code>, automatically hidden (partially) unstaged changes are no longer counted to make <em>lint-staged</em> fail.</li> </ul> <h2>v16.2.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1667">#1667</a> <a href="https://github.com/lint-staged/lint-staged/commit/699f95df8f89ac7f7d360bbf93740d19d5899ac5"><code>699f95d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - The backup stash will not be dropped when using <code>--fail-on-changes</code> and there are errors. When reverting to original state is disabled (via <code>--no-revert</code> or <code>--fail-on-changes</code>), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.</p> <p>Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:</p> <pre lang="shell"><code>% npx lint-staged --fail-on-changes ✔ Backed up original state in git stash (c18d55a3) ✔ Running tasks for staged files... ✖ Tasks modified files and --fail-on-changes was used! ↓ Cleaning up temporary files... <p>✖ lint-staged failed because <code>--fail-on-changes</code> was used.</p> <p>Any lost modifications can be restored from a git stash:</p> <p>&gt; git stash list --format=&quot;%h %s&quot; c18d55a3 On main: lint-staged automatic backup &gt; git apply --index c18d55a3 </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md">lint-staged's changelog</a>.</em></p> <blockquote> <h2>16.2.7</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1711">#1711</a> <a href="https://github.com/lint-staged/lint-staged/commit/ef74c8d165d5acd3ce88567e02b891e0e9af8e0e"><code>ef74c8d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Do not display a &quot;<em>failed to spawn</em>&quot; error message when a task fails normally. This message is reserved for when the task didn't run because spawning it failed.</li> </ul> <h2>16.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1693">#1693</a> <a href="https://github.com/lint-staged/lint-staged/commit/33d4502ef9c939a9c6f41fc630a34e0985220f8e"><code>33d4502</code></a> Thanks <a href="https://github.com/Adrian-Baran-GY"><code>@​Adrian-Baran-GY</code></a>! - Fix problems with <code>--continue-on-error</code> option, where tasks might have still been killed (<code>SIGINT</code>) when one of them failed.</li> </ul> <h2>16.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1687">#1687</a> <a href="https://github.com/lint-staged/lint-staged/commit/9e02d9dc8a84bfeb7995520f00f7080b07a2e839"><code>9e02d9d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Fix unhandled promise rejection when spawning tasks (<em>instead of the tasks themselves failing</em>). Previously when a task failed to spawn, <em>lint-staged</em> also failed and the backup stash might not have been automatically restored.</li> </ul> <h2>16.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1682">#1682</a> <a href="https://github.com/lint-staged/lint-staged/commit/01760380e57080d136cc396455346c36aef5770e"><code>0176038</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Update dependencies, including <a href="https://github.com/sindresorhus/nano-spawn/releases/tag/v2.0.0"><code>[email protected]</code></a> with bug fixes.</p> </li> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1671">#1671</a> <a href="https://github.com/lint-staged/lint-staged/commit/581a54eea6ba3a3a1b715407c895f63a961903f3"><code>581a54e</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - Speed up execution by only importing the <code>yaml</code> depedency if using YAML configuration files.</p> </li> </ul> <h2>16.2.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1669">#1669</a> <a href="https://github.com/lint-staged/lint-staged/commit/27cd5413d973baea6b4f3da704fb3bee8298e751"><code>27cd541</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - When using <code>--fail-on-changes</code>, automatically hidden (partially) unstaged changes are no longer counted to make <em>lint-staged</em> fail.</li> </ul> <h2>16.2.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1667">#1667</a> <a href="https://github.com/lint-staged/lint-staged/commit/699f95df8f89ac7f7d360bbf93740d19d5899ac5"><code>699f95d</code></a> Thanks <a href="https://github.com/iiroj"><code>@​iiroj</code></a>! - The backup stash will not be dropped when using <code>--fail-on-changes</code> and there are errors. When reverting to original state is disabled (via <code>--no-revert</code> or <code>--fail-on-changes</code>), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.</p> <p>Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:</p> <pre lang="shell"><code>% npx lint-staged --fail-on-changes ✔ Backed up original state in git stash (c18d55a3) ✔ Running tasks for staged files... ✖ Tasks modified files and --fail-on-changes was used! ↓ Cleaning up temporary files... <p>✖ lint-staged failed because <code>--fail-on-changes</code> was used.</p> <p>Any lost modifications can be restored from a git stash: </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lint-staged/lint-staged/commit/0c1b000af8688366077ecc7093333e8a701c4f7c"><code>0c1b000</code></a> chore(changeset): release</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/595b2022b08b3c6936ec21e18e04bdfbb4071b49"><code>595b202</code></a> build(deps): update dependencies</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/ef74c8d165d5acd3ce88567e02b891e0e9af8e0e"><code>ef74c8d</code></a> fix: do display &quot;failed to spawn&quot; message when task fails normally</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/5cf2a1ee62af346c41c99dda1eaea75e7f7c9a1c"><code>5cf2a1e</code></a> style: do not autofix when running lint-staged</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/ba4001276ac6c9c17309eec05b69b0bddf426823"><code>ba40012</code></a> chore: drop <code>npx</code> from <code>commit-msg</code> hook</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/d67de9ac0495ca384a441e196357c49857499bd9"><code>d67de9a</code></a> chore: fix <code>pre-push</code> hook usage with changeset</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/8017d1df2fdb8141fa359944cba6244cbe199152"><code>8017d1d</code></a> build(deps): update dependencies</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/922d7f4fb356d59e8e959391566c81f4e15042f2"><code>922d7f4</code></a> ci: remove dependabot integration, it's not useful</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/6aeeef18f0a6c405016c2d0370d04bd7a1d2c353"><code>6aeeef1</code></a> docs: add PR template</li> <li><a href="https://github.com/lint-staged/lint-staged/commit/a5728b5059c6b5897b854650a606a4fea307d017"><code>a5728b5</code></a> docs: add AGENTS.md</li> <li>Additional commits viewable in <a href="https://github.com/lint-staged/lint-staged/compare/v15.5.2...v16.2.7">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for lint-staged since your current version.</p> </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.5.2&new-version=16.2.7)](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 831a4e6 commit 21a01ee

File tree

2 files changed

+61
-298
lines changed

2 files changed

+61
-298
lines changed

0 commit comments

Comments
 (0)