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.0.4 to 5.1.0

3

lib/fake-server/index.js

@@ -74,3 +74,4 @@ "use strict";

url === reqUrl ||
(typeof url.test === "function" && url.test(reqUrl));
(typeof url.test === "function" && url.test(reqUrl)) ||
(typeof url === "function" && url(reqUrl) === true);

@@ -77,0 +78,0 @@ return matchMethod && matchUrl;

@@ -516,4 +516,2 @@ "use strict";

);
var event, progress;
if (typeof this.onreadystatechange === "function") {

@@ -527,3 +525,7 @@ try {

if (this.readyState === FakeXMLHttpRequest.DONE) {
if (this.readyState !== FakeXMLHttpRequest.DONE) {
this.dispatchEvent(readyStateChangeEvent);
} else {
var event, progress;
if (this.timedOut || this.aborted || this.status === 0) {

@@ -558,2 +560,3 @@ progress = { loaded: 0, total: 0 };

);
this.dispatchEvent(readyStateChangeEvent);
this.dispatchEvent(

@@ -563,4 +566,2 @@ new sinonEvent.ProgressEvent("loadend", progress, this)

}
this.dispatchEvent(readyStateChangeEvent);
},

@@ -567,0 +568,0 @@

{
"name": "nise",
"version": "5.0.4",
"version": "5.1.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