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

@aws-sdk/body-checksum-browser

Package Overview
Dependencies
Maintainers
4
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/body-checksum-browser - npm Package Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5

6

build/index.js

@@ -25,4 +25,4 @@ "use strict";

return [4 /*yield*/, chunked_blob_reader_1.blobReader(body, function (chunk) {
treeHash && treeHash.update(chunk);
contentHash && contentHash.update(chunk);
treeHash === null || treeHash === void 0 ? void 0 : treeHash.update(chunk);
contentHash === null || contentHash === void 0 ? void 0 : contentHash.update(chunk);
}, MiB)];

@@ -46,2 +46,2 @@ case 2:

exports.bodyChecksumGenerator = bodyChecksumGenerator;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsOERBQXFEO0FBRXJELGdFQUFtRDtBQUNuRCxvRUFBMEQ7QUFFMUQsSUFBTSxHQUFHLEdBQUcsSUFBSSxHQUFHLElBQUksQ0FBQztBQUV4QixTQUFzQixxQkFBcUIsQ0FDekMsT0FBb0IsRUFDcEIsT0FHQzs7Ozs7O29CQUVLLFdBQVcsR0FBRyxJQUFJLE9BQU8sQ0FBQyxNQUFNLEVBQUUsQ0FBQztvQkFDbkMsUUFBUSxHQUFHLElBQUksMkJBQVEsQ0FBQyxPQUFPLENBQUMsTUFBTSxFQUFFLE9BQU8sQ0FBQyxXQUFXLENBQUMsQ0FBQztvQkFDM0QsSUFBSSxHQUFLLE9BQU8sS0FBWixDQUFhO3lCQUNyQixDQUFBLE9BQU8sSUFBSSxLQUFLLFFBQVEsQ0FBQSxFQUF4Qix3QkFBd0I7b0JBQz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H0gZWxzZSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoXCJVbmFibGUgdG8gY2FsY3VsYXRlIGNoZWNrc3VtcyBmb3Igbm9uLWJsb2Igc3RyZWFtcy5cIik7XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIFt0b0hleChhd2FpdCBjb250ZW50SGFzaC5kaWdlc3QoKSksIHRvSGV4KGF3YWl0IHRyZWVIYXNoLmRpZ2VzdCgpKV07XG59XG4iXX0=

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

# 1.0.0-alpha.5 (2020-03-20)
# 1.0.0-alpha.25 (2020-03-09)
# 1.0.0-alpha.24 (2020-02-19)
# 1.0.0-alpha.21 (2020-02-11)
# 1.0.0-alpha.16 (2020-02-04)
### Bug Fixes
* add missing dependencies for body checksum packages ([#839](https://github.com/aws/aws-sdk-js-v3/issues/839)) ([745caed](https://github.com/aws/aws-sdk-js-v3/commit/745caedcd613bb63d3435eda8e36530789601bea))
### Features
* glacier checksum middleware ([#789](https://github.com/aws/aws-sdk-js-v3/issues/789)) ([2b64381](https://github.com/aws/aws-sdk-js-v3/commit/2b64381b46986a6cbfb898ac5d1fe5cd161b8fc4))
# 1.0.0-alpha.4 (2020-03-09)

@@ -8,0 +40,0 @@

{
"name": "@aws-sdk/body-checksum-browser",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"scripts": {

@@ -17,7 +17,7 @@ "prepublishOnly": "tsc",

"dependencies": {
"@aws-sdk/chunked-blob-reader": "^1.0.0-alpha.2",
"@aws-sdk/protocol-http": "^1.0.0-alpha.7",
"@aws-sdk/sha256-tree-hash": "^1.0.0-alpha.4",
"@aws-sdk/types": "^1.0.0-alpha.5",
"@aws-sdk/util-hex-encoding": "^1.0.0-alpha.2",
"@aws-sdk/chunked-blob-reader": "^1.0.0-alpha.3",
"@aws-sdk/protocol-http": "^1.0.0-alpha.8",
"@aws-sdk/sha256-tree-hash": "^1.0.0-alpha.5",
"@aws-sdk/types": "^1.0.0-alpha.6",
"@aws-sdk/util-hex-encoding": "^1.0.0-alpha.3",
"tslib": "^1.8.0"

@@ -27,7 +27,7 @@ },

"@aws-crypto/sha256-js": "^1.0.0-alpha.0",
"@aws-sdk/util-utf8-browser": "^1.0.0-alpha.2",
"@aws-sdk/util-utf8-browser": "^1.0.0-alpha.3",
"@types/jest": "^24.0.12",
"jest": "^24.7.1",
"typescript": "~3.4.0"
"typescript": "~3.8.3"
}
}
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