Commit a015d15
authored
chore(deps): bump the all-npm group across 1 directory with 3 updates (#237)
Bumps the all-npm group with 3 updates in the / directory:
[@playwright/test](https://github.com/microsoft/playwright),
[eslint](https://github.com/eslint/eslint) and
[lint-staged](https://github.com/lint-staged/lint-staged).
Updates `@playwright/test` from 1.59.1 to 1.60.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright/releases">@playwright/test's
releases</a>.</em></p>
<blockquote>
<h2>v1.60.0</h2>
<h2>🌐 HAR recording on Tracing</h2>
<p><a
href="https://playwright.dev/docs/api/class-tracing#tracing-start-har">tracing.startHar()</a>
/ <a
href="https://playwright.dev/docs/api/class-tracing#tracing-stop-har">tracing.stopHar()</a>
expose HAR recording as a first-class tracing API, with the same
<code>content</code>, <code>mode</code> and <code>urlFilter</code>
options as <code>recordHar</code>. The returned <a
href="https://playwright.dev/docs/api/class-disposable">Disposable</a>
makes it easy to scope a recording with <code>await using</code>:</p>
<pre lang="js"><code>await using har = await
context.tracing.startHar('trace.har');
const page = await context.newPage();
await page.goto('https://playwright.dev');
// HAR is finalized when `har` goes out of scope.
</code></pre>
<h2>🪝 Drop API</h2>
<p>New <a
href="https://playwright.dev/docs/api/class-locator#locator-drop">locator.drop()</a>
simulates an external drag-and-drop of files or clipboard-like data onto
an element. Playwright dispatches <code>dragenter</code>,
<code>dragover</code>, and <code>drop</code> with a synthetic
[DataTransfer] in the page context — works cross-browser and is great
for testing upload zones:</p>
<pre lang="js"><code>await page.locator('#dropzone').drop({
files: { name: 'note.txt', mimeType: 'text/plain', buffer:
Buffer.from('hello') },
});
<p>await page.locator('#dropzone').drop({
data: {
'text/plain': 'hello world',
'text/uri-list': '<a
href="https://example.com">https://example.com</a>',
},
});
</code></pre></p>
<h2>🎯 Aria snapshots</h2>
<ul>
<li><a
href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-match-aria-snapshot">expect(page).toMatchAriaSnapshot()</a>
now works on a <a
href="https://playwright.dev/docs/api/class-page">Page</a>, in addition
to a <a href="https://playwright.dev/docs/api/class-locator">Locator</a>
— equivalent to asserting against
<code>page.locator('body')</code>.</li>
<li>New <code>boxes</code> option on <a
href="https://playwright.dev/docs/api/class-locator#locator-aria-snapshot">locator.ariaSnapshot()</a>
/ <a
href="https://playwright.dev/docs/api/class-page#page-aria-snapshot">page.ariaSnapshot()</a>
appends each element's bounding box as
<code>[box=x,y,width,height]</code>, useful for AI consumption.</li>
</ul>
<h2>🛑 test.abort()</h2>
<p>New <a
href="https://playwright.dev/docs/api/class-test#test-abort">test.abort()</a>
aborts the currently running test from a fixture, hook, or route handler
with an optional message. Use it when you have detected an unrecoverable
misuse and want to fail the test right away:</p>
<pre lang="js"><code>test('does not publish to the shared page', async
({ page }) => {
await page.route('**/publish', route => {
test.abort('Tests must not publish to the shared page. Use the `clone`
option.');
return route.abort();
});
// ...
});
</code></pre>
<h2>New APIs</h2>
<h3>Browser, Context and Page</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright/commit/87bb9ddbd78f329df18c2b24847bc9409240cd07"><code>87bb9dd</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40747">#40747</a>):
fix(yauzl): vendor yauzl with destroy-lifecycle fix</li>
<li><a
href="https://github.com/microsoft/playwright/commit/9a9c51cb7d1b39fab51ca288e59f8ca38fd19910"><code>9a9c51c</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40733">#40733</a>):
chore(electron): revert <a
href="https://redirect.github.com/microsoft/playwright/issues/40184">#40184</a>
(move Electron API to a s...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/4b3b628663031bcaaeca907e337892263524634d"><code>4b3b628</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40736">#40736</a>):
Revert "feat(electron): add timeout option to electronAp...</li>
<li><a
href="https://github.com/microsoft/playwright/commit/f869f96bbe6607cc3b88b4ca96fd82f17b301b50"><code>f869f96</code></a>
chore: bump version to v1.60.0 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40714">#40714</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/7eb6918afadfb0dd5c7e94ca9ffbddd84d8fbb39"><code>7eb6918</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40710">#40710</a>):
docs: release notes v1.60</li>
<li><a
href="https://github.com/microsoft/playwright/commit/118d2aa6076d82840decca15d96b48611b08e392"><code>118d2aa</code></a>
cherry-pick(<a
href="https://redirect.github.com/microsoft/playwright/issues/40693">#40693</a>):
chore(python): formdata path type</li>
<li><a
href="https://github.com/microsoft/playwright/commit/54012f5dcc586da2e5d6cccd75f13ca367b94579"><code>54012f5</code></a>
chore(deps): bump ip-address and express-rate-limit (<a
href="https://redirect.github.com/microsoft/playwright/issues/40680">#40680</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/9fa531da5677a3807d6e1dccd22c5137339a44f7"><code>9fa531d</code></a>
fix(screencast): unblock frame ack when an async client disconnects (<a
href="https://redirect.github.com/microsoft/playwright/issues/40674">#40674</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/3649db560ff943e724185784d34f7db131a11961"><code>3649db5</code></a>
chore(mcp): bump default extension protocol to v2 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40678">#40678</a>)</li>
<li><a
href="https://github.com/microsoft/playwright/commit/bb6c00957f47ba04caad7fca75d426309a2d32d4"><code>bb6c009</code></a>
chore(extension): mark 0.2.1 (<a
href="https://redirect.github.com/microsoft/playwright/issues/40679">#40679</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/microsoft/playwright/compare/v1.59.1...v1.60.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `eslint` from 10.2.1 to 10.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases">eslint's
releases</a>.</em></p>
<blockquote>
<h2>v10.3.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/379571a975f2b24d88037b9de2e72ec61d004130"><code>379571a</code></a>
feat: add suggestions for no-unused-private-class-members (<a
href="https://redirect.github.com/eslint/eslint/issues/20773">#20773</a>)
(sethamus)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/b6ae5cf07b9b51802367539cb24b245b61eaa37c"><code>b6ae5cf</code></a>
fix: handle unavailable require cache (<a
href="https://redirect.github.com/eslint/eslint/issues/20812">#20812</a>)
(Simon Podlipsky)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6fb3685bcbe9a6f72fd7dfb9129686b6fb96b0bd"><code>6fb3685</code></a>
fix: rule suggestions cause continuation in class body (<a
href="https://redirect.github.com/eslint/eslint/issues/20787">#20787</a>)
(Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/32cc7ab4ec653ce89da92deb5c40a9f4fc707fe5"><code>32cc7ab</code></a>
docs: fix typos in docs and comments (<a
href="https://redirect.github.com/eslint/eslint/issues/20809">#20809</a>)
(Tanuj Kanti)</li>
<li><a
href="https://github.com/eslint/eslint/commit/7f479376a2fa463d823ab762db6bb37ce8d2ee8f"><code>7f47937</code></a>
docs: Update README (GitHub Actions Bot)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/d32235ec19ceea211fa86452afa383ca05f5c2f9"><code>d32235e</code></a>
ci: use pnpm in <code>eslint-flat-config-utils</code> type integration
test (<a
href="https://redirect.github.com/eslint/eslint/issues/20826">#20826</a>)
(Francesco Trotta)</li>
<li><a
href="https://github.com/eslint/eslint/commit/3ffb14ea517de750ed1181579ef844af342e4096"><code>3ffb14e</code></a>
chore: clean up typos in comments and JSDoc (<a
href="https://redirect.github.com/eslint/eslint/issues/20821">#20821</a>)
(Pixel998)</li>
<li><a
href="https://github.com/eslint/eslint/commit/22eb58a21cbde2fbd53a1fae99453d408672de50"><code>22eb58a</code></a>
chore: add missing continue-on-error to ecosystem-tests.yml (<a
href="https://redirect.github.com/eslint/eslint/issues/20818">#20818</a>)
(Josh Goldberg ✨)</li>
<li><a
href="https://github.com/eslint/eslint/commit/88bf0024cb36caebf2880516d9a1f81aa75dafe2"><code>88bf002</code></a>
ci: bump pnpm/action-setup from 6.0.1 to 6.0.3 (<a
href="https://redirect.github.com/eslint/eslint/issues/20815">#20815</a>)
(dependabot[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/97c8c330beae9557ad24e19f94eebc8d08d1a722"><code>97c8c33</code></a>
chore: update ilshidur/action-discord action to v0.4.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/20811">#20811</a>)
(renovate[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/2f58136dd47364a4cae7054a64f7bf1e79693813"><code>2f58136</code></a>
chore: pin peter-evans/create-pull-request action to 5f6978f (<a
href="https://redirect.github.com/eslint/eslint/issues/20810">#20810</a>)
(renovate[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/77add7f1bc91ed17bba3be3289928a9146c5f5a1"><code>77add7f</code></a>
chore: add initial ecosystem plugin tests workflow (<a
href="https://redirect.github.com/eslint/eslint/issues/19643">#19643</a>)
(Josh Goldberg ✨)</li>
<li><a
href="https://github.com/eslint/eslint/commit/4023b55490fae55e464fe35530ef038cdf5d79a5"><code>4023b55</code></a>
test: Add unit tests for SuppressionsService.prune() (<a
href="https://redirect.github.com/eslint/eslint/issues/20797">#20797</a>)
(kuldeep kumar)</li>
<li><a
href="https://github.com/eslint/eslint/commit/54080dad4f77bb39a1a843933d4ff3a2b7c175e2"><code>54080da</code></a>
test: add unit tests for ForkContext (<a
href="https://redirect.github.com/eslint/eslint/issues/20778">#20778</a>)
(kuldeep kumar)</li>
<li><a
href="https://github.com/eslint/eslint/commit/f0e2bcc4bf19253aaebfbd7df87824b0ca4a151f"><code>f0e2bcc</code></a>
test: add unit tests for SuppressionsService.suppress() method (<a
href="https://redirect.github.com/eslint/eslint/issues/20765">#20765</a>)
(kuldeep kumar)</li>
<li><a
href="https://github.com/eslint/eslint/commit/a7f0b94743a99bcdf8d07cff15ffbfa6a6c5f927"><code>a7f0b94</code></a>
chore: update dependency prettier to v3.8.3 (<a
href="https://redirect.github.com/eslint/eslint/issues/20782">#20782</a>)
(renovate[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/7bf93d9e79f6dbf77242cbb9a9b8be834730fccd"><code>7bf93d9</code></a>
chore: update TypeScript to v6 (<a
href="https://redirect.github.com/eslint/eslint/issues/20677">#20677</a>)
(sethamus)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b42dd72e76e7f90e7f0be9458288d93353052adc"><code>b42dd72</code></a>
ci: bump pnpm/action-setup from 6.0.0 to 6.0.1 (<a
href="https://redirect.github.com/eslint/eslint/issues/20781">#20781</a>)
(dependabot[bot])</li>
<li><a
href="https://github.com/eslint/eslint/commit/2b252be80f362cca7be3326a6dbe958680fdfe9a"><code>2b252be</code></a>
test: add unit tests for IdGenerator (<a
href="https://redirect.github.com/eslint/eslint/issues/20775">#20775</a>)
(kuldeep kumar)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/eslint/eslint/commit/78892043a36da4aa7640b59c99344b00c181048a"><code>7889204</code></a>
10.3.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/5b69b4fce4dc407c8e960eba638b5a3409c4f1fd"><code>5b69b4f</code></a>
Build: changelog update for 10.3.0</li>
<li><a
href="https://github.com/eslint/eslint/commit/d32235ec19ceea211fa86452afa383ca05f5c2f9"><code>d32235e</code></a>
ci: use pnpm in <code>eslint-flat-config-utils</code> type integration
test (<a
href="https://redirect.github.com/eslint/eslint/issues/20826">#20826</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/b6ae5cf07b9b51802367539cb24b245b61eaa37c"><code>b6ae5cf</code></a>
fix: handle unavailable require cache (<a
href="https://redirect.github.com/eslint/eslint/issues/20812">#20812</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/3ffb14ea517de750ed1181579ef844af342e4096"><code>3ffb14e</code></a>
chore: clean up typos in comments and JSDoc (<a
href="https://redirect.github.com/eslint/eslint/issues/20821">#20821</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/6fb3685bcbe9a6f72fd7dfb9129686b6fb96b0bd"><code>6fb3685</code></a>
fix: rule suggestions cause continuation in class body (<a
href="https://redirect.github.com/eslint/eslint/issues/20787">#20787</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/22eb58a21cbde2fbd53a1fae99453d408672de50"><code>22eb58a</code></a>
chore: add missing continue-on-error to ecosystem-tests.yml (<a
href="https://redirect.github.com/eslint/eslint/issues/20818">#20818</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/88bf0024cb36caebf2880516d9a1f81aa75dafe2"><code>88bf002</code></a>
ci: bump pnpm/action-setup from 6.0.1 to 6.0.3 (<a
href="https://redirect.github.com/eslint/eslint/issues/20815">#20815</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/379571a975f2b24d88037b9de2e72ec61d004130"><code>379571a</code></a>
feat: add suggestions for no-unused-private-class-members (<a
href="https://redirect.github.com/eslint/eslint/issues/20773">#20773</a>)</li>
<li><a
href="https://github.com/eslint/eslint/commit/97c8c330beae9557ad24e19f94eebc8d08d1a722"><code>97c8c33</code></a>
chore: update ilshidur/action-discord action to v0.4.0 (<a
href="https://redirect.github.com/eslint/eslint/issues/20811">#20811</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/eslint/eslint/compare/v10.2.1...v10.3.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `lint-staged` from 16.4.0 to 17.0.4
<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>v17.0.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1788">#1788</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/f95c1f8df3368758c44c2052e568aac1b3d4c767"><code>f95c1f8</code></a>
- Another fix for making sure <em>lint-staged</em> adds task
modifications correctly to the commit in the following cases:</p>
<ul>
<li>after editing <code><file></code> it is staged with <code>git
add <file></code>, and then committed with <code>git
commit</code></li>
<li>after editing <code><file></code> it is committed with
<code>git commit --all</code> without explicit <code>git add</code></li>
<li>after editing <code><file></code> it is committed with
<code>git commit <pathspec></code> without explicit <code>git
add</code></li>
</ul>
<p>There's new test cases which actually setup the Git
<code>pre_commit</code> hook to run <em>lint-staged</em> and verify
them. These issues started in <strong>v17.0.0</strong> when trying to
improve support for committig without having explicitly staged
files.</p>
</li>
</ul>
<h2>v17.0.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1782">#1782</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/06813f9ab661db987e7720086ef9ec3f552ee097"><code>06813f9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Fix <em>lint-staged</em> behavior when implicitly committing files
without using <code>git add</code> by either:
<ul>
<li><code>git commit -am "my commit message"</code> where
<code>-a</code> (<code>--all</code>) means to automatically stage all
tracked modified and deleted files</li>
<li><code>git commit -m "my commit message" .</code> where
<code>.</code> is an example of a <a
href="https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-pathspec"><em>pathspec</em></a>
where matching files will be staged</li>
</ul>
</li>
</ul>
<h2>v17.0.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1779">#1779</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/88670ca2278200f6348ed663358895ddc4bfff3c"><code>88670ca</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Enable immutable GitHub releases</li>
</ul>
<h2>v17.0.1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1776">#1776</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/4a5664be63af19590ec37940f705dad870ac5cfb"><code>4a5664b</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Adjust GitHub Actions workflow so that automatic publishing works with
signed commits.</li>
</ul>
<h2>v17.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1745">#1745</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/e244adfab430be95803e74b20acf518517054c9f"><code>e244adf</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
<strong>Node.js v20 is no longer supported, and the oldest supported
version is now <code>22.22.1</code></strong>, which is an active LTS
version at the time of this release. Node.js 20 will be EOL after April
2026. Please upgrade your Node.js version!</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1676">#1676</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/0584e0b8824a07ea4d0151f2c17fc37c4905a421"><code>0584e0b</code></a>
Thanks <a
href="https://github.com/outslept"><code>@outslept</code></a>! -
<em>Lint-staged</em> now tries to verify the installed Git version is at
least <code>2.32.0</code>, released in 2021. If you're using an even
older Git version, you need to <a
href="https://git-scm.com/install/mac">upgrade</a> it before running
<em>lint-staged</em>!</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1745">#1745</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/2dcc40a1a98aea20d38f76031ac30b278f81682a"><code>2dcc40a</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
The dependency <code>yaml</code> is now marked as optional and probably
won't be installed by default. If you're using a YAML configuration file
you should install the package separately:</p>
<pre lang="shell"><code>npm install --development yaml
</code></pre>
<p>If you're using <code>.lintstagedrc</code> as the config file name
(without a file extension), it will be treated as a YAML file. If the
content is JSON, consider renaming it to <code>.lintstagedrc.json</code>
to avoid needing to install <code>yaml</code>.</p>
</li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1748">#1748</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/809d5ef0a66edb2b26b233d33ce8e14af6c978e7"><code>809d5ef</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Add new option <code>--hide-all</code> for hiding all unstaged changes
and untracked files, before running tasks. This makes it easier to run
tools like <a href="https://knip.dev">Knip</a> which check for unused
code. Untracked files are included in the backup stash and restored
automatically after running.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1759">#1759</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/f13045a5eae28c3233fc37146b0e1f51739c254b"><code>f13045a</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Update dependencies, including <a
href="https://github.com/tinylibs/tinyexec/releases/tag/1.1.1"><code>tinyexec@1.1.1</code></a>
to fix the following issues:</p>
<ul>
<li>When using a Node.js version manager with multiple versions
installed (<a href="https://github.com/nvm-sh/nvm">nvm</a>, <a
href="https://github.com/tj/n">n</a>, for example), scripts with the
<code>#!/usr/bin/env node</code> shebang (<a
href="https://github.com/prettier/prettier">Prettier</a>, <a
href="https://github.com/eslint/eslint">ESLint</a>, for example) were
previously spawned using the default Node.js version configured by the
version manager (the one <code>which node</code> points to) on POSIX
systems. Now, they will be spawned with the same version that
<em>lint-staged</em> itself was started with.
<ul>
<li>For example, if your default Node.js version is 24.14.1 but
<em>lint-staged</em> is run with the latest version 25.9.0, the tasks
spawned by <em>lint-staged</em> will now also use version 25.9.0.
Previously they were spawned using 24.14.1.</li>
</ul>
</li>
</ul>
</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>17.0.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1788">#1788</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/f95c1f8df3368758c44c2052e568aac1b3d4c767"><code>f95c1f8</code></a>
- Another fix for making sure <em>lint-staged</em> adds task
modifications correctly to the commit in the following cases:</p>
<ul>
<li>after editing <code><file></code> it is staged with <code>git
add <file></code>, and then committed with <code>git
commit</code></li>
<li>after editing <code><file></code> it is committed with
<code>git commit --all</code> without explicit <code>git add</code></li>
<li>after editing <code><file></code> it is committed with
<code>git commit <pathspec></code> without explicit <code>git
add</code></li>
</ul>
<p>There's new test cases which actually setup the Git
<code>pre_commit</code> hook to run <em>lint-staged</em> and verify
them. These issues started in <strong>v17.0.0</strong> when trying to
improve support for committig without having explicitly staged
files.</p>
</li>
</ul>
<h2>17.0.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1782">#1782</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/06813f9ab661db987e7720086ef9ec3f552ee097"><code>06813f9</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Fix <em>lint-staged</em> behavior when implicitly committing files
without using <code>git add</code> by either:
<ul>
<li><code>git commit -am "my commit message"</code> where
<code>-a</code> (<code>--all</code>) means to automatically stage all
tracked modified and deleted files</li>
<li><code>git commit -m "my commit message" .</code> where
<code>.</code> is an example of a <a
href="https://git-scm.com/docs/git-commit#Documentation/git-commit.txt-pathspec"><em>pathspec</em></a>
where matching files will be staged</li>
</ul>
</li>
</ul>
<h2>17.0.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1779">#1779</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/88670ca2278200f6348ed663358895ddc4bfff3c"><code>88670ca</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Enable immutable GitHub releases</li>
</ul>
<h2>17.0.1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1776">#1776</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/4a5664be63af19590ec37940f705dad870ac5cfb"><code>4a5664b</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Adjust GitHub Actions workflow so that automatic publishing works with
signed commits.</li>
</ul>
<h2>17.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1745">#1745</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/e244adfab430be95803e74b20acf518517054c9f"><code>e244adf</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
<strong>Node.js v20 is no longer supported, and the oldest supported
version is now <code>22.22.1</code></strong>, which is an active LTS
version at the time of this release. Node.js 20 will be EOL after April
2026. Please upgrade your Node.js version!</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1676">#1676</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/0584e0b8824a07ea4d0151f2c17fc37c4905a421"><code>0584e0b</code></a>
Thanks <a
href="https://github.com/outslept"><code>@outslept</code></a>! -
<em>Lint-staged</em> now tries to verify the installed Git version is at
least <code>2.32.0</code>, released in 2021. If you're using an even
older Git version, you need to <a
href="https://git-scm.com/install/mac">upgrade</a> it before running
<em>lint-staged</em>!</p>
</li>
<li>
<p><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1745">#1745</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/2dcc40a1a98aea20d38f76031ac30b278f81682a"><code>2dcc40a</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
The dependency <code>yaml</code> is now marked as optional and probably
won't be installed by default. If you're using a YAML configuration file
you should install the package separately:</p>
<pre lang="shell"><code>npm install --development yaml
</code></pre>
<p>If you're using <code>.lintstagedrc</code> as the config file name
(without a file extension), it will be treated as a YAML file. If the
content is JSON, consider renaming it to <code>.lintstagedrc.json</code>
to avoid needing to install <code>yaml</code>.</p>
</li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/lint-staged/lint-staged/pull/1748">#1748</a>
<a
href="https://github.com/lint-staged/lint-staged/commit/809d5ef0a66edb2b26b233d33ce8e14af6c978e7"><code>809d5ef</code></a>
Thanks <a href="https://github.com/iiroj"><code>@iiroj</code></a>! -
Add new option <code>--hide-all</code> for hiding all unstaged changes
and untracked files, before running tasks. This makes it easier to run
tools like <a href="https://knip.dev">Knip</a> which check for unused
code. Untracked files are included in the backup stash and restored
automatically after running.</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/2862964b2429df8df2aae05ff7b73cf69f440c90"><code>2862964</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1789">#1789</a>
from lint-staged/changeset-release/main</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/c9ecd54417e1fb698fba0377c912a5ac819a51b8"><code>c9ecd54</code></a>
chore(changeset): release</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/cc6b51ab2d1564ebe27f47a9eba02b74353805bc"><code>cc6b51a</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1788">#1788</a>
from lint-staged/fix-update-index-again</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/f95c1f8df3368758c44c2052e568aac1b3d4c767"><code>f95c1f8</code></a>
fix: update both default index.lock and non-standard lock when latter
exists</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/f44ee688dd1c7070f32cde8ca1f910d7f8a96e3e"><code>f44ee68</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1786">#1786</a>
from lint-staged/update-repo-url</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/a61cf18ea5af3bfa06623bed1f80217fe3865871"><code>a61cf18</code></a>
build(deps): update dependencies</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/ea00037e1f399f7b36252e0c558c9d3dbb026435"><code>ea00037</code></a>
docs: disable Changesets "thanks"</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/ab7c26c826f9e97823bab42aac0515f2b4b9f0f6"><code>ab7c26c</code></a>
docs: update repo URL to point in
<code>lint-staged/lint-staged</code></li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/a36ec1eab4e2a24f7599377a11b0b3cb0f692bd0"><code>a36ec1e</code></a>
Merge pull request <a
href="https://redirect.github.com/lint-staged/lint-staged/issues/1783">#1783</a>
from lint-staged/changeset-release/main</li>
<li><a
href="https://github.com/lint-staged/lint-staged/commit/03ce2a9dea52523f3cc69bf279d1049558859272"><code>03ce2a9</code></a>
chore(changeset): release</li>
<li>Additional commits viewable in <a
href="https://github.com/lint-staged/lint-staged/compare/v16.4.0...v17.0.4">compare
view</a></li>
</ul>
</details>
<br />
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent fd58266 commit a015d15
2 files changed
Lines changed: 103 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
0 commit comments