Comparing version 1.1.0 to 1.2.0
@@ -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 @@ } |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73875
21
2355
15