Socket
Socket
Sign inDemoInstall

@contrast/heapdump

Package Overview
Dependencies
13
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.19 to 1.0.0

darwin-10/addon.node

10

index.js

@@ -15,2 +15,10 @@ // Copyright (c) 2014, Ben Noordhuis <info@bnoordhuis.nl>

module.exports = require(`${__dirname}/${process.platform}.node`);
// when distributed, the root directory will include all of the built modules.
// ie darwin-12.node, win32-12.node, linux-14.node.
const version = process.version.split('.')[0].substring(1);
try {
module.exports = require(`${__dirname}/${process.platform}-${version}/addon.node`);
} catch(e) {
if (e.code !== 'MODULE_NOT_FOUND') throw e;
module.exports = require('./build/Release/addon.node');
}

22

package.json
{
"name": "@contrast/heapdump",
"version": "0.3.19",
"version": "1.0.0",
"description": "Make a dump of the V8 heap for later inspection.",
"homepage": "https://github.com/contrast-security-oss/node-heapdump",
"author": {

@@ -10,11 +11,22 @@ "name": "Ben Noordhuis",

},
"repository": {
"type": "git",
"url": "git://github.com/contrast-security-oss/node-heapdump.git"
},
"engines": {
"node": ">=0.10.0"
},
"homepage": "https://github.com/contrast-security-oss/node-heapdump",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/contrast-security-oss/node-heapdump.git"
"scripts": {
"release": "node scripts/make-release.js",
"test": "tap test/test-*"
},
"dependencies": {
"nan": "^2.13.2"
},
"devDependencies": {
"shelljs": "~0.3.0",
"tap": "~0.4.12",
"yargs-interactive": "^3.0.0"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc