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

@aws-sdk/node-http-handler

Package Overview
Dependencies
Maintainers
4
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/node-http-handler - npm Package Compare versions

Comparing version 0.1.0-preview.5 to 0.1.0-preview.6

2

build/node-http-handler.d.ts

@@ -6,2 +6,4 @@ /// <reference types="node" />

private readonly httpOptions;
private readonly httpAgent;
private readonly httpsAgent;
constructor(httpOptions?: NodeHttpOptions);

@@ -8,0 +10,0 @@ destroy(): void;

10

build/node-http-handler.js

@@ -14,6 +14,9 @@ "use strict";

this.httpOptions = httpOptions;
var keepAlive = httpOptions.keepAlive;
this.httpAgent = new http.Agent({ keepAlive: keepAlive });
this.httpsAgent = new https.Agent({ keepAlive: keepAlive });
}
NodeHttpHandler.prototype.destroy = function () {
// pass for now, but this may destroy the underlying agent in the future
// if we decide to enable keep-alive by default.
this.httpAgent.destroy();
this.httpsAgent.destroy();
};

@@ -37,3 +40,4 @@ NodeHttpHandler.prototype.handle = function (request, options) {

path: path,
port: request.port
port: request.port,
agent: isSSL ? this.httpsAgent : this.httpAgent
};

@@ -40,0 +44,0 @@ return new Promise(function (resolve, reject) {

@@ -6,2 +6,28 @@ # Change Log

# [0.1.0-preview.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/node-http-handler@0.1.0-preview.3...@aws-sdk/node-http-handler@0.1.0-preview.6) (2019-09-09)
### Features
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed))
* node-http-handler set default keep-alive to true ([#307](https://github.com/aws/aws-sdk-js-v3/issues/307)) ([d709e50](https://github.com/aws/aws-sdk-js-v3/commit/d709e50))
# 0.2.0 (2019-07-12)
### Features
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c))
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab))
# 0.1.0 (2019-04-19)
# [0.1.0-preview.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/node-http-handler@0.1.0-preview.3...@aws-sdk/node-http-handler@0.1.0-preview.5) (2019-07-12)

@@ -8,0 +34,0 @@

{
"name": "@aws-sdk/node-http-handler",
"version": "0.1.0-preview.5",
"version": "0.1.0-preview.6",
"description": "Provides a way to make requests",

@@ -12,3 +12,2 @@ "scripts": {

"name": "AWS SDK for JavaScript Team",
"email": "",
"url": "https://aws.amazon.com/javascript/"

@@ -20,5 +19,5 @@ },

"dependencies": {
"@aws-sdk/abort-controller": "^0.1.0-preview.4",
"@aws-sdk/querystring-builder": "^0.1.0-preview.4",
"@aws-sdk/types": "^0.1.0-preview.4",
"@aws-sdk/abort-controller": "^0.1.0-preview.5",
"@aws-sdk/querystring-builder": "^0.1.0-preview.5",
"@aws-sdk/types": "^0.1.0-preview.5",
"tslib": "^1.8.0"

@@ -25,0 +24,0 @@ },

@@ -13,4 +13,5 @@ {

"rootDir": "./src",
"outDir": "./build"
"outDir": "./build",
"incremental": true
}
}

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