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

unexpected-mitm

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-mitm - npm Package Compare versions

Comparing version 9.5.1 to 10.0.0

@@ -422,5 +422,6 @@ /* global setImmediate, process, after, console */

installInto: function (expect) {
expect.installPlugin(require('unexpected-messy'));
var expectForRendering = expect.child();
var expectForRendering = expect.clone();
expect = expect.child()
.use(require('unexpected-messy'));

@@ -787,3 +788,3 @@ expectForRendering.addType({

expect
.addAssertion('<any> with http recorded [and injected] [with extra info] <assertion>', function (expect, subject) {
.exportAssertion('<any> with http recorded [and injected] [with extra info] <assertion>', function (expect, subject) {
var stack = callsite(),

@@ -811,3 +812,3 @@ injectIntoTest = this.flags['and injected'];

})
.addAssertion('<any> with http mocked out by file [and verified] [with extra info] <string> <assertion>', function (expect, subject, testFile) {
.exportAssertion('<any> with http mocked out by file [and verified] [with extra info] <string> <assertion>', function (expect, subject, testFile) {
expect.errorMode = 'nested';

@@ -862,3 +863,3 @@ var shouldReturnExtraInfo = expect.flags['with extra info'];

})
.addAssertion('<any> with http mocked out [and verified] [with extra info] [allowing modification] <array|object> <assertion>', function (expect, subject, requestDescriptions) { // ...
.exportAssertion('<any> with http mocked out [and verified] [with extra info] [allowing modification] <array|object> <assertion>', function (expect, subject, requestDescriptions) { // ...
expect.errorMode = 'nested';

@@ -865,0 +866,0 @@ var mitm = createMitm();

{
"name": "unexpected-mitm",
"version": "9.5.1",
"version": "10.0.0",
"description": "Unexpected plugin for the mitm library",

@@ -24,4 +24,3 @@ "author": "Andreas Lind <andreas@one.com>",

"peerDependencies": {
"unexpected": "^10.15.0",
"unexpected-messy": "^6.2.0"
"unexpected": "^10.27.0"
},

@@ -41,6 +40,6 @@ "devDependencies": {

"socketerrors-papandreou": "0.2.0-patch2",
"unexpected": "10.15.1",
"unexpected": "10.27.0",
"unexpected-documentation-site-generator": "^4.0.0",
"unexpected-express": "8.2.0",
"unexpected-http": "5.4.0",
"unexpected-express": "9.0.0",
"unexpected-http": "6.0.0",
"unexpected-markdown": "^1.4.0",

@@ -56,3 +55,3 @@ "unexpected-sinon": "10.1.1"

"underscore": "1.7.0",
"unexpected-messy": "^6.6.0"
"unexpected-messy": "^7.0.0"
},

@@ -59,0 +58,0 @@ "nyc": {