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

@aws-sdk/util-body-length-node

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-body-length-node - npm Package Compare versions

Comparing version 0.1.0-preview.1 to 0.1.0-preview.2

2

build/index.js

@@ -9,3 +9,3 @@ "use strict";

if (typeof body === 'string') {
return body.length;
return Buffer.from(body).length;
}

@@ -12,0 +12,0 @@ else if (typeof body.byteLength === 'number') {

{
"name": "@aws-sdk/util-body-length-node",
"description": "Determines the length of a request body in node.js",
"version": "0.1.0-preview.1",
"version": "0.1.0-preview.2",
"scripts": {

@@ -26,4 +26,3 @@ "prepublishOnly": "tsc",

"tslib": "^1.8.0"
},
"gitHead": "960970c0c25938a8d51d1a243d3f21f05acea92e"
}
}

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