Socket
Socket
Sign inDemoInstall

mm

Package Overview
Dependencies
9
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

README.md

5

History.md
1.5.1 / 2016-07-21
==================
* fix: keep status code (#28)
1.5.0 / 2016-06-13

@@ -3,0 +8,0 @@ ==================

14

lib/mm.js

@@ -306,6 +306,6 @@ /**!

}
res.statusCode = headers.statusCode || 200;
delete headers.statusCode;
res.headers = omit(headers, 'statusCode');
res.headers = headers;
var ondata = function () {

@@ -448,1 +448,11 @@ var chunk = datas.shift();

};
function omit(obj, key) {
const newObj = {};
for (var k in obj) {
if (k !== key) {
newObj[k] = obj[k];
}
}
return newObj;
}

2

package.json
{
"name": "mm",
"version": "1.5.0",
"version": "1.5.1",
"description": "mock mate, mock http request, fs access and so on.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc