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.6 to 1.2.7

main.ejs

6

my-middleware.js

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

var url = require('url');
var ejs = require('ejs');

@@ -60,3 +61,3 @@ fs.watchFile(configfilePath, function(event, filename) {

console.log('In download');
res.download(config.url+req.query.file.replace(/['"]+/g, ''));
res.download(config.dir+req.query.file.replace(/['"]+/g, ''));
}

@@ -84,3 +85,4 @@ else if(req.parsedUrl.pathname == '/getlist'){

});
res.render('index',{title:"Express from heapware",heapdumpList:heapdump,reportList:report})
var ejsStr = fs.readFileSync(__dirname +'/main.ejs', 'utf8');
res.end(ejs.render(ejsStr, {title:"Express",heapdumpList:heapdump,reportList:report}));
});

@@ -87,0 +89,0 @@

{
"name": "heapware",
"version": "1.2.6",
"version": "1.2.7",
"description": "trigger and export heap-dumps and nodereport ",

@@ -10,2 +10,3 @@ "main": "my-middleware.js",

"dependencies": {
"ejs": "^2.5.6",
"json-update": "^3.0.0",

@@ -12,0 +13,0 @@ "jsonfile": "^3.0.1",

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