renovate #191

Merged
root merged 1 commits from renovate into master 2026-07-24 23:21:56 +00:00
Contributor

npm

lint-staged

  • ^17.1.1 => ^17.2.0 (vscodestat)

Minor Changes

  • #1823 ee156cc - The chunking of tasks based on maximum command line argument length has been re-implemented to be more precise. Now the chunking happens based on the final generated command string, instead of just the list of staged files like previously. This benefits mainly Windows platforms and function commands like:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.ts": () => "tsc", // Run "tsc" when any TS file is changed (for entire project)
    };
    

    Where the spawned command is literally "tsc" without any extra arguments. Previously, this was still chunked when a lot of files were staged. Now, it probably won't be chunked because the length of the command is just three letters.

    Also, native JavaScript/Node.js function tasks won't be chunked at all, when previously they were run multiple times when chunked:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.js": {
        title: "Log staged JS files to console",
        task: async (files) => {
          console.log("Staged JS files:", files);
        },
      },
    };
    
<h1>npm</h1> <h2>lint-staged</h2> <ul> <li> ^17.1.1 => ^17.2.0 (vscodestat)</li> </ul> > <h3>Minor Changes</h3> > <ul> > <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1823">#1823</a> <a href="https://github.com/lint-staged/lint-staged/commit/ee156cc7039494f1db11f389b1233c78f588238c"><code>ee156cc</code></a> - The chunking of tasks based on maximum command line argument length has been re-implemented to be more precise. Now the chunking happens based on the final generated command string, instead of just the list of staged files like previously. This benefits mainly Windows platforms and function commands like:</p> > <pre><code class="language-js">/** @type {import(&#39;lint-staged&#39;).Configuration} */ > export default { > &quot;*.ts&quot;: () =&gt; &quot;tsc&quot;, // Run &quot;tsc&quot; when any TS file is changed (for entire project) > }; > </code></pre> > <p>Where the spawned command is literally <code>&quot;tsc&quot;</code> without any extra arguments. Previously, this was still chunked when a lot of files were staged. Now, it probably won&#39;t be chunked because the length of the command is just three letters.</p> > <p>Also, native JavaScript/Node.js function tasks won&#39;t be chunked at all, when previously they were run multiple times when chunked:</p> > <pre><code class="language-js">/** @type {import(&#39;lint-staged&#39;).Configuration} */ > export default { > &quot;*.js&quot;: { > title: &quot;Log staged JS files to console&quot;, > task: async (files) =&gt; { > console.log(&quot;Staged JS files:&quot;, files); > }, > }, > }; > </code></pre> > </li> > </ul>
m.schnitzler added 1 commit 2026-07-24 23:20:33 +00:00
root merged commit 9fa19fe316 into master 2026-07-24 23:21:56 +00:00
root deleted branch renovate 2026-07-24 23:21:59 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/vscodestat#191