dtrace-provider
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "dtrace-provider", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Native DTrace providers for node.js applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,5 +18,12 @@ #!/usr/bin/env node | ||
var nodegyp = path.join(process.execPath, | ||
//npm_execpath: '/usr/local/lib/node_modules/npm/bin/npm-cli.js', | ||
var nodegyp = path.join(process.env.npm_execpath, | ||
'..', | ||
'node-gyp-bin', | ||
'node-gyp'); | ||
if (!fs.existsSync(nodegyp)) | ||
nodegyp = path.join(process.execPath, | ||
'..', | ||
'..', | ||
'lib', | ||
@@ -29,2 +36,7 @@ 'node_modules', | ||
if (!fs.existsSync(nodegyp)) { | ||
console.error('cannot locate npm install'); | ||
return; | ||
} | ||
var spawn = require('child_process').spawn; | ||
@@ -31,0 +43,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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
105449
712
2
7