dependabot[bot] opened a new pull request, #14020: URL: https://github.com/apache/apisix/pull/14020
Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.27.0 to 4.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/steveukx/git-js/releases">simple-git's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li>365f52d: Prepare package.json before publishing.</li> </ul> <h2>[email protected]</h2> <h3>Major Changes</h3> <ul> <li> <p>98864c6: Major upgrade to v4. In this version:</p> <ul> <li>Removed previously available default export, now uses a consistently named <code>simpleGit</code> export.</li> <li>Removed previously deprecated import <code>simple-git/promise</code> (change to using the main <code>simple-git</code> import).</li> <li>Removed legacy <code>gitP</code> export (change to using the main <code>simpleGit</code> export).</li> </ul> <pre lang="typescript"><code>// v3 - previously supported imports import simpleGit from "simple-git"; import { gitP } from "simple-git"; import simpleGit from "simple-git/promise"; const simpleGit = require("simple-git"); <p>// v4 - consolidates to a single supported import<br /> import { simpleGit } from "simple-git";<br /> const { simpleGit } = require("simple-git");<br /> </code></pre></p> <ul> <li>Prevents the use of abbreviated long-form <code>git</code> options:</li> </ul> <pre lang="typescript"><code>// v3 - allowed the use of unambiguous long-form options git.raw("clone", "--conf=user.name=me", "..."); <p>// v4 - requires full option names, abbreviated option names will now throw a GitConfigurationError<br /> git.raw("fetch", "--config=user.name=me", "...");<br /> </code></pre></p> <ul> <li>Ambient environment variables are filtered before passing into the <code>git</code> child process.</li> </ul> <pre lang="typescript"><code>// v3 process.env.FOO = "bar"; process.env.GIT_TEMPLATE_DIR = "./some/path"; simpleGit().raw("clone"); // git child process can see both environment variables <p>// v4<br /> process.env.FOO = "bar";<br /> process.env.GIT_TEMPLATE_DIR = "./some/path";<br /> simpleGit().raw("clone"); // git child process now sees only FOO</p> <p>simpleGit({<br /> </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md">simple-git's changelog</a>.</em></p> <blockquote> <h2>4.0.1</h2> <h3>Patch Changes</h3> <ul> <li>365f52d: Prepare package.json before publishing.</li> </ul> <h2>4.0.0</h2> <h3>Major Changes</h3> <ul> <li> <p>98864c6: Major upgrade to v4. In this version:</p> <ul> <li>Removed previously available default export, now uses a consistently named <code>simpleGit</code> export.</li> <li>Removed previously deprecated import <code>simple-git/promise</code> (change to using the main <code>simple-git</code> import).</li> <li>Removed legacy <code>gitP</code> export (change to using the main <code>simpleGit</code> export).</li> </ul> <pre lang="typescript"><code>// v3 - previously supported imports import simpleGit from "simple-git"; import { gitP } from "simple-git"; import simpleGit from "simple-git/promise"; const simpleGit = require("simple-git"); <p>// v4 - consolidates to a single supported import<br /> import { simpleGit } from "simple-git";<br /> const { simpleGit } = require("simple-git");<br /> </code></pre></p> <ul> <li>Prevents the use of abbreviated long-form <code>git</code> options:</li> </ul> <pre lang="typescript"><code>// v3 - allowed the use of unambiguous long-form options git.raw("clone", "--conf=user.name=me", "..."); <p>// v4 - requires full option names, abbreviated option names will now throw a GitConfigurationError<br /> git.raw("fetch", "--config=user.name=me", "...");<br /> </code></pre></p> <p>Thanks to <a href="https://github.com/anir0y"><code>@anir0y</code></a>, <a href="https://github.com/CFionaBF"><code>@CFionaBF</code></a>, <a href="https://github.com/Leeziao"><code>@Leeziao</code></a>, <a href="https://github.com/internetteletubbie"><code>@internetteletubbie</code></a>, <a href="https://github.com/idisdi"><code>@idisdi</code></a>, <a href="https://github.com/the-vibe-dev"><code>@the-vibe-dev</code></a>, <a href="https://github.com/D7EAD"><code>@D7EAD</code></a>, <a href="https://github.com/dellalibera"><code>@dellalibera</code></a>, <a href="https://github.com/gdegrange"><code>@gdegrange</code></a>, <a href="https://github.com/bilguunbicktivism"><code>@bilguunbicktivism</code></a>, <a href="https://github.com/cruzryan"><code>@cruzryan</code></a>, <a href="https://github.com/b1ue0ceanRun"><code>@b1ue0ceanRun</code></a>, <a href="https://github.com/oss-security-shopify"><code>@oss-security-shopify</code></a> for identifying the vulnerability.</p> <ul> <li>Ambient environment variables are filtered before passing into the <code>git</code> child process.</li> </ul> <pre lang="typescript"><code>// v3 process.env.FOO = "bar"; process.env.GIT_TEMPLATE_DIR = "./some/path"; simpleGit().raw("clone"); // git child process can see both environment variables <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/steveukx/git-js/commit/f26086d0cd649adda54a44f6e20e3e81318c5029"><code>f26086d</code></a> Version Packages</li> <li><a href="https://github.com/steveukx/git-js/commit/365f52d4c8deaf55ac88769ca89ce160e7bb1405"><code>365f52d</code></a> Prepare the main <code>simple-git</code> <code>package.json</code> immediately before publishing.</li> <li><a href="https://github.com/steveukx/git-js/commit/3971917d3c3d65d9935383ed88970a3578cb462d"><code>3971917</code></a> Version Packages</li> <li><a href="https://github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3"><code>d762810</code></a> Fix/vulnerability rebase exec (<a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1198">#1198</a>)</li> <li><a href="https://github.com/steveukx/git-js/commit/76f308ed445013d8dd973bc515e7815b59426e3e"><code>76f308e</code></a> Pr/1180 (<a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1195">#1195</a>)</li> <li><a href="https://github.com/steveukx/git-js/commit/dfeb11648190b2d82a98c91768ec6e3a65bb401c"><code>dfeb116</code></a> Fix/exec path vulnerability (<a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1197">#1197</a>)</li> <li><a href="https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7"><code>98864c6</code></a> V4 (<a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1193">#1193</a>)</li> <li><a href="https://github.com/steveukx/git-js/commit/7dc1a532a9ec92fb08c93202954be73175b07d83"><code>7dc1a53</code></a> Version Packages</li> <li><a href="https://github.com/steveukx/git-js/commit/76f5376bd418cb8baf5ec32757af442d47128e22"><code>76f5376</code></a> Merge pull request <a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1061">#1061</a> from Vinzent03/fix/buffer-import</li> <li><a href="https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8"><code>89a2294</code></a> Environment Parsing (<a href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/1156">#1156</a>)</li> <li>Additional commits viewable in <a href="https://github.com/steveukx/git-js/commits/[email protected]/simple-git">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for simple-git since your current version.</p> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/apisix/network/alerts). </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]
