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

heapware

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heapware - npm Package Compare versions

Comparing version 1.0.3 to 1.0.5

2

cli.js

@@ -42,3 +42,2 @@ #!/usr/bin/env node

/*
json.update('./config.json',{"defaultpath": at.filepath })

@@ -48,3 +47,2 @@ .then(function(dat) {

});
*/

@@ -51,0 +49,0 @@

2

config.json
{
"defaultpath": "/Users/ssjain"
"defaultpath": "/Users/ssjain/WebstormProjects/untitled1"
}

@@ -8,3 +8,5 @@ #!/usr/bin/env node

var jsonfile = require('jsonfile');
var storedir = require('./config.json');
fs.watchFile(filePath, function(event, filename) {

@@ -24,3 +26,3 @@ if(filename){

nodereport.setFileName("myreport" +Date.now() +"taken ");
nodereport.setDirectory('./');
nodereport.setDirectory(storedir);
nodereport.triggerReport();

@@ -45,3 +47,3 @@ console.log('take report');

console.log('Took heapdump');
heapdump.writeSnapshot('/Users/ssjain/WebstormProjects/untitled1/foo' + Date.now() + '.heapsnapshot');
heapdump.writeSnapshot(storedir+'foo' + Date.now() + '.heapsnapshot');
}

@@ -48,0 +50,0 @@ ///Users/ssjain/WebstormProjects/untitled1

{
"name": "heapware",
"version": "1.0.3",
"description": "trigger and export heap dumps",
"version": "1.0.5",
"description": "trigger and export heap dumps , path for config file",
"main": "my-middleware.js",

@@ -6,0 +6,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

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