@aws-sdk/util-base64-node
Advanced tools
Comparing version 3.52.0 to 3.55.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21) | ||
**Note:** Version bump only for package @aws-sdk/util-base64-node | ||
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18) | ||
@@ -8,0 +16,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
} | ||
const buffer = util_buffer_from_1.fromString(input, "base64"); | ||
const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); | ||
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); | ||
@@ -19,4 +19,4 @@ } | ||
function toBase64(input) { | ||
return util_buffer_from_1.fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64"); | ||
return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); | ||
} | ||
exports.toBase64 = toBase64; |
{ | ||
"name": "@aws-sdk/util-base64-node", | ||
"version": "3.52.0", | ||
"version": "3.55.0", | ||
"description": "A Node.JS Base64 <-> UInt8Array converter", | ||
@@ -22,4 +22,4 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@aws-sdk/util-buffer-from": "3.52.0", | ||
"tslib": "^2.3.0" | ||
"@aws-sdk/util-buffer-from": "3.55.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
@@ -33,3 +33,3 @@ "devDependencies": { | ||
"typedoc": "0.19.2", | ||
"typescript": "~4.3.5" | ||
"typescript": "~4.6.2" | ||
}, | ||
@@ -36,0 +36,0 @@ "types": "./dist-types/index.d.ts", |
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
34231
+ Added@aws-sdk/is-array-buffer@3.55.0(transitive)
+ Added@aws-sdk/util-buffer-from@3.55.0(transitive)
- Removed@aws-sdk/is-array-buffer@3.52.0(transitive)
- Removed@aws-sdk/util-buffer-from@3.52.0(transitive)
Updatedtslib@^2.3.1