Comparing version 0.1.2 to 0.1.3
@@ -5,2 +5,3 @@ var isWindows = process.platform === 'win32' | ||
var osTmpdir = require('os-tmpdir') | ||
var osHomedir = require('os-homedir') | ||
@@ -54,5 +55,3 @@ // looking up envs is a bit costly. | ||
memo('home', function () { | ||
return ( isWindows ? process.env.USERPROFILE | ||
: process.env.HOME | ||
) | ||
return osHomedir() | ||
}) | ||
@@ -59,0 +58,0 @@ |
{ | ||
"name": "osenv", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "osenv.js", | ||
@@ -9,2 +9,3 @@ "directories": { | ||
"dependencies": { | ||
"os-homedir": "^1.0.0", | ||
"os-tmpdir": "^1.0.0" | ||
@@ -11,0 +12,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
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
10619
9
68
1
2
187
+ Addedos-homedir@^1.0.0
+ Addedos-homedir@1.0.2(transitive)