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 6.1.0 to 6.1.1

10

lib/fake-server/index.js

@@ -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, {

2

package.json
{
"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

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