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

unexpected-mitm

Package Overview
Dependencies
Maintainers
3
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 7.7.1 to 7.7.2

3

lib/unexpectedMitm.js

@@ -287,2 +287,5 @@ /* global setImmediate, after, console */

base: 'Buffer',
identify: function (obj) {
return Buffer.isBuffer(obj);
},
prefix: function (output) {

@@ -289,0 +292,0 @@ output.code('new Buffer([', 'javascript');

2

package.json
{
"name": "unexpected-mitm",
"version": "7.7.1",
"version": "7.7.2",
"description": "Unexpected plugin for the mitm library",

@@ -5,0 +5,0 @@ "author": "Andreas Lind <andreas@one.com>",

@@ -241,3 +241,3 @@ /*global describe, it, __dirname, beforeEach, afterEach, setTimeout, setImmediate*/

'when rejected',
'to have message', function (message) {
'to have message',
"expected 'http://www.google.com/' with http mocked out { request: 'GET https://www.google.com/', response: 200 } to yield response 200\n" +

@@ -252,3 +252,2 @@ '\n' +

'HTTP/1.1 200 OK'
}
);

@@ -273,3 +272,3 @@ });

'when rejected',
'to have message', function (message) {
'to have message',
"expected 'http://www.google.com/' with http mocked out { request: { url: 'GET /', encrypted: true }, response: 200 } to yield response 200\n" +

@@ -284,3 +283,2 @@ '\n' +

'HTTP/1.1 200 OK'
}
);

@@ -658,3 +656,3 @@ });

'// <no response>'
)
);
}

@@ -661,0 +659,0 @@ );

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