Socket
Socket
Sign inDemoInstall

xmlhttprequest-ssl

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmlhttprequest-ssl - npm Package Compare versions

Comparing version 1.6.3 to 2.0.0

10

lib/XMLHttpRequest.js

@@ -327,3 +327,3 @@ /**

if (error) {
self.handleError(error);
self.handleError(error, error.errno || -1);
} else {

@@ -341,3 +341,3 @@ self.status = 200;

} catch(e) {
this.handleError(e);
this.handleError(e, e.errno || -1);
}

@@ -498,2 +498,8 @@ }

if (opts.autoUnref) {
request.on('socket', (socket) => {
socket.unref();
});
}
// Node 0.4 and later won't accept empty data. Make sure it's needed.

@@ -500,0 +506,0 @@ if (data) {

2

package.json
{
"name": "xmlhttprequest-ssl",
"description": "XMLHttpRequest for Node",
"version": "1.6.3",
"version": "2.0.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Michael de Wit"

@@ -30,2 +30,6 @@ # node-XMLHttpRequest #

Version 2.0.0 introduces a potentially breaking change concerning local file system requests.
If these requests fail this library now returns the `errno` (or -1) as the response status code instead of
returning status code 0.
Prior to 1.4.0 version numbers were arbitrary. From 1.4.0 on they conform to

@@ -32,0 +36,0 @@ the standard major.minor.bugfix. 1.x shouldn't necessarily be considered

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