dtrace-provider
Advanced tools
Comparing version 0.8.3 to 0.8.4
@@ -6,2 +6,6 @@ dtrace-provider - Changes | ||
* 0.8.4: | ||
Only log error once when DTraceProviderBindings can't be found | ||
Install fails on Debian due to differently named node binary | ||
* 0.8.3: | ||
@@ -8,0 +12,0 @@ Install fails with yarn |
@@ -14,2 +14,3 @@ var DTraceProvider; | ||
var builds = ['Release', 'default', 'Debug']; | ||
var err = null; | ||
@@ -22,8 +23,4 @@ for (var i in builds) { | ||
} catch (e) { | ||
// if the platform looks like it _should_ have DTrace | ||
// available, log a failure to load the bindings. | ||
if (process.platform == 'darwin' || | ||
process.platform == 'sunos' || | ||
process.platform == 'freebsd') { | ||
console.error(e); | ||
if (err === null) { | ||
err = e; | ||
} | ||
@@ -34,2 +31,12 @@ } | ||
if (!DTraceProvider) { | ||
/* | ||
* If the platform looks like it _should_ have DTrace | ||
* available, log a failure to load the bindings. | ||
*/ | ||
if (process.platform === 'darwin' || | ||
process.platform === 'sunos' || | ||
process.platform === 'freebsd') { | ||
console.error(err); | ||
} | ||
DTraceProvider = DTraceProviderStub; | ||
@@ -36,0 +43,0 @@ } |
{ | ||
"name": "dtrace-provider", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Native DTrace providers for node.js applications", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"scripts": { | ||
"install": "node scripts/install.js", | ||
"install": "$npm_node_execpath scripts/install.js", | ||
"test": "tap test/*test.js" | ||
@@ -32,0 +32,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
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
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
112424
795