Comparing version 0.1.1 to 0.1.2
var isWindows = process.platform === 'win32' | ||
var path = require('path') | ||
var exec = require('child_process').exec | ||
var os = require('os') | ||
var osTmpdir = require('os-tmpdir') | ||
@@ -49,3 +49,3 @@ // looking up envs is a bit costly. | ||
memo('tmpdir', function () { | ||
return os.tmpDir() | ||
return osTmpdir() | ||
}) | ||
@@ -52,0 +52,0 @@ |
{ | ||
"name": "osenv", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "osenv.js", | ||
@@ -8,5 +8,7 @@ "directories": { | ||
}, | ||
"dependencies": {}, | ||
"dependencies": { | ||
"os-tmpdir": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"tap": "~0.4.9" | ||
"tap": "^1.2.0" | ||
}, | ||
@@ -13,0 +15,0 @@ "scripts": { |
@@ -6,5 +6,4 @@ // only run this test on windows | ||
if (process.platform !== 'win32') { | ||
console.log('TAP Version 13\n' + | ||
'1..0\n' + | ||
'# Skip windows tests, this is not windows\n') | ||
console.log('TAP version 13\n' + | ||
'1..0 # Skip windows tests, this is not windows\n') | ||
return | ||
@@ -11,0 +10,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9665
8
1
188
+ Addedos-tmpdir@^1.0.0
+ Addedos-tmpdir@1.0.2(transitive)