Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.55.0 to 3.154.0

11

CHANGELOG.md

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

# [3.154.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.153.0...v3.154.0) (2022-08-19)
### Bug Fixes
* **util-body-length-browser:** handle trail surrogate character ([#3866](https://github.com/aws/aws-sdk-js-v3/issues/3866)) ([62657b1](https://github.com/aws/aws-sdk-js-v3/commit/62657b13af635928bf2c5ee8f449be711a379dd9))
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)

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

2

dist-cjs/calculateBodyLength.js

@@ -13,2 +13,4 @@ "use strict";

len += 2;
if (code >= 0xdc00 && code <= 0xdfff)
i--;
}

@@ -15,0 +17,0 @@ return len;

@@ -10,2 +10,4 @@ export var calculateBodyLength = function (body) {

len += 2;
if (code >= 0xdc00 && code <= 0xdfff)
i--;
}

@@ -12,0 +14,0 @@ return len;

2

package.json
{
"name": "@aws-sdk/util-body-length-browser",
"description": "Determines the length of a request body in browsers",
"version": "3.55.0",
"version": "3.154.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

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