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

mm

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mm - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

5

History.md
0.1.0 / 2012-12-01
==================
* fixed restore not effect on http(s)
0.0.9 / 2012-11-28

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

20

lib/mm.js

@@ -113,10 +113,2 @@ /*!

/**
* remove all mock effects.
*/
exports.restore = function () {
muk.restore();
return this;
};
exports.http = {};

@@ -316,2 +308,12 @@ exports.https = {};

return this;
}
}
/**
* remove all mock effects.
*/
exports.restore = function () {
http.request = http.__sourceRequest;
https.request = https.__sourceRequest;
muk.restore();
return this;
};
{
"name": "mm",
"version": "0.0.9",
"version": "0.1.0",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc