Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dtrace-provider

Package Overview
Dependencies
Maintainers
4
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtrace-provider - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

4

CHANGES.md

@@ -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

19

dtrace-provider.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc