Socket
Socket
Sign inDemoInstall

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

6

History.md
0.0.7 / 2012-11-26
==================
* try to find callback in arguments
* fixed CERT_HAS_EXPIRED with `rejectUnauthorized = false`
0.0.6 / 2012-11-21

@@ -3,0 +9,0 @@ ==================

13

lib/mm.js

@@ -40,3 +40,14 @@ /*!

muk(mod, method, function () {
var callback = arguments[arguments.length - 1];
var index = arguments.length - 1;
var callback = arguments[index];
while (typeof callback !== 'function') {
index--;
if (index < 0) {
break;
}
callback = arguments[index];
}
if (!callback) {
throw new TypeError('Can\'t find callback function');
}
setTimeout(function () {

@@ -43,0 +54,0 @@ callback(error);

2

package.json
{
"name": "mm",
"version": "0.0.6",
"version": "0.0.7",
"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