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

xhr

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xhr - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

5

index.js

@@ -85,3 +85,3 @@ /*global window*/

if (self.status === 0 ||
(self.status > 400 && self.status < 600)
(self.status >= 400 && self.status < 600)
) {

@@ -94,3 +94,4 @@ var message = self.responseText ||

return callback.call(self, error)
return callback.call(self, error, self.response ||
self.responseText || self.responseXML)
}

@@ -97,0 +98,0 @@

2

package.json
{
"name": "xhr",
"version": "0.3.7",
"version": "0.3.8",
"description": "small xhr abstraction",

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

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