Skip to content
Snippets Groups Projects

bump tmp@0.2.3 - fixes #464

Merged dakkar requested to merge fix/464-bump-tmp into develop

What does this PR do?

Fixes an exception that prevents Twitter imports from running. tmp 0.2.2 with rimraf 5 fails to cleanup directories with Uncaught TypeError: removeFunction is not a function

Before:

Welcome to Node.js v20.11.0.
Type ".help" for more information.
> const tmp = await import('tmp');
undefined
> tmp.dir({unsafeCleanup: true},(e,path,cleanup) => { cleanup() });
undefined
> Uncaught TypeError: removeFunction is not a function
    at _cleanupCallback (/home/dakkar/src/Sharkey/node_modules/.pnpm/tmp@0.2.2/node_modules/tmp/lib/tmp.js:358:16)
    at REPL6:1:53
    at _dirCreated (/home/dakkar/src/Sharkey/node_modules/.pnpm/tmp@0.2.2/node_modules/tmp/lib/tmp.js:207:7)

after:

Welcome to Node.js v20.11.0.
Type ".help" for more information.
> const tmp = await import('tmp');
undefined
> tmp.dir({unsafeCleanup: true},(e,path,cleanup) => { cleanup() });
undefined

Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines
  • I have made sure to test this pull request

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading