#18167568d4f - The console output of lint-staged has been simplified so that there's less interactive spinners and more explicit messages like "Started…" -> "Done!". The primary purpose of this was to remove Listr2, a very large dependency.
Before:
Size of node_modules/ after installing: 1561.7 kB with 29 packages.
Fancy interactive spinners, but output dynamically changes:
✔ Backed up original state in git stash (0b191303)
✔ Running tasks for staged files...
✔ Staging changes from tasks...
✔ Cleaning up temporary files...
After:
Size of node_modules/ after installing: 974.0 kB with 5 packages (37.6 % smaller, 82.7 % less transitive dependencies).
Simpler but more explicit output:
⋯ Backing up original state…
✔ Done backing up original state (35b38ed1)!
⋯ Running tasks for staged files…
*.js — 1 file
⋯ oxlint --fix
*.{json,md} — 1 file
⋯ oxfmt --write
✔ oxfmt --write
✔ oxlint --fix
✔ Done running tasks for staged files!
⋯ Staging changes from tasks…
✔ Done staging changes from tasks!
⋯ Cleaning up temporary files…
✔ Done cleaning up temporary files!
Patch Changes
#1816c19079d - Try to restore hidden unstaged changes when using --no-revert.
#1818efb23a2 - Console output colors are enabled/disabled more consistently.
#181826112a1 - Failed JS function tasks now properly kill other tasks, unless --continue-on-error is used. Previously their failure didn't affect other tasks.
<h1>npm</h1>
<h2>lint-staged</h2>
<ul>
<li> ^17.0.8 => ^17.1.0 (vscodestat)</li>
</ul>
> <h3>Minor Changes</h3>
> <ul>
> <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1816">#1816</a> <a href="https://github.com/lint-staged/lint-staged/commit/7568d4fb15ba3c3317a7aec36195461cb2f272d7"><code>7568d4f</code></a> - The console output of <em>lint-staged</em> has been simplified so that there's less interactive spinners and more explicit messages like <em>"Started…</em>" -> "<em>Done!</em>". The primary purpose of this was to remove <a href="https://github.com/listr2/listr2"><code>Listr2</code></a>, a very large dependency.</p>
> <p><strong>Before:</strong></p>
> <p>Size of <code>node_modules/</code> after installing: <code>1561.7 kB</code> with 29 packages.</p>
> <p>Fancy interactive spinners, but output dynamically changes:</p>
> <pre><code class="language-shell">✔ Backed up original state in git stash (0b191303)
> ✔ Running tasks for staged files...
> ✔ Staging changes from tasks...
> ✔ Cleaning up temporary files...
> </code></pre>
> <p><strong>After:</strong></p>
> <p>Size of <code>node_modules/</code> after installing: <code>974.0 kB</code> with 5 packages (37.6 % smaller, 82.7 % less transitive dependencies).</p>
> <p>Simpler but more explicit output:</p>
> <pre><code class="language-shell">⋯ Backing up original state…
> ✔ Done backing up original state (35b38ed1)!
> ⋯ Running tasks for staged files…
> *.js — 1 file
> ⋯ oxlint --fix
> *.{json,md} — 1 file
> ⋯ oxfmt --write
> ✔ oxfmt --write
> ✔ oxlint --fix
> ✔ Done running tasks for staged files!
> ⋯ Staging changes from tasks…
> ✔ Done staging changes from tasks!
> ⋯ Cleaning up temporary files…
> ✔ Done cleaning up temporary files!
> </code></pre>
> </li>
> </ul>
> <h3>Patch Changes</h3>
> <ul>
> <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1816">#1816</a> <a href="https://github.com/lint-staged/lint-staged/commit/c19079d808d557b538c34fe69381d2ef970c7acc"><code>c19079d</code></a> - Try to restore hidden unstaged changes when using <code>--no-revert</code>.</p>
> </li>
> <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1818">#1818</a> <a href="https://github.com/lint-staged/lint-staged/commit/efb23a25075d980db9edabd2f71e769fc97d48c8"><code>efb23a2</code></a> - Console output colors are enabled/disabled more consistently.</p>
> </li>
> <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1818">#1818</a> <a href="https://github.com/lint-staged/lint-staged/commit/26112a19151f9678861d51ea7416e9f9bef24bbb"><code>26112a1</code></a> - Failed JS function tasks now properly kill other tasks, unless <code>--continue-on-error</code> is used. Previously their failure didn't affect other tasks.</p>
> </li>
> </ul>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
npm
lint-staged