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

nise

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nise - npm Package Compare versions

Comparing version 5.1.9 to 6.0.0

10

lib/fake-server/index.js

@@ -153,2 +153,3 @@ "use strict";

unsafeHeadersEnabled: true,
legacyRoutes: true,
};

@@ -217,2 +218,4 @@

legacyRoutes: true,
respondWith: function respondWith(method, url, body) {

@@ -255,2 +258,9 @@ if (arguments.length === 1 && typeof method !== "function") {

}
if (this.legacyRoutes) {
if (url.includes("?")) {
// eslint-disable-next-line no-param-reassign
url = url.replace("?", "\\?");
}
}
}

@@ -257,0 +267,0 @@

2

package.json
{
"name": "nise",
"version": "5.1.9",
"version": "6.0.0",
"description": "Fake XHR and server",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc