-
Notifications
You must be signed in to change notification settings - Fork 95
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: raszi/node-tmp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: raszi/node-tmp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 9 commits
- 14 files changed
- 3 contributors
Commits on Feb 29, 2024
-
A regression occurred in 0.2.2 which can be reproduced using: ```js const assert = require('assert'); const tmp = require('tmp'); tmp.dir({ unsafeCleanup: true }, (err, path, cleanup) => { assert.ifError(err); cleanup(assert.ifError); }); ``` This works with 0.2.1. With 0.2.2 it fails with: /path/to/tmp/node-tmp/lib/tmp.js:358 return removeFunction(fileOrDirName, next || function() {}); ^ TypeError: removeFunction is not a function at _cleanupCallback (/path/to/tmp/node-tmp/lib/tmp.js:358:16) at /path/to/tmp/node-tmp/repro.js:5:3 at _dirCreated (/path/to/tmp/node-tmp/lib/tmp.js:207:7) at FSReqCallback.oncomplete (node:fs:192:23) This occurs because 00bb5b2 upgraded the rimraf dependency from ^3.0.0 to ^5.0.5 without handling the change to a `Promise`-based API in 4.0.0 (isaacs/rimraf@a71e7f9) or the removal of the default export in 5.0.0 (isaacs/rimraf@c7a3fd4). This commit fixes the issue by dropping the `rimraf` dependency in favor of `fs.rm({recursive: true})`. It also updates the nodejs engine version to 14.14, when `fs.rm()` was added. Fixes: 00bb5b2 ("Update rimraf and drop old Node compatibility") Fixes: #295 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Configuration menu - View commit details
-
Copy full SHA for eafb034 - Browse repository at this point
Copy the full SHA eafb034View commit details -
Merge pull request #296 from kevinoid/drop-rimraf
Use fs.rm() instead of rimraf
Configuration menu - View commit details
-
Copy full SHA for 6ed89d5 - Browse repository at this point
Copy the full SHA 6ed89d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f7d78 - Browse repository at this point
Copy the full SHA b8f7d78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 062efbb - Browse repository at this point
Copy the full SHA 062efbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aba61e - Browse repository at this point
Copy the full SHA 4aba61eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4057ffa - Browse repository at this point
Copy the full SHA 4057ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a82d1f - Browse repository at this point
Copy the full SHA 7a82d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 998eec5 - Browse repository at this point
Copy the full SHA 998eec5View commit details -
Merge pull request #297 from raszi/feat/release-v0.2.3
feat: release v0.2.3
Configuration menu - View commit details
-
Copy full SHA for 5f0b252 - Browse repository at this point
Copy the full SHA 5f0b252View commit details
There are no files selected for viewing