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
5
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 3.74.0 to 3.76.0

11

CHANGELOG.md

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

# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22)
### Bug Fixes
* **node-http-handler:** http2 lets node exit ([#3541](https://github.com/aws/aws-sdk-js-v3/issues/3541)) ([7480667](https://github.com/aws/aws-sdk-js-v3/commit/74806672bcd462dae51197294f3160f32f867b62))
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)

@@ -8,0 +19,0 @@

3

dist-cjs/node-http2-handler.js

@@ -49,2 +49,3 @@ "use strict";

});
session.ref();
req.on("response", (headers) => {

@@ -88,2 +89,3 @@ const httpResponse = new protocol_http_1.HttpResponse({

req.on("close", () => {
session.unref();
if (this.disableConcurrentStreams) {

@@ -105,2 +107,3 @@ session.destroy();

const newSession = (0, http2_1.connect)(authority);
newSession.unref();
const destroySessionCb = () => {

@@ -107,0 +110,0 @@ this.destroySession(newSession);

@@ -59,2 +59,3 @@ import { __assign, __values } from "tslib";

var req = session.request(__assign(__assign({}, request.headers), (_a = {}, _a[constants.HTTP2_HEADER_PATH] = queryString ? "".concat(path, "?").concat(queryString) : path, _a[constants.HTTP2_HEADER_METHOD] = method, _a)));
session.ref();
req.on("response", function (headers) {

@@ -98,2 +99,3 @@ var httpResponse = new HttpResponse({

req.on("close", function () {
session.unref();
if (_this.disableConcurrentStreams) {

@@ -116,2 +118,3 @@ session.destroy();

var newSession = connect(authority);
newSession.unref();
var destroySessionCb = function () {

@@ -118,0 +121,0 @@ _this.destroySession(newSession);

2

package.json
{
"name": "@aws-sdk/node-http-handler",
"version": "3.74.0",
"version": "3.76.0",
"description": "Provides a way to make requests",

@@ -5,0 +5,0 @@ "scripts": {

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