Socket
Socket
Sign inDemoInstall

@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.348.0 to 3.350.0

10

dist-cjs/write-request-body.js

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

let timeoutId = -1;
let hasError = false;
if (expect === "100-continue") {

@@ -22,6 +23,13 @@ await Promise.race([

});
httpRequest.on("error", () => {
hasError = true;
clearTimeout(timeoutId);
resolve();
});
}),
]);
}
writeBody(httpRequest, request.body);
if (!hasError) {
writeBody(httpRequest, request.body);
}
}

@@ -28,0 +36,0 @@ exports.writeRequestBody = writeRequestBody;

@@ -7,2 +7,3 @@ import { Readable } from "stream";

let timeoutId = -1;
let hasError = false;
if (expect === "100-continue") {

@@ -18,6 +19,13 @@ await Promise.race([

});
httpRequest.on("error", () => {
hasError = true;
clearTimeout(timeoutId);
resolve();
});
}),
]);
}
writeBody(httpRequest, request.body);
if (!hasError) {
writeBody(httpRequest, request.body);
}
}

@@ -24,0 +32,0 @@ function writeBody(httpRequest, body) {

2

package.json
{
"name": "@aws-sdk/node-http-handler",
"version": "3.348.0",
"version": "3.350.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