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

@aws-sdk/eventstream-marshaller

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/eventstream-marshaller - npm Package Compare versions

Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7

7

build/EventStreamMarshaller.d.ts

@@ -1,2 +0,2 @@

import { Message } from "./Message";
import { Message, MessageHeaders } from "@aws-sdk/types";
import { Decoder, Encoder } from "@aws-sdk/types";

@@ -20,2 +20,7 @@ /**

unmarshall(message: ArrayBufferView): Message;
/**
* Convert a structured JavaScript object with tagged headers into a binary
* event stream message header.
*/
formatHeaders(rawHeaders: MessageHeaders): Uint8Array;
}

@@ -43,5 +43,12 @@ "use strict";

};
/**
* Convert a structured JavaScript object with tagged headers into a binary
* event stream message header.
*/
EventStreamMarshaller.prototype.formatHeaders = function (rawHeaders) {
return this.headerMarshaller.format(rawHeaders);
};
return EventStreamMarshaller;
}());
exports.EventStreamMarshaller = EventStreamMarshaller;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXZlbnRTdHJlYW1NYXJzaGFsbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0V2ZW50U3RyZWFtTWFyc2hhbGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVEQUFzRDtBQUV0RCwrQ0FBOEM7QUFDOUMsMkNBQTBDO0FBSTFDOzs7R0FHRztBQUNIO0lBR0UsK0JBQVksTUFBZSxFQUFFLFFBQWlCO1FBQzVDLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxJQUFJLG1DQUFnQixDQUFDLE1BQU0sRUFBRSxRQUFRLENBQUMsQ0FBQztJQUNqRSxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsd0NBQVEsR0FBUixVQUF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cGRhdGUob3V0LnN1YmFycmF5KDgsIGxlbmd0aCAtIDQpKS5kaWdlc3QoKSxcbiAgICAgIGZhbHNlXG4gICAgKTtcblxuICAgIHJldHVybiBvdXQ7XG4gIH1cblxuICAvKipcbiAgICogQ29udmVydCBhIGJpbmFyeSBldmVudCBzdHJlYW0gbWVzc2FnZSBpbnRvIGEgSmF2YVNjcmlwdCBvYmplY3Qgd2l0aCBhblxuICAgKiBvcGFxdWUsIGJpbmFyeSBib2R5IGFuZCB0YWdnZWQsIHBhcnNlZCBoZWFkZXJzLlxuICAgKi9cbiAgdW5tYXJzaGFsbChtZXNzYWdlOiBBcnJheUJ1ZmZlclZpZXcpOiBNZXNzYWdlIHtcbiAgICBjb25zdCB7IGhlYWRlcnMsIGJvZHkgfSA9IHNwbGl0TWVzc2FnZShtZXNzYWdlKTtcblxuICAgIHJldHVybiB7IGhlYWRlcnM6IHRoaXMuaGVhZGVyTWFyc2hhbGxlci5wYXJzZShoZWFkZXJzKSwgYm9keSB9O1xuICB9XG5cbiAgLyoqXG4gICAqIENvbnZlcnQgYSBzdHJ1Y3R1cmVkIEphdmFTY3JpcHQgb2JqZWN0IHdpdGggdGFnZ2VkIGhlYWRlcnMgaW50byBhIGJpbmFyeVxuICAgKiBldmVudCBzdHJlYW0gbWVzc2FnZSBoZWFkZXIuXG4gICAqL1xuICBmb3JtYXRIZWFkZXJzKHJhd0hlYWRlcnM6IE1lc3NhZ2VIZWFkZXJzKTogVWludDhBcnJheSB7XG4gICAgcmV0dXJuIHRoaXMuaGVhZGVyTWFyc2hhbGxlci5mb3JtYXQocmF3SGVhZGVycyk7XG4gIH1cbn1cbiJdfQ==

3

build/HeaderMarshaller.d.ts

@@ -1,3 +0,2 @@

