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.2 to 0.8.3

3

CHANGES.md

@@ -6,2 +6,5 @@ dtrace-provider - Changes

* 0.8.3:
Install fails with yarn
* 0.8.2:

@@ -8,0 +11,0 @@ Error installing in 64-bit SmartOS zones with 32-bit node

2

package.json
{
"name": "dtrace-provider",
"version": "0.8.2",
"version": "0.8.3",
"description": "Native DTrace providers for node.js applications",

@@ -5,0 +5,0 @@ "keywords": [

@@ -155,5 +155,16 @@ # dtrace-provider - Native DTrace providers for Node.js apps.

FreeBSD is supported in principle but is restricted to only 4 working
arguments per probe.
When using Mac OS X, be aware that as of 10.11 (El Capitan), DTrace use
is restricted, and you'll probably want to
[disable SIP](http://internals.exposed/blog/dtrace-vs-sip.html) to
effectively use DTrace.
FreeBSD 10 and 11 are also supported, but you'll need to make sure that
you have the DTrace headers installed in `/usr/src` otherwise libusdt
won't be able to compile. You can
[clone them using SVN](https://www.freebsd.org/doc/handbook/svn.html),
or find the correct `src.txz`
[here](http://ftp.freebsd.org/pub/FreeBSD/releases/) and extract that.
Also note that FreeBSD 10 is restricted to only 4 working arguments per
probe.
Platforms not supporting DTrace (notably, Linux and Windows) may

@@ -165,3 +176,3 @@ install this module without building libusdt, with a stub no-op

GNU Make is required to build libusdt; the build scripts will look for
gmake in PATH first, and then for make.
gmake in `PATH` first, and then for make.

@@ -168,0 +179,0 @@ ## CAVEATS

@@ -18,24 +18,2 @@ #!/usr/bin/env node

//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',
'node_modules',
'npm',
'bin',
'node-gyp-bin',
'node-gyp');
if (!fs.existsSync(nodegyp)) {
console.error('cannot locate npm install');
return;
}
var spawn = require('child_process').spawn;

@@ -45,4 +23,5 @@

if (process.env.V)
if (process.env.V) {
stdio = 'inherit';
}

@@ -54,4 +33,14 @@ var options = {

var child = spawn(nodegyp, ['rebuild'], options);
var child = spawn('node-gyp', [ 'rebuild' ], options);
child.on('error', function (err) {
if (err.code === 'ENOENT') {
console.error('cannot locate node-gyp');
} else {
console.error(err);
}
process.exit(0);
});
child.on('close', function(code, signal) {

@@ -58,0 +47,0 @@ if ((code || signal) && process.env.V === undefined) {

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