New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

http-node

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-node - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1
+8
-1
_http_client.js

@@ -267,3 +267,2 @@ // Copyright Joyent, Inc. and other Node contributors.

var socket = this;
var parser = socket.parser;
var req = socket._httpMessage;

@@ -279,2 +278,6 @@ debug('SOCKET ERROR:', err.message, err.stack);

// Handle any pending data
socket.read();
var parser = socket.parser;
if (parser) {

@@ -284,2 +287,6 @@ parser.finish();

}
// Ensure that no further data will come out of the socket
socket.removeListener('data', socketOnData);
socket.removeListener('end', socketOnEnd);
socket.destroy();

@@ -286,0 +293,0 @@ }

+2
-2
{
"name": "http-node",
"version": "0.0.0",
"description": "Node's http as a standalone module",
"version": "0.0.1",
"description": "Nodes http as a standalone package",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

# http-node
This module is a standalone package of Nodes http, Node.js v0.12.0. Unlike
This module is a standalone package of Nodes http, Node.js v0.12.3. Unlike
[http-browserify](https://www.npmjs.com/package/http-browserify), this is not

@@ -4,0 +4,0 @@ a shim but the original code of Node, so it requires the `net` module. This is