Socket
Socket
Sign inDemoInstall

aws-crt

Package Overview
Dependencies
7
Maintainers
4
Versions
121
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.13.0 to 1.13.1

3

CONTRIBUTING.md

@@ -37,3 +37,4 @@ # Contributing Guidelines

5. Send us a pull request, answering any default questions in the pull request interface.
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
6. Wait for a repository collaborator to look at your pull request, run the automated tests, and review. If additional changes or discussion is needed, a collaborator will get back to you, so please stay involved in the conversation.
* Note: pull requests from forks will not run the automated tests without collaborator involvement for security reasons. If you make a pull request and see that the tests are pending, this is normal and expected.

@@ -40,0 +41,0 @@ GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and

@@ -39,3 +39,3 @@ "use strict";

var Crypto = __importStar(require("crypto-js"));
var polyfills_1 = require("./polyfills");
var util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
/**

@@ -66,4 +66,3 @@ * Object that allows for continuous MD5 hashing of data.

var truncated = digest.substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -116,4 +115,3 @@ };

var truncated = digest.substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -138,4 +136,3 @@ };

var truncated = digest.substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -169,4 +166,3 @@ }

var truncated = digest.substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -191,4 +187,3 @@ };

var truncated = digest.substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -228,4 +223,3 @@ }

var truncated = digest.toString().substring(0, truncate_to ? truncate_to : digest.length);
var encoder = new polyfills_1.TextEncoder();
var bytes = encoder.encode(truncated);
var bytes = (0, util_utf8_browser_1.fromUtf8)(truncated);
return new DataView(bytes.buffer);

@@ -232,0 +226,0 @@ };

@@ -181,3 +181,2 @@ /**

private response_status_code?;
private encoder;
private constructor();

@@ -184,0 +183,0 @@ /**

@@ -76,3 +76,3 @@ "use strict";

var io_1 = require("./io");
var polyfills_1 = require("./polyfills");
var util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
/**

@@ -472,3 +472,2 @@ * A collection of HTTP headers

_this.connection = connection;
_this.encoder = new polyfills_1.TextEncoder();
_this.cork();

@@ -515,3 +514,3 @@ return _this;

if (data && !(data instanceof ArrayBuffer)) {
data = this.encoder.encode(data.toString());
data = (0, util_utf8_browser_1.fromUtf8)(data.toString());
}

@@ -518,0 +517,0 @@ this.emit('data', data);

{
"name": "aws-crt",
"version": "1.13.0",
"version": "1.13.1",
"description": "NodeJS/browser bindings to the aws-c-* libraries",

@@ -29,6 +29,6 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs",

"@types/node": "^10.17.54",
"@types/prettier": "2.6.0",
"@types/puppeteer": "^5.4.4",
"@types/uuid": "^3.4.8",
"@types/ws": "^7.4.7",
"@types/prettier": "2.6.0",
"aws-sdk": "^2.848.0",

@@ -47,2 +47,3 @@ "jest": "^27.2.1",

"dependencies": {
"@aws-sdk/util-utf8-browser": "^3.109.0",
"@httptoolkit/websocket-stream": "^6.0.0",

@@ -52,7 +53,5 @@ "axios": "^0.24.0",

"crypto-js": "^4.0.0",
"fastestsmallesttextencoderdecoder": "^1.0.22",
"mqtt": "^4.3.7",
"tar": "^6.1.11",
"ws": "^7.5.5"
"tar": "^6.1.11"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc