Socket
Socket
Sign inDemoInstall

aws-crt

Package Overview
Dependencies
Maintainers
4
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-crt - npm Package Compare versions

Comparing version 1.21.3 to 1.21.8

format-check.py

16

CMakeLists.txt

@@ -46,7 +46,13 @@ cmake_minimum_required(VERSION 3.1)

if (UNIX AND NOT APPLE)
set(SEARCH_LIBCRYPTO OFF)
set(DISABLE_GO ON)
set(DISABLE_PERL ON)
set(BUILD_LIBSSL OFF)
add_subdirectory(crt/aws-lc)
include(AwsPrebuildDependency)
# s2n-tls uses libcrypto during its configuration, so we need to prebuild aws-lc.
prebuild_dependency(
DEPENDENCY_NAME AWSLC
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/crt/aws-lc
CMAKE_ARGUMENTS
-DDISABLE_GO=ON
-DDISABLE_PERL=ON
-DBUILD_LIBSSL=OFF
-DBUILD_TESTING=OFF
)
set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF)

@@ -53,0 +59,0 @@ add_subdirectory(crt/s2n)

@@ -184,3 +184,3 @@ /**

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -191,3 +191,3 @@ with_reconnect_max_sec(max_sec: number): this;

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -194,0 +194,0 @@ with_reconnect_min_sec(min_sec: number): this;

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

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -345,3 +345,3 @@ AwsIotMqttConnectionConfigBuilder.prototype.with_reconnect_max_sec = function (max_sec) {

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -348,0 +348,0 @@ AwsIotMqttConnectionConfigBuilder.prototype.with_reconnect_min_sec = function (min_sec) {

@@ -363,3 +363,3 @@ /**

*
* @param disconnectPacket (optional) properties of a DISCONNECT packet to send as part of the shutdown process
* @param packet (optional) properties of a DISCONNECT packet to send as part of the shutdown process
*/

@@ -366,0 +366,0 @@ stop(packet?: mqtt5_packet.DisconnectPacket): void;

@@ -363,3 +363,3 @@ /**

*
* @param disconnectPacket (optional) properties of a DISCONNECT packet to send as part of the shutdown process
* @param packet (optional) properties of a DISCONNECT packet to send as part of the shutdown process
*/

@@ -366,0 +366,0 @@ stop(packet?: mqtt5_packet.DisconnectPacket): void;

@@ -207,3 +207,3 @@ /**

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -214,3 +214,3 @@ with_reconnect_max_sec(max_sec: number): this;

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -217,0 +217,0 @@ with_reconnect_min_sec(min_sec: number): this;

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

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -400,3 +400,3 @@ with_reconnect_max_sec(max_sec) {

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -403,0 +403,0 @@ with_reconnect_min_sec(min_sec) {

@@ -360,4 +360,3 @@ /*

* Gets the first value for the given name, ignoring any additional values
* @param name - The header name to look for
* @param default_value - Value returned if no values are found for the given name
* @param key - The header name to look for
* @return The first header value, or default if no values exist

@@ -368,3 +367,3 @@ */

* Get the list of values for the given name
* @param name - The header name to look for
* @param key - The header name to look for
* @return List of values, or empty list if none exist

@@ -387,3 +386,3 @@ */

* Add a name/value pair
* @param name - The header name
* @param key - The header name
* @param value - The header value

@@ -395,3 +394,3 @@ */

* Set a name/value pair, replacing any existing values for the name
* @param name - The header name
* @param key - The header name
* @param value - The header value

@@ -403,3 +402,3 @@ */

* Removes all values for the given name
* @param name - The header to remove all values for
* @param key - The header to remove all values for
*/

@@ -410,3 +409,3 @@ public remove(key: string): void;

* Removes a specific name/value pair
* @param name - The header name to remove
* @param key - The header name to remove
* @param value - The header value to remove

@@ -413,0 +412,0 @@ */

