@aws-sdk/util-body-length-node
Advanced tools
Comparing version 3.183.0 to 3.186.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06) | ||
**Note:** Version bump only for package @aws-sdk/util-body-length-node | ||
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03) | ||
@@ -8,0 +16,0 @@ |
import { fstatSync, lstatSync } from "fs"; | ||
export const calculateBodyLength = (body) => { | ||
export var calculateBodyLength = function (body) { | ||
if (!body) { | ||
@@ -21,3 +21,3 @@ return 0; | ||
} | ||
throw new Error(`Body Length computation failed for ${body}`); | ||
throw new Error("Body Length computation failed for ".concat(body)); | ||
}; |
{ | ||
"name": "@aws-sdk/util-body-length-node", | ||
"description": "Determines the length of a request body in node.js", | ||
"version": "3.183.0", | ||
"version": "3.186.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34053