Comparing version 6.1.0 to 6.1.1
@@ -153,3 +153,2 @@ "use strict"; | ||
unsafeHeadersEnabled: true, | ||
legacyRoutes: true, | ||
}; | ||
@@ -218,4 +217,2 @@ | ||
legacyRoutes: true, | ||
respondWith: function respondWith(method, url, body) { | ||
@@ -260,9 +257,2 @@ if (arguments.length === 1 && typeof method !== "function") { | ||
} | ||
if (this.legacyRoutes) { | ||
if (url.includes("?")) { | ||
// eslint-disable-next-line no-param-reassign | ||
url = url.replace("?", "\\?"); | ||
} | ||
} | ||
} | ||
@@ -269,0 +259,0 @@ push.call(this.responses, { |
{ | ||
"name": "nise", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Fake XHR and server", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
882157
11365