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
5
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-gamma.3 to 1.0.0-gamma.4

8

CHANGELOG.md

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

# [1.0.0-gamma.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-marshaller@1.0.0-gamma.3...@aws-sdk/eventstream-marshaller@1.0.0-gamma.4) (2020-07-21)
**Note:** Version bump only for package @aws-sdk/eventstream-marshaller
# [1.0.0-gamma.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/eventstream-marshaller@1.0.0-gamma.2...@aws-sdk/eventstream-marshaller@1.0.0-gamma.3) (2020-07-13)

@@ -8,0 +16,0 @@

2

jest.config.js
const base = require("../../jest.config.base.js");
module.exports = {
...base
...base,
};
{
"name": "@aws-sdk/eventstream-marshaller",
"version": "1.0.0-gamma.3",
"version": "1.0.0-gamma.4",
"scripts": {

@@ -22,8 +22,8 @@ "prepublishOnly": "yarn build:cjs && yarn build:es",

"@aws-sdk/types": "1.0.0-gamma.3",
"@aws-sdk/util-hex-encoding": "1.0.0-gamma.3",
"@aws-sdk/util-hex-encoding": "1.0.0-gamma.4",
"tslib": "^1.8.0"
},
"devDependencies": {
"@aws-sdk/util-utf8-browser": "1.0.0-gamma.3",
"@aws-sdk/util-utf8-node": "1.0.0-gamma.3",
"@aws-sdk/util-utf8-browser": "1.0.0-gamma.4",
"@aws-sdk/util-utf8-node": "1.0.0-gamma.4",
"@types/jest": "^26.0.4",

@@ -30,0 +30,0 @@ "@types/node": "^10.0.0",

@@ -15,3 +15,3 @@ const { Buffer } = require("buffer");

"timestamp",
"uuid"
"uuid",
];

@@ -29,6 +29,4 @@

expectation: '${dirName === "positive" ? "success" : "failure"}',
encoded: Uint8Array.from([${readFileSync(
join(encodedVectorsDir, vectorName)
)
.map(byte => byte.toString(10))
encoded: Uint8Array.from([${readFileSync(join(encodedVectorsDir, vectorName))
.map((byte) => byte.toString(10))
.join(", ")}]),

@@ -38,8 +36,6 @@ `;

if (dirName === "positive") {
const decoded = JSON.parse(
readFileSync(join(decodedVectorsDir, vectorName))
);
const decoded = JSON.parse(readFileSync(join(decodedVectorsDir, vectorName)));
const headers = decoded.headers
.map(
declaration =>
(declaration) =>
` '${declaration.name}': {

@@ -90,6 +86,3 @@ type: '${HEADER_TYPES[declaration.type]}',

const hex = Buffer.from(vectorRepresentation, "base64").toString("hex");
return `'${hex.substr(0, 8)}-${hex.substr(8, 4)}-${hex.substr(
12,
4
)}-${hex.substr(16, 4)}-${hex.substr(20)}'`;
return `'${hex.substr(0, 8)}-${hex.substr(8, 4)}-${hex.substr(12, 4)}-${hex.substr(16, 4)}-${hex.substr(20)}'`;
default:

@@ -101,5 +94,3 @@ return vectorRepresentation;

function writeBuffer(buffer) {
return `Uint8Array.from([${buffer
.map(byte => byte.toString(10))
.join(", ")}])`;
return `Uint8Array.from([${buffer.map((byte) => byte.toString(10)).join(", ")}])`;
}
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