@@ -303,3 +303,3 @@ /*

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -314,3 +314,3 @@ with_reconnect_max_sec(max_sec: number) {

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -317,0 +317,0 @@ with_reconnect_min_sec(min_sec: number) {

@@ -23,3 +23,3 @@ /*

let urlOptions: url.UrlWithStringQuery = url.parse(`http://${test_utils.ClientEnvironmentalConfig.PROXY_HOST}:${test_utils.ClientEnvironmentalConfig.PROXY_PORT}`);
let agent: HttpsProxyAgent = new HttpsProxyAgent(urlOptions);
let agent = new HttpsProxyAgent(urlOptions.href!);

@@ -51,3 +51,3 @@ wsOptions.agent = agent;

let urlOptions: url.UrlWithStringQuery = url.parse(`http://${test_utils.ClientEnvironmentalConfig.PROXY_HOST}:${test_utils.ClientEnvironmentalConfig.PROXY_PORT}`);
let agent: HttpsProxyAgent = new HttpsProxyAgent(urlOptions);
let agent = new HttpsProxyAgent(urlOptions.href!);

@@ -54,0 +54,0 @@ return {

@@ -434,3 +434,3 @@ /*

*
* @param disconnectPacket (optional) properties of a DISCONNECT packet to send as part of the shutdown process
* @param packet (optional) properties of a DISCONNECT packet to send as part of the shutdown process
*/

@@ -437,0 +437,0 @@ stop(packet?: mqtt5_packet.DisconnectPacket) : void;

@@ -444,3 +444,3 @@ /*

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_max_sec max reconnection period
* @param max_sec max reconnection period
*/

@@ -455,3 +455,3 @@ with_reconnect_max_sec(max_sec: number) {

* be set in range of [reconnect_min_sec,reconnect_max_sec].
* @param reconnect_min_sec min reconnection period
* @param min_sec min reconnection period
*/

@@ -458,0 +458,0 @@ with_reconnect_min_sec(min_sec: number) {

@@ -360,4 +360,3 @@ /*

* Gets the first value for the given name, ignoring any additional values
* @param name - The header name to look for
* @param default_value - Value returned if no values are found for the given name
* @param key - The header name to look for
* @return The first header value, or default if no values exist

@@ -368,3 +367,3 @@ */

* Get the list of values for the given name
* @param name - The header name to look for
* @param key - The header name to look for
* @return List of values, or empty list if none exist

@@ -387,3 +386,3 @@ */

* Add a name/value pair
* @param name - The header name
* @param key - The header name
* @param value - The header value

@@ -395,3 +394,3 @@ */

* Set a name/value pair, replacing any existing values for the name
* @param name - The header name
* @param key - The header name
* @param value - The header value

@@ -403,3 +402,3 @@ */

* Removes all values for the given name
* @param name - The header to remove all values for
* @param key - The header to remove all values for
*/

@@ -410,3 +409,3 @@ public remove(key: string): void;

* Removes a specific name/value pair
* @param name - The header name to remove
* @param key - The header name to remove
* @param value - The header value to remove

@@ -413,0 +412,0 @@ */

@@ -644,3 +644,3 @@ /*

var decoder = new TextDecoder();
payload = decoder.decode(Buffer.from(response.payload));
payload = decoder.decode(Buffer.from(response.payload as ArrayBuffer));
}

@@ -681,3 +681,3 @@ expect(payload).toEqual(payloadAsString);

var decoder = new TextDecoder();
payload = decoder.decode(Buffer.from(response.payload));
payload = decoder.decode(Buffer.from(response.payload as ArrayBuffer));
}

@@ -941,2 +941,2 @@ expect(payload).toEqual(payloadAsString);

})).rejects.toThrow("cancelled");
});
});
{
"name": "aws-crt",
"version": "1.21.3",
"version": "1.21.8",
"description": "NodeJS/browser bindings to the aws-c-* libraries",

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

"puppeteer": "^3.3.0",
"tar": "^6.2.0",
"tar": "^6.2.1",
"ts-jest": "^27.0.5",

@@ -53,5 +53,5 @@ "typedoc": "^0.24.8",

"dependencies": {
"@aws-sdk/util-utf8-browser": "^3.109.0",
"@aws-sdk/util-utf8-browser": "^3.259.0",
"@httptoolkit/websocket-stream": "^6.0.1",
"axios": "^1.6.8",
"axios": "^1.7.4",
"buffer": "^6.0.3",

@@ -58,0 +58,0 @@ "crypto-js": "^4.2.0",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc