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

unexpected-mitm

Package Overview
Dependencies
Maintainers
2
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-mitm - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

4

lib/unexpectedMitm.js

@@ -279,3 +279,3 @@ /* global setImmediate, after */

}
var searchRegExp = /([ ]*)(.*)(['"])with http recorded\3,/g;
var searchRegExp = /([ ]*)(.*)(['"])with http recorded and injected\3,/g;
searchRegExp.lastIndex = pos;

@@ -294,2 +294,4 @@ // NB: Return value of replace not used:

});
} else {
console.warn('unexpected-mitm: Could not find the right place to inject the recorded exchanges into ' + sourceFileName + ' (around position ' + pos + '): ' + stringify(recordedExchanges, indentationWidth));
}

@@ -296,0 +298,0 @@ }

{
"name": "unexpected-mitm",
"version": "2.3.2",
"version": "2.3.3",
"description": "Unexpected plugin for the mitm library",

@@ -5,0 +5,0 @@ "main": "lib/unexpectedMitm.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