Comparing version 0.0.18 to 0.0.20
@@ -256,7 +256,12 @@ /*! | ||
process.addListener('uncaughtException', function _uncaughtExceptionThrown() { | ||
process.addListener('uncaughtException', function _uncaughtExceptionThrown( err ) { | ||
_uncaughtException = true; | ||
_garbageCollector(); | ||
throw err; | ||
}); | ||
process.addListener('exit', _garbageCollector); | ||
process.addListener('exit', function _exit() { | ||
_garbageCollector(); | ||
}); | ||
@@ -263,0 +268,0 @@ // exporting all the needed methods |
{ | ||
"name": "tmp", | ||
"version": "0.0.18", | ||
"version": "0.0.20", | ||
"description": "Temporary file and directory creator", | ||
@@ -5,0 +5,0 @@ "author": "KARASZI István <github@spam.raszi.hu> (http://raszi.hu/)", |
@@ -17,3 +17,4 @@ var | ||
filename, | ||
command = [ 'node', path.join(__dirname, testFile) ].concat(params).join(' '); | ||
node_path = process.argv[0], | ||
command = [ node_path, path.join(__dirname, testFile) ].concat(params).join(' '); | ||
@@ -20,0 +21,0 @@ exec(command, function _execDone(err, stdout, stderr) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26940
15
691