dependabot[bot] opened a new pull request, #3599:
URL: https://github.com/apache/tinkerpop/pull/3599

   Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 
to 17.2.0.
   <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.2.0</h2>
   <h3>Minor Changes</h3>
   <ul>
   <li>
   <p><a 
href="https://redirect.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 lang="js"><code>/** @type {import('lint-staged').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't be chunked because the length of the 
command is just three letters.</p>
   <p>Also, native JavaScript/Node.js function tasks won't be chunked at all, 
when previously they were run multiple times when chunked:</p>
   <pre lang="js"><code>/** @type {import('lint-staged').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>
   <h2>v17.1.1</h2>
   <h3>Patch Changes</h3>
   <ul>
   <li><a 
href="https://redirect.github.com/lint-staged/lint-staged/pull/1820";>#1820</a> 
<a 
href="https://github.com/lint-staged/lint-staged/commit/a626a9f269d9ff6498a9b8245490e096f90c4bb7";><code>a626a9f</code></a>
 - It's now possible to set <code>--max-arg-length=Infinity</code> to 
effectively disable chunking of tasks based on the number of staged files. The 
parsing and validation of the numeric CLI options <code>--max-arg-length</code> 
and <code>--concurrency</code> has been improved.</li>
   </ul>
   <h2>v17.1.0</h2>
   <h3>Minor Changes</h3>
   <ul>
   <li>
   <p><a 
href="https://redirect.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>&quot;Started…</em>&quot; -&gt; &quot;<em>Done!</em>&quot;. 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 lang="shell"><code>✔ Backed up original state in git stash (0b191303)
   ✔ Running tasks for staged files...
   ✔ Staging changes from tasks...
   ✔ Cleaning up temporary files...
   </code></pre>
   </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.2.0</h2>
   <h3>Minor Changes</h3>
   <ul>
   <li>
   <p><a 
href="https://redirect.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 lang="js"><code>/** @type {import('lint-staged').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't be chunked because the length of the 
command is just three letters.</p>
   <p>Also, native JavaScript/Node.js function tasks won't be chunked at all, 
when previously they were run multiple times when chunked:</p>
   <pre lang="js"><code>/** @type {import('lint-staged').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>
   <h2>17.1.1</h2>
   <h3>Patch Changes</h3>
   <ul>
   <li><a 
href="https://redirect.github.com/lint-staged/lint-staged/pull/1820";>#1820</a> 
<a 
href="https://github.com/lint-staged/lint-staged/commit/a626a9f269d9ff6498a9b8245490e096f90c4bb7";><code>a626a9f</code></a>
 - It's now possible to set <code>--max-arg-length=Infinity</code> to 
effectively disable chunking of tasks based on the number of staged files. The 
parsing and validation of the numeric CLI options <code>--max-arg-length</code> 
and <code>--concurrency</code> has been improved.</li>
   </ul>
   <h2>17.1.0</h2>
   <h3>Minor Changes</h3>
   <ul>
   <li>
   <p><a 
href="https://redirect.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>&quot;Started…</em>&quot; -&gt; &quot;<em>Done!</em>&quot;. 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 lang="shell"><code>✔ Backed up original state in git stash (0b191303)
   ✔ Running tasks for staged files...
   </code></pre>
   </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/fb540fba1513a83a6be3fa31aeed4eae679c3e31";><code>fb540fb</code></a>
 Merge pull request <a 
href="https://redirect.github.com/lint-staged/lint-staged/issues/1824";>#1824</a>
 from lint-staged/changeset-release/main</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/dc0a738a1b39033804667b3df3fb0f71cb03708a";><code>dc0a738</code></a>
 chore(changeset): release</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/60cbb8818f8c0d51d6d1e4c59c7a9e558d8fffe1";><code>60cbb88</code></a>
 Merge pull request <a 
href="https://redirect.github.com/lint-staged/lint-staged/issues/1823";>#1823</a>
 from lint-staged/reimplement-chunk-files</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/2354dc42686e2c2bff4a5dff3abd57f3cc69624e";><code>2354dc4</code></a>
 build(deps): update dependencies</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/0516e7fa9bc8a05aee922872f4ebe5d9c21a8213";><code>0516e7f</code></a>
 docs: adjust debug logs</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/e22f6ede988cc6efe7c0065dcb8cb1408f2584dd";><code>e22f6ed</code></a>
 style: run <code>oxfmt</code> on README.md</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/37e8e1ad73a58c0b187716bd5172744ad50f36d1";><code>37e8e1a</code></a>
 fix: restore chunking of git add command after running tasks</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/2c75f1d0f2cc2c28c7191c48beafb281e3d1e78e";><code>2c75f1d</code></a>
 chore: remove unused file</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/ee156cc7039494f1db11f389b1233c78f588238c";><code>ee156cc</code></a>
 feat: add improved lazy-chunking of command strings</li>
   <li><a 
href="https://github.com/lint-staged/lint-staged/commit/baa7c987f68e0c338b1fd5ad751da05e9cbe238d";><code>baa7c98</code></a>
 feat: remove current <code>chunkFiles</code> implementation</li>
   <li>Additional commits viewable in <a 
href="https://github.com/lint-staged/lint-staged/compare/v16.4.0...v17.2.0";>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=16.4.0&new-version=17.2.0)](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 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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to