unexpected-mitm
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -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", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
111160
1042
3