unexpected-mitm
Advanced tools
Comparing version 9.4.0 to 9.5.0
@@ -257,7 +257,2 @@ /* global setImmediate, process, after, console */ | ||
function createMockResponse(responseProperties) { | ||
if (typeof responseProperties === 'object' && responseProperties.body && (typeof responseProperties.body === 'string' || (typeof Buffer !== 'undefined' && Buffer.isBuffer(responseProperties.body)))) { | ||
responseProperties = _.extend({}, responseProperties); | ||
responseProperties.unchunkedBody = responseProperties.body; | ||
delete responseProperties.body; | ||
} | ||
var mockResponse = new messy.HttpResponse(responseProperties); | ||
@@ -264,0 +259,0 @@ mockResponse.statusCode = mockResponse.statusCode || 200; |
{ | ||
"name": "unexpected-mitm", | ||
"version": "9.4.0", | ||
"version": "9.5.0", | ||
"description": "Unexpected plugin for the mitm library", | ||
@@ -50,6 +50,6 @@ "author": "Andreas Lind <andreas@one.com>", | ||
"memoizesync": "0.5.0", | ||
"messy": "^6.12.0", | ||
"messy": "^6.16.0", | ||
"mitm-papandreou": "1.3.2-patch1", | ||
"underscore": "1.7.0", | ||
"unexpected-messy": "^6.2.0" | ||
"unexpected-messy": "^6.6.0" | ||
}, | ||
@@ -56,0 +56,0 @@ "nyc": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59204
1079
Updatedmessy@^6.16.0
Updatedunexpected-messy@^6.6.0