Comparing version 1.4.2 to 1.4.3
{ | ||
"name": "a-toolbox", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "javascript lightweight basic tools, isomorphic", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,4 @@ /** | ||
isRoot: function () { | ||
return process.env.USER === 'root' | ||
return process.env.USER === 'root' || | ||
(process.getuid && process.getuid() === 0) | ||
} | ||
@@ -15,0 +16,0 @@ } |
@@ -12,3 +12,4 @@ /** | ||
isRoot: function () { | ||
return process.env.USER === 'root' | ||
return process.env.USER === 'root' || | ||
(process.getuid && process.getuid() === 0) | ||
} | ||
@@ -15,0 +16,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
307228
4193