Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "getpw", | ||
"description": "node.js wrapper for POSIX getpwuid() function", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"contributors": [ | ||
@@ -10,3 +10,8 @@ { "name": "Ken Woodruff", "email": "ken.woodruff@gmail.com" } | ||
"main": "build/Release/getpw.node", | ||
"scripts": { | ||
"preinstall": "node-waf configure build", | ||
"prepublish": "node-waf distclean", | ||
"test": "node test.js" | ||
}, | ||
"engines": { "node": ">= 0.4.7" } | ||
} |
@@ -1,3 +0,8 @@ | ||
var getpw = require("./build/Release/getpw"); | ||
var getpw = require("./build/Release/getpw"), assert = require("assert"); | ||
console.log(getpw.getpwuid(process.getuid())); | ||
var pw = getpw.getpwuid(process.getuid()); | ||
["pw_name", "pw_uid"].forEach(function (k) { | ||
assert.ok(k in pw, 'expected key "' + k + '" not found in result'); | ||
}); | ||
console.log("getpwuid: %s", JSON.stringify(getpw.getpwuid(process.getuid()), null, " ")); | ||
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4054
8
6
1