Socket
Socket
Sign inDemoInstall

hpagent

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

hpagent - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

test/hang-socket/http.js

2

index.js

@@ -46,2 +46,3 @@ 'use strict'

} else {
socket.destroy()
callback(new Error(`Bad response: ${response.statusCode}`), null)

@@ -105,2 +106,3 @@ }

} else {
socket.destroy()
callback(new Error(`Bad response: ${response.statusCode}`), null)

@@ -107,0 +109,0 @@ }

7

package.json
{
"name": "hpagent",
"version": "1.1.0",
"version": "1.2.0",
"description": "A ready to use http and https agent for working with proxies that keeps connections alive!",

@@ -10,3 +10,4 @@ "main": "index.js",

"require": "./index.js",
"import": "./index.mjs"
"import": "./index.mjs",
"types": "./index.d.ts"
},

@@ -16,3 +17,3 @@ "./*": "./*.js"

"scripts": {
"test": "standard && NODE_EXTRA_CA_CERTS=test/fixtures/certs_unit_test.pem ava -v test/*.test.js && tsd",
"test": "standard && NODE_EXTRA_CA_CERTS=test/fixtures/certs_unit_test.pem ava -v test/*.test.js && NODE_EXTRA_CA_CERTS=test/fixtures/certs_unit_test.pem ./test/hang-socket/runner.sh && tsd",
"test-ci": "standard && ava -v test/*.test.js && tsd"

@@ -19,0 +20,0 @@ },

Sorry, the diff of this file is not supported yet

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