chore(deps): update dependency rimraf to v6#63
Conversation
|
See the guidelines for reviewing dependency updates for info on how to review dependency update PRs. |
9856219 to
4061409
Compare
4061409 to
0e4cb40
Compare
0e4cb40 to
36e448b
Compare
da1c7b2 to
3a76a5a
Compare
3a76a5a to
92ead29
Compare
e67aa6b to
f8fc264
Compare
f8fc264 to
7b55ba7
Compare
| "nyc": "^17.0.0", | ||
| "phantomjs-prebuilt": "^2.1.3", | ||
| "rimraf": "^2.2.8", | ||
| "rimraf": "^6.0.0", |
There was a problem hiding this comment.
rimraf v6 breaks rimraf.sync() call in tests
High Severity
Upgrading rimraf from ^2.2.8 to ^6.0.0 breaks the existing usage in tests/test-unix.js. The test file does var rimraf = require('rimraf') followed by rimraf.sync(socket). In rimraf v2, require('rimraf') returned a function with a .sync property. In rimraf v5+, the default export was removed — require('rimraf') now returns an object with named exports like { rimraf, rimrafSync, ... }. The .sync property no longer exists on the module object, so rimraf.sync(socket) will throw a TypeError at runtime.
Additional Locations (1)
7b55ba7 to
2a01a87
Compare
2a01a87 to
e03657a
Compare
e03657a to
46ccfc2
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 46ccfc2. Configure here.
| "nyc": "^17.0.0", | ||
| "phantomjs-prebuilt": "^2.1.3", | ||
| "rimraf": "^2.2.8", | ||
| "rimraf": "^6.0.0", |
There was a problem hiding this comment.
rimraf v6 requires Node 20 breaking declared engine
High Severity
Upgrading rimraf from ^2.2.8 to ^6.0.0 introduces a Node.js engine requirement of 20 || >=22, while the project's engines field declares support for node >= 6. Since rimraf is used in tests/test-unix.js, any CI or developer environment running Node.js versions below 20 (e.g., Node 18) will fail to install or run the dependency, breaking the test suite.
Reviewed by Cursor Bugbot for commit 46ccfc2. Configure here.
0e5ab06 to
8beb2f9
Compare
8beb2f9 to
2bea6ed
Compare


This PR contains the following updates:
^2.2.8→^6.0.0Release Notes
isaacs/rimraf (rimraf)
v6.1.3Compare Source
v6.1.2Compare Source
v6.1.1Compare Source
v6.1.0Compare Source
v6.0.1Compare Source
v6.0.0Compare Source
v5.0.10Compare Source
v5.0.9Compare Source
v5.0.8Compare Source
v5.0.7Compare Source
v5.0.6Compare Source
v5.0.5Compare Source
v5.0.4Compare Source
v5.0.3Compare Source
v5.0.2Compare Source
v5.0.1Compare Source
v5.0.0Compare Source
v4.4.1Compare Source
v4.4.0Compare Source
v4.3.1Compare Source
v4.3.0Compare Source
v4.2.0Compare Source
v4.1.4Compare Source
v4.1.3Compare Source
v4.1.2Compare Source
v4.1.1Compare Source
v4.1.0Compare Source
v4.0.7Compare Source
v4.0.6Compare Source
v4.0.5Compare Source
v4.0.4Compare Source
v4.0.3Compare Source
v4.0.2Compare Source
v4.0.1Compare Source
v4.0.0Compare Source
v3.0.2Compare Source
v3.0.1Compare Source
v3.0.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Note
Low Risk
Dev-only dependency and lockfile changes with no production code paths affected; main risk is CI/test breakage from rimraf’s major-version API or Node requirements.
Overview
Bumps the devDependency
rimraffrom ^2.2.8 to ^6.0.0 inpackage.jsonand refreshesyarn.lockso the direct install resolves to rimraf 6.x (with a newer glob / minimatch stack than the old glob@7-based rimraf 2.x).This is dependency-only: no runtime or library source changes.
rimrafis still used the same way in tests (e.g.rimraf.syncintests/test-unix.js); reviewers should confirm test/CI scripts still pass on the repo’s Node version after the major upgrade.Reviewed by Cursor Bugbot for commit 2bea6ed. Bugbot is set up for automated code reviews on this repo. Configure here.