Comparing version 4.0.2 to 4.0.3
@@ -5,3 +5,3 @@ "use strict"; | ||
var push = [].push; | ||
var format = require("./format"); | ||
var log = require("./log"); | ||
var configureLogError = require("../configure-logger"); | ||
@@ -208,13 +208,4 @@ var pathToRegexp = require("path-to-regexp"); | ||
log: function log(response, request) { | ||
var str; | ||
log: log, | ||
str = "Request:\n" + format(request) + "\n\n"; | ||
str += "Response:\n" + format(response) + "\n\n"; | ||
if (typeof this.logger === "function") { | ||
this.logger(str); | ||
} | ||
}, | ||
respondWith: function respondWith(method, url, body) { | ||
@@ -221,0 +212,0 @@ if (arguments.length === 1 && typeof method !== "function") { |
{ | ||
"name": "nise", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Fake XHR and server", | ||
@@ -69,3 +69,2 @@ "keywords": [ | ||
"@sinonjs/fake-timers": "^6.0.0", | ||
"@sinonjs/formatio": "^5.0.1", | ||
"@sinonjs/text-encoding": "^0.7.1", | ||
@@ -72,0 +71,0 @@ "just-extend": "^4.0.2", |
Sorry, the diff of this file is too big to display
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
5
1
840580
10333
3
- Removed@sinonjs/formatio@^5.0.1
- Removed@sinonjs/formatio@5.0.1(transitive)
- Removed@sinonjs/samsam@5.3.1(transitive)
- Removedlodash.get@4.4.2(transitive)