import { MessageHeaders } from "./Message";
import { Decoder, Encoder } from "@aws-sdk/types";
import { Decoder, Encoder, MessageHeaders } from "@aws-sdk/types";
/**

@@ -4,0 +3,0 @@ * @internal

@@ -203,2 +203,2 @@ "use strict";

var UUID_PATTERN = /^[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KFxuICAgICAgICAgIGhlYWRlcnMuYnVmZmVyLFxuICAgICAgICAgIGhlYWRlcnMuYnl0ZU9mZnNldCArIHBvc2l0aW9uLFxuICAgICAgICAgIG5hbWVMZW5ndGhcbiAgICAgICAgKVxuICAgICAgKTtcbiAgICAgIHBvc2l0aW9uICs9IG5hbWVMZW5ndGg7XG5cbiAgICAgIHN3aXRjaCAoaGVhZGVycy5nZXRVaW50OChwb3NpdGlvbisrKSkge1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLmJvb2xUcnVlOlxuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IEJPT0xFQU5fVEFHLFxuICAgICAgICAgICAgdmFsdWU6IHRydWVcbiAgICAgICAgICB9O1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLmJvb2xGYWxzZTpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBCT09MRUFOX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBmYWxzZVxuICAgICAgICAgIH07XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuYnl0ZTpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBCWVRFX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBoZWFkZXJzLmdldEludDgocG9zaXRpb24rKylcbiAgICAgICAgICB9O1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLnNob3J0OlxuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IFNIT1JUX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBoZWFkZXJzLmdldEludDE2KHBvc2l0aW9uLCBmYWxzZSlcbiAgICAgICAgICB9O1xuICAgICAgICAgIHBvc2l0aW9uICs9IDI7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuaW50ZWdlcjpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBJTlRfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IGhlYWRlcnMuZ2V0SW50MzIocG9zaXRpb24sIGZhbHNlKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gNDtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBIRUFERVJfVkFMVUVfVFlQRS5sb25nOlxuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IExPTkdfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IG5ldyBJbnQ2NChcbiAgICAgICAgICAgICAgbmV3IFVpbnQ4QXJyYXkoaGVhZGVycy5idWZmZXIsIGhlYWRlcnMuYnl0ZU9mZnNldCArIHBvc2l0aW9uLCA4KVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gODtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBIRUFERVJfVkFMVUVfVFlQRS5ieXRlQXJyYXk6XG4gICAgICAgICAgY29uc3QgYmluYXJ5TGVuZ3RoID0gaGVhZGVycy5nZXRVaW50MTYocG9zaXRpb24sIGZhbHNlKTtcbiAgICAgICAgICBwb3NpdGlvbiArPSAyO1xuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IEJJTkFSWV9UQUcsXG4gICAgICAgICAgICB2YWx1ZTogbmV3IFVpbnQ4QXJyYXkoXG4gICAgICAgICAgICAgIGhlYWRlcnMuYnVmZmVyLFxuICAgICAgICAgICAgICBoZWFkZXJzLmJ5dGVPZmZzZXQgKyBwb3NpdGlvbixcbiAgICAgICAgICAgICAgYmluYXJ5TGVuZ3RoXG4gICAgICAgICAgICApXG4gICAgICAgICAgfTtcbiAgICAgICAgICBwb3NpdGlvbiArPSBiaW5hcnlMZW5ndGg7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuc3RyaW5nOlxuICAgICAgICAgIGNvbnN0IHN0cmluZ0xlbmd0aCA9IGhlYWRlcnMuZ2V0VWludDE2KHBvc2l0aW9uLCBmYWxzZSk7XG4gICAgICAgICAgcG9zaXRpb24gKz0gMjtcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBTVFJJTkdfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IHRoaXMudG9VdGY4KFxuICAgICAgICAgICAgICBuZXcgVWludDhBcnJheShcbiAgICAgICAgICAgICAgICBoZWFkZXJzLmJ1ZmZlcixcbiAgICAgICAgICAgICAgICBoZWFkZXJzLmJ5dGVPZmZzZXQgKyBwb3NpdGlvbixcbiAgICAgICAgICAgICAgICBzdHJpbmdMZW5ndGhcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gc3RyaW5nTGVuZ3RoO1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLnRpbWVzdGFtcDpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBUSU1FU1RBTVBfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IG5ldyBEYXRlKFxuICAgICAgICAgICAgICBuZXcgSW50NjQoXG4gICAgICAgICAgICAgICAgbmV3IFVpbnQ4QXJyYXkoaGVhZGVycy5idWZmZXIsIGhlYWRlcnMuYnl0ZU9mZnNldCArIHBvc2l0aW9uLCA4KVxuICAgICAgICAgICAgICApLnZhbHVlT2YoKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9za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Ws7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuYnl0ZTpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBCWVRFX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBoZWFkZXJzLmdldEludDgocG9zaXRpb24rKylcbiAgICAgICAgICB9O1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLnNob3J0OlxuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IFNIT1JUX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBoZWFkZXJzLmdldEludDE2KHBvc2l0aW9uLCBmYWxzZSlcbiAgICAgICAgICB9O1xuICAgICAgICAgIHBvc2l0aW9uICs9IDI7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuaW50ZWdlcjpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBJTlRfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IGhlYWRlcnMuZ2V0SW50MzIocG9zaXRpb24sIGZhbHNlKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gNDtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBIRUFERVJfVkFMVUVfVFlQRS5sb25nOlxuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IExPTkdfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IG5ldyBJbnQ2NChcbiAgICAgICAgICAgICAgbmV3IFVpbnQ4QXJyYXkoaGVhZGVycy5idWZmZXIsIGhlYWRlcnMuYnl0ZU9mZnNldCArIHBvc2l0aW9uLCA4KVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gODtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBIRUFERVJfVkFMVUVfVFlQRS5ieXRlQXJyYXk6XG4gICAgICAgICAgY29uc3QgYmluYXJ5TGVuZ3RoID0gaGVhZGVycy5nZXRVaW50MTYocG9zaXRpb24sIGZhbHNlKTtcbiAgICAgICAgICBwb3NpdGlvbiArPSAyO1xuICAgICAgICAgIG91dFtuYW1lXSA9IHtcbiAgICAgICAgICAgIHR5cGU6IEJJTkFSWV9UQUcsXG4gICAgICAgICAgICB2YWx1ZTogbmV3IFVpbnQ4QXJyYXkoXG4gICAgICAgICAgICAgIGhlYWRlcnMuYnVmZmVyLFxuICAgICAgICAgICAgICBoZWFkZXJzLmJ5dGVPZmZzZXQgKyBwb3NpdGlvbixcbiAgICAgICAgICAgICAgYmluYXJ5TGVuZ3RoXG4gICAgICAgICAgICApXG4gICAgICAgICAgfTtcbiAgICAgICAgICBwb3NpdGlvbiArPSBiaW5hcnlMZW5ndGg7XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgSEVBREVSX1ZBTFVFX1RZUEUuc3RyaW5nOlxuICAgICAgICAgIGNvbnN0IHN0cmluZ0xlbmd0aCA9IGhlYWRlcnMuZ2V0VWludDE2KHBvc2l0aW9uLCBmYWxzZSk7XG4gICAgICAgICAgcG9zaXRpb24gKz0gMjtcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBTVFJJTkdfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IHRoaXMudG9VdGY4KFxuICAgICAgICAgICAgICBuZXcgVWludDhBcnJheShcbiAgICAgICAgICAgICAgICBoZWFkZXJzLmJ1ZmZlcixcbiAgICAgICAgICAgICAgICBoZWFkZXJzLmJ5dGVPZmZzZXQgKyBwb3NpdGlvbixcbiAgICAgICAgICAgICAgICBzdHJpbmdMZW5ndGhcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gc3RyaW5nTGVuZ3RoO1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlIEhFQURFUl9WQUxVRV9UWVBFLnRpbWVzdGFtcDpcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBUSU1FU1RBTVBfVEFHLFxuICAgICAgICAgICAgdmFsdWU6IG5ldyBEYXRlKFxuICAgICAgICAgICAgICBuZXcgSW50NjQoXG4gICAgICAgICAgICAgICAgbmV3IFVpbnQ4QXJyYXkoaGVhZGVycy5idWZmZXIsIGhlYWRlcnMuYnl0ZU9mZnNldCArIHBvc2l0aW9uLCA4KVxuICAgICAgICAgICAgICApLnZhbHVlT2YoKVxuICAgICAgICAgICAgKVxuICAgICAgICAgIH07XG4gICAgICAgICAgcG9zaXRpb24gKz0gODtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSBIRUFERVJfVkFMVUVfVFlQRS51dWlkOlxuICAgICAgICAgIGNvbnN0IHV1aWRCeXRlcyA9IG5ldyBVaW50OEFycmF5KFxuICAgICAgICAgICAgaGVhZGVycy5idWZmZXIsXG4gICAgICAgICAgICBoZWFkZXJzLmJ5dGVPZmZzZXQgKyBwb3NpdGlvbixcbiAgICAgICAgICAgIDE2XG4gICAgICAgICAgKTtcbiAgICAgICAgICBwb3NpdGlvbiArPSAxNjtcbiAgICAgICAgICBvdXRbbmFtZV0gPSB7XG4gICAgICAgICAgICB0eXBlOiBVVUlEX1RBRyxcbiAgICAgICAgICAgIHZhbHVlOiBgJHt0b0hleCh1dWlkQnl0ZXMuc3ViYXJyYXkoMCwgNCkpfS0ke3RvSGV4KFxuICAgICAgICAgICAgICB1dWlkQnl0ZXMuc3ViYXJyYXkoNCwgNilcbiAgICAgICAgICAgICl9LSR7dG9IZXgodXVpZEJ5dGVzLnN1YmFycmF5KDYsIDgpKX0tJHt0b0hleChcbiAgICAgICAgICAgICAgdXVpZEJ5dGVzLnN1YmFycmF5KDgsIDEwKVxuICAgICAgICAgICAgKX0tJHt0b0hleCh1dWlkQnl0ZXMuc3ViYXJyYXkoMTApKX1gXG4gICAgICAgICAgfTtcbiAgICAgICAgICBicmVhaztcbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYFVucmVjb2duaXplZCBoZWFkZXIgdHlwZSB0YWdgKTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gb3V0O1xuICB9XG59XG5cbmNvbnN0IGVudW0gSEVBREVSX1ZBTFVFX1RZUEUge1xuICBib29sVHJ1ZSA9IDAsXG4gIGJvb2xGYWxzZSxcbiAgYnl0ZSxcbiAgc2hvcnQsXG4gIGludGVnZXIsXG4gIGxvbmcsXG4gIGJ5dGVBcnJheSxcbiAgc3RyaW5nLFxuICB0aW1lc3RhbXAsXG4gIHV1aWRcbn1cblxuY29uc3QgQk9PTEVBTl9UQUcgPSBcImJvb2xlYW5cIjtcbmNvbnN0IEJZVEVfVEFHID0gXCJieXRlXCI7XG5jb25zdCBTSE9SVF9UQUcgPSBcInNob3J0XCI7XG5jb25zdCBJTlRfVEFHID0gXCJpbnRlZ2VyXCI7XG5jb25zdCBMT05HX1RBRyA9IFwibG9uZ1wiO1xuY29uc3QgQklOQVJZX1RBRyA9IFwiYmluYXJ5XCI7XG5jb25zdCBTVFJJTkdfVEFHID0gXCJzdHJpbmdcIjtcbmNvbnN0IFRJTUVTVEFNUF9UQUcgPSBcInRpbWVzdGFtcFwiO1xuY29uc3QgVVVJRF9UQUcgPSBcInV1aWRcIjtcblxuY29uc3QgVVVJRF9QQVRURVJOID0gL15bYS1mMC05XXs4fS1bYS1mMC05XXs0fS1bYS1mMC05XXs0fS1bYS1mMC05XXs0fS1bYS1mMC05XXsxMn0kLztcbiJdfQ==

@@ -0,1 +1,4 @@

import { Int64 as IInt64 } from "@aws-sdk/types";
export interface Int64 extends IInt64 {
}
/**

@@ -2,0 +5,0 @@ * A lossless representation of a signed, 64-bit integer. Instances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dGl2ZSA9IGJ5dGVzWzBdICYgMGIxMDAwMDAwMDtcbiAgICBpZiAobmVnYXRpdmUpIHtcbiAgICAgIG5lZ2F0ZShieXRlcyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHBhcnNlSW50KHRvSGV4KGJ5dGVzKSwgMTYpICogKG5lZ2F0aXZlID8gLTEgOiAxKTtcbiAgfVxuXG4gIHRvU3RyaW5nKCkge1xuICAgIHJldHVybiBTdHJpbmcodGhpcy52YWx1ZU9mKCkpO1xuICB9XG59XG5cbmZ1bmN0aW9uIG5lZ2F0ZShieXRlczogVWludDhBcnJheSk6IHZvaWQge1xuICBmb3IgKGxldCBpID0gMDsgaSA8IDg7IGkrKykge1xuICAgIGJ5dGVzW2ldIF49IDB4ZmY7XG4gIH1cblxuICBmb3IgKGxldCBpID0gNzsgaSA+IC0xOyBpLS0pIHtcbiAgICBieXRlc1tpXSsrO1xuICAgIGlmIChieXRlc1tpXSAhPT0gMCkgYnJlYWs7XG4gIH1cbn1cbiJdfQ==

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

# [1.0.0-alpha.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-marshaller@0.1.0-preview.3...@aws-sdk/eventstream-marshaller@1.0.0-alpha.7) (2020-02-18)
### Features
* add event stream serde depedencies ([#824](https://github.com/aws/aws-sdk-js-v3/issues/824)) ([08f8213](https://github.com/aws/aws-sdk-js-v3/commit/08f8213))
# 1.0.0-alpha.21 (2020-02-11)
# 1.0.0-alpha.13 (2020-01-24)
# 1.0.0-alpha.12 (2020-01-22)
# 1.0.0-alpha.8 (2020-01-16)
# 0.9.0 (2020-01-09)
# 0.7.0 (2019-11-19)
# 0.6.0 (2019-10-30)
# 0.4.0 (2019-09-19)
# 0.3.0 (2019-09-09)
### Features
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed))
# 0.2.0 (2019-07-12)
### Features
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c))
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab))
# 0.1.0 (2019-04-19)
# [1.0.0-alpha.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-marshaller@0.1.0-preview.3...@aws-sdk/eventstream-marshaller@1.0.0-alpha.6) (2020-02-11)

@@ -8,0 +74,0 @@

{
"name": "@aws-sdk/eventstream-marshaller",
"version": "1.0.0-alpha.6",
"version": "1.0.0-alpha.7",
"scripts": {

@@ -18,3 +18,3 @@ "prepublishOnly": "tsc",

"@aws-crypto/crc32": "^1.0.0-alpha.0",
"@aws-sdk/types": "^1.0.0-alpha.4",
"@aws-sdk/types": "^1.0.0-alpha.5",
"@aws-sdk/util-hex-encoding": "^1.0.0-alpha.2",

@@ -21,0 +21,0 @@ "tslib": "^1.8.0"

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