Skip to content

Commit

Permalink
Merge #1703
Browse files Browse the repository at this point in the history
1703: build(deps-dev): bump lint-staged from 11.1.2 to 15.2.10 r=curquiza a=dependabot[bot]

Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 11.1.2 to 15.2.10.
<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>v15.2.10</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1471">#1471</a> <a href="https://github.com/lint-staged/lint-staged/commit/e3f283b250868b7c15ceb54d2a51b2e5fb3a18a9"><code>e3f283b</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Update minor dependencies, including <code>micromatch@~4.0.8</code>.</li>
</ul>
<h2>v15.2.9</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1463">#1463</a> <a href="https://github.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945"><code>b69ce2d</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Set the maximum number of event listeners to the number of tasks. This should silence the console warning <code>MaxListenersExceededWarning: Possible EventEmitter memory leak detected</code>.</li>
</ul>
<h2>v15.2.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/lint-staged/lint-staged/commit/f0480f01b24b9f6443a12515d413a7ba4dda3981"><code>f0480f0</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - In the previous version the native <code>git rev-parse --show-toplevel</code> command was taken into use for resolving the current git repo root. This version switched the <code>--show-toplevel</code> flag with <code>--show-cdup</code>, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js <code>child_process</code>. The new flag returns a path relative to the working directory, avoiding the issue.</p>
<p>The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2.</p>
</li>
</ul>
<h2>v15.2.7</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1440">#1440</a> <a href="https://github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac"><code>a51be80</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - In the previous version the native <code>git rev-parse --show-toplevel</code> command was taken into use for resolving the current git repo root. This version drops the <code>--path-format=absolute</code> option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading <code>git</code> to the latest version.</li>
</ul>
<h2>v15.2.6</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1433">#1433</a> <a href="https://github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4"><code>119adb2</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Use native &quot;git rev-parse&quot; commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.</li>
</ul>
<h2>v15.2.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1424">#1424</a> <a href="https://github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca"><code>31a1f95</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Allow approximately equivalent versions of direct dependencies by using the &quot;~&quot; character in the version ranges. This means a more recent patch version of a dependency is allowed if available.</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1423">#1423</a> <a href="https://github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918"><code>91abea0</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Improve error logging when failing to read or parse a configuration file</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1424">#1424</a> <a href="https://github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453"><code>ee43f15</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Upgrade [email protected]</p>
</li>
</ul>
<h2>v15.2.4</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a"><code>4f4537a</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Fix release issue with previous version; update dependencies</li>
</ul>
<h2>v15.2.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1407">#1407</a> <a href="https://github.com/lint-staged/lint-staged/commit/d6981627472315adb01a46f797c8581393e8a637"><code>d698162</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Update dependencies</li>
</ul>
<h2>v15.2.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1391">#1391</a> <a href="https://github.com/lint-staged/lint-staged/commit/fdcdad42ff96fea3c05598e378d3c44ad4a51bde"><code>fdcdad4</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - <em>Lint-staged</em> no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.</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/master/CHANGELOG.md">lint-staged's changelog</a>.</em></p>
<blockquote>
<h2>15.2.10</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1471">#1471</a> <a href="https://github.com/lint-staged/lint-staged/commit/e3f283b250868b7c15ceb54d2a51b2e5fb3a18a9"><code>e3f283b</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Update minor dependencies, including <code>micromatch@~4.0.8</code>.</li>
</ul>
<h2>15.2.9</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1463">#1463</a> <a href="https://github.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945"><code>b69ce2d</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Set the maximum number of event listeners to the number of tasks. This should silence the console warning <code>MaxListenersExceededWarning: Possible EventEmitter memory leak detected</code>.</li>
</ul>
<h2>15.2.8</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github.com/lint-staged/lint-staged/commit/f0480f01b24b9f6443a12515d413a7ba4dda3981"><code>f0480f0</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - In the previous version the native <code>git rev-parse --show-toplevel</code> command was taken into use for resolving the current git repo root. This version switched the <code>--show-toplevel</code> flag with <code>--show-cdup</code>, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js <code>child_process</code>. The new flag returns a path relative to the working directory, avoiding the issue.</p>
<p>The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2.</p>
</li>
</ul>
<h2>15.2.7</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1440">#1440</a> <a href="https://github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac"><code>a51be80</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - In the previous version the native <code>git rev-parse --show-toplevel</code> command was taken into use for resolving the current git repo root. This version drops the <code>--path-format=absolute</code> option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading <code>git</code> to the latest version.</li>
</ul>
<h2>15.2.6</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1433">#1433</a> <a href="https://github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4"><code>119adb2</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Use native &quot;git rev-parse&quot; commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.</li>
</ul>
<h2>15.2.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1424">#1424</a> <a href="https://github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca"><code>31a1f95</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Allow approximately equivalent versions of direct dependencies by using the &quot;~&quot; character in the version ranges. This means a more recent patch version of a dependency is allowed if available.</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1423">#1423</a> <a href="https://github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918"><code>91abea0</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Improve error logging when failing to read or parse a configuration file</p>
</li>
<li>
<p><a href="https://redirect.github.com/lint-staged/lint-staged/pull/1424">#1424</a> <a href="https://github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453"><code>ee43f15</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Upgrade [email protected]</p>
</li>
</ul>
<h2>15.2.4</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a"><code>4f4537a</code></a> Thanks <a href="https://github.com/iiroj"><code>`@​iiroj</code></a>!` - Fix release issue with previous version; update dependencies</li>
</ul>
<h2>15.2.3</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/lint-staged/lint-staged/commit/163112f0214444021670009c845813416c60a852"><code>163112f</code></a> chore(changeset): release</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/829575ce19c246624e82875f42b3e2d1d41b9846"><code>829575c</code></a> Merge pull request <a href="https://redirect.github.com/lint-staged/lint-staged/issues/1471">#1471</a> from lint-staged/updates</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/893ca8464e21b9d5dfeac8e32b4ef7f0168d45ff"><code>893ca84</code></a> refactor: remove unused parameter default</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/a661f462c622602db997fa63ea4e3c2c210a720b"><code>a661f46</code></a> build(deps): migrate to ESLint 9</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/e3f283b250868b7c15ceb54d2a51b2e5fb3a18a9"><code>e3f283b</code></a> build(deps): update minor dependencies</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/35483b95ae45132860814c3d6621b95638387555"><code>35483b9</code></a> docs: add some more concrete command examples to the README</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/0ce5e1455e28d3376cb13de98b1023af1e60942b"><code>0ce5e14</code></a> chore(changeset): release (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1465">#1465</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945"><code>b69ce2d</code></a> fix: set max event listeners to the number of tasks (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1463">#1463</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/52f6eef9868ccf291b2e81935a25d5b07c10b5a4"><code>52f6eef</code></a> chore(changeset): release (<a href="https://redirect.github.com/lint-staged/lint-staged/issues/1462">#1462</a>)</li>
<li><a href="https://github.com/lint-staged/lint-staged/commit/8d8fe23e157f83d846ed9a06bc7c80cfebe0c706"><code>8d8fe23</code></a> build: update repository url in package.json</li>
<li>Additional commits viewable in <a href="https://github.com/lint-staged/lint-staged/compare/v11.1.2...v15.2.10">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=11.1.2&new-version=15.2.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
meili-bors[bot] and dependabot[bot] authored Sep 17, 2024
2 parents 676e187 + 7afcfb0 commit 31cb3c2
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 270 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"jest-fetch-mock": "^3.0.3",
"jest-watch-typeahead": "^2.2.2",
"kleur": "^4.1.5",
"lint-staged": "11.1.2",
"lint-staged": "15.2.10",
"nodemon": "^2.0.16",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
Expand Down
Loading

0 comments on commit 31cb3c2

Please sign in to comment.