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.2.7 to 1.2.8

13

my-middleware.js

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

}
else if(req.parsedUrl.pathname == '/getlist'){
else if(req.parsedUrl.pathname === '/getlist'){
console.log('Reading list');

@@ -84,4 +84,8 @@ fs.readdir(config.dir, function (err, filenames) {

});
var ejsStr = fs.readFileSync(__dirname +'/main.ejs', 'utf8');
res.end(ejs.render(ejsStr, {title:"Express",heapdumpList:heapdump,reportList:report}));
res.writeHead(200, {
'Content-Type' : 'text/html'
});
console.log(__dirname);
var ejsStr = fs.readFileSync(__dirname+'/main.ejs','utf8');
res.end(ejs.render(ejsStr,{title:"HEAPDUMP and NODE REPORT FOR NODEJS APPLICATIONS",heapdumpList:heapdump,reportList:report}));
});

@@ -91,6 +95,5 @@

else {
next()
next();
}
}
}
{
"name": "heapware",
"version": "1.2.7",
"version": "1.2.8",
"description": "trigger and export heap-dumps and nodereport ",

@@ -5,0 +5,0 @@ "main": "my-middleware.js",

Sorry, the diff of this file is not supported yet

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