Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tmp

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmp - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

20

lib/tmp.js

@@ -33,3 +33,3 @@ /*!

_removeObjects = [],
_gracefulCleanup = false,

@@ -258,11 +258,17 @@ _uncaughtException = false;

process.addListener('uncaughtException', function _uncaughtExceptionThrown( err ) {
_uncaughtException = true;
_garbageCollector();
var version = process.versions.node.split('.').map(function (value) {
return parseInt(value, 10);
});
if (process.versions.node.indexOf('0.8') == 0)
if (version[0] === 0 && (version[1] < 9 || version[1] === 9 && version[2] < 5)) {
process.addListener('uncaughtException', function _uncaughtExceptionThrown( err ) {
_uncaughtException = true;
_garbageCollector();
throw err;
});
});
}
process.addListener('exit', function _exit() {
process.addListener('exit', function _exit(code) {
if (code) _uncaughtException = true;
_garbageCollector();

@@ -269,0 +275,0 @@ });

{
"name": "tmp",
"version": "0.0.22",
"version": "0.0.23",
"description": "Temporary file and directory creator",

@@ -5,0 +5,0 @@ "author": "KARASZI István <github@spam.raszi.hu> (http://raszi.hu/)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc