GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comparing v0.2.2...v0.2.3 · raszi/node-tmp

Permalink

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

Uh oh!

There was an error while loading. Please reload this page.

base: v0.2.2
Loading
Loading
...
head repository: raszi/node-tmp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: v0.2.3
Loading
Loading
  • 9 commits
  • 14 files changed
  • 3 contributors

Commits on Feb 29, 2024

  1. Use fs.rm() instead of rimraf

    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 <[email protected]>
    @kevinoid
    kevinoid committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for eafb034
    • Browse repository at this point
    Copy the full SHA
    eafb034 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #296 from kevinoid/drop-rimraf

    Use fs.rm() instead of rimraf
    @raszi
    raszi authored Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 6ed89d5
    • Browse repository at this point
    Copy the full SHA
    6ed89d5 View commit details
    Browse the repository at this point in the history
  3. Update version

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for b8f7d78
    • Browse repository at this point
    Copy the full SHA
    b8f7d78 View commit details
    Browse the repository at this point in the history
  4. Add a small note about the compatibility

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 062efbb
    • Browse repository at this point
    Copy the full SHA
    062efbb View commit details
    Browse the repository at this point in the history
  5. Ignore .env

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 4aba61e
    • Browse repository at this point
    Copy the full SHA
    4aba61e View commit details
    Browse the repository at this point in the history
  6. Update changelog

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 4057ffa
    • Browse repository at this point
    Copy the full SHA
    4057ffa View commit details
    Browse the repository at this point in the history
  7. Add .tool-versions

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 7a82d1f
    • Browse repository at this point
    Copy the full SHA
    7a82d1f View commit details
    Browse the repository at this point in the history
  8. Fix formatting

    @raszi
    raszi committed Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 998eec5
    • Browse repository at this point
    Copy the full SHA
    998eec5 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #297 from raszi/feat/release-v0.2.3

    feat: release v0.2.3
    @raszi
    raszi authored Feb 29, 2024
    Configuration menu
    • View commit details
    • Copy full SHA for 5f0b252
    • Browse repository at this point
    Copy the full SHA
    5f0b252 View commit details
    Browse the repository at this point in the history
Loading

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v0.2.2...v0.2.3

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.