Skip to content

Commit

Permalink
build(deps): Bump rimraf and @types/rimraf (#6541)
Browse files Browse the repository at this point in the history
Bumps [rimraf](https://github.com/isaacs/rimraf) and
[@types/rimraf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rimraf).
These dependencies needed to be updated together.
Updates `rimraf` from 3.0.2 to 4.1.2
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md">rimraf's
changelog</a>.</em></p>
<blockquote>
<h1>v4.1</h1>
<ul>
<li>Improved hybrid module with no need to look at the
<code>.default</code>
dangly bit. <code>.default</code> preserved as a reference to
<code>rimraf</code>
for compatibility with anyone who came to rely on it in v4.0.</li>
<li>Accept and ignore <code>-rf</code> and <code>-fr</code> arguments to
the bin.</li>
</ul>
<h1>v4.0</h1>
<ul>
<li>Remove <code>glob</code> dependency entirely. This library now only
accepts actual file and folder names to delete.</li>
<li>Accept array of paths or single path.</li>
<li>Windows performance and reliability improved.</li>
<li>All strategies separated into explicitly exported methods.</li>
<li>Drop support for Node.js below version 14</li>
<li>rewrite in TypeScript</li>
<li>ship CJS/ESM hybrid module</li>
<li>Error on unknown arguments to the bin. (Previously they were
silently ignored.)</li>
</ul>
<h1>v3.0</h1>
<ul>
<li>Add <code>--preserve-root</code> option to executable (default
true)</li>
<li>Drop support for Node.js below version 6</li>
</ul>
<h1>v2.7</h1>
<ul>
<li>Make <code>glob</code> an optional dependency</li>
</ul>
<h1>2.6</h1>
<ul>
<li>Retry on EBUSY on non-windows platforms as well</li>
<li>Make <code>rimraf.sync</code> 10000% more reliable on Windows</li>
</ul>
<h1>2.5</h1>
<ul>
<li>Handle Windows EPERM when lstat-ing read-only dirs</li>
<li>Add glob option to pass options to glob</li>
</ul>
<h1>2.4</h1>
<ul>
<li>Add EPERM to delay/retry loop</li>
<li>Add <code>disableGlob</code> option</li>
</ul>
<h1>2.3</h1>
<ul>
<li>Make maxBusyTries and emfileWait configurable</li>
<li>Handle weird SunOS unlink-dir issue</li>
<li>Glob the CLI arg for better Windows support</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/isaacs/rimraf/commit/df3d08568c74ad3ec7ce953752a916511f7ff6cf"><code>df3d085</code></a>
4.1.2</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/385f86f967f3e0dd84b2533eceb28f9d8de53384"><code>385f86f</code></a>
typecheck the preserveRoot option properly</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/dc2fd42a44532a5cca30e6394d4304129b5a2bf6"><code>dc2fd42</code></a>
ignore unnecessary -rf or -fr</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/89b38cf5a40bb47f0288c1dc9c19944e23e856a7"><code>89b38cf</code></a>
test that optArg throws on bad arguments</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/1b95def53c00fcbb3e2db05cf1c3ce34d1ee2e51"><code>1b95def</code></a>
4.1.1</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/ad72d7382004e0c4ccdf3f4f765a54243414718b"><code>ad72d73</code></a>
fix: bundling library using webpack</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/dac1929c23a21a84336882a1c4b2d899358ef9bf"><code>dac1929</code></a>
4.1.0</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/842c6ae876a42e51b01d578fdb2c051462a74513"><code>842c6ae</code></a>
Improved hybrid module, no .default needed</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/b563d8b0761525196dc2230e4e27df94cee8322d"><code>b563d8b</code></a>
4.0.7</li>
<li><a
href="https://github.com/isaacs/rimraf/commit/a08200dabe146feb3d386cc7d7191e62d0631d96"><code>a08200d</code></a>
List types separately in each dist type</li>
<li>Additional commits viewable in <a
href="https://github.com/isaacs/rimraf/compare/v3.0.2...v4.1.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `@types/rimraf` from 3.0.2 to 4.0.5
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rimraf">compare
view</a></li>
</ul>
</details>
<br />


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 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 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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: JC Franco <jfranco@esri.com>
  • Loading branch information
dependabot[bot] and jcfranco authored Mar 10, 2023
1 parent 048b26f commit 4b9df3a
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 41 deletions.
175 changes: 138 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"@types/jest": "27.0.3",
"@types/jest-axe": "3.5.5",
"@types/lodash-es": "4.17.6",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.13",
"@types/shell-quote": "1.7.1",
"@types/sortablejs": "1.15.0",
Expand Down Expand Up @@ -139,7 +138,7 @@
"prettier": "2.8.1",
"puppeteer": "10.0.0",
"quicktype-core": "23.0.12",
"rimraf": "3.0.2",
"rimraf": "4.1.2",
"semver": "7.3.8",
"shell-quote": "1.7.4",
"standard-version": "9.5.0",
Expand Down
2 changes: 1 addition & 1 deletion support/cleanOnProcessExit.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import rimraf from "rimraf";
import yargs from "yargs";

(async function () {
const { default: rimraf } = await import("rimraf");
const { resolve } = await import("path");

// 👇 based on https://stackoverflow.com/a/14032965
Expand Down
3 changes: 2 additions & 1 deletion support/releaseToGitHub.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import rimraf from "rimraf";

(async function () {
const childProcess = await import("child_process");
const { promisify } = await import("util");
const { default: githubRelease } = await import("gh-release");
const { default: rimraf } = await import("rimraf");
const exec = promisify(childProcess.exec);

const packageFileName = (await exec("npm pack", { encoding: "utf-8" })).stdout.trim();
Expand Down

0 comments on commit 4b9df3a

Please sign in to comment.