From dc332e7ca5128f379571ba85876a4baf5f177758 Mon Sep 17 00:00:00 2001 From: Bret Ambrose Date: Mon, 6 Nov 2023 13:29:55 -0800 Subject: [PATCH] Update CRT to 1.19.0 which requires node 14 (#438) * Update CRT to 1.19.0 which requires node 14 --------- Co-authored-by: Bret Ambrose --- .github/workflows/ci.yml | 2 +- README.md | 8 +------ builder.json | 2 +- package-lock.json | 48 +++++++++++++++++++++++----------------- package.json | 2 +- 5 files changed, 32 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a10a1489..d18e0bdd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - 'docs' env: - BUILDER_VERSION: v0.9.21 + BUILDER_VERSION: v0.9.46 BUILDER_SOURCE: releases BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net PACKAGE_NAME: aws-iot-device-sdk-js-v2 diff --git a/README.md b/README.md index 431a0774..97c2a72b 100644 --- a/README.md +++ b/README.md @@ -10,18 +10,12 @@ This document provides information about the AWS IoT device SDK for Javascript V * [API Docs](https://aws.github.io/aws-iot-device-sdk-js-v2/) * [MQTT5 User Guide](https://github.com/awslabs/aws-crt-nodejs/blob/main/MQTT5-UserGuide.md) -## Impending Node Version Update -In the coming months, the v2 IoT SDK will be updating its Node baseline from 10.16 to 14. A -[discussion thread](https://github.com/awslabs/aws-crt-nodejs/discussions/468) -has been created for any questions or feedback you may have. We do not yet have a concrete timeline for when the -update will happen. - ## Installation ### Minimum Requirements For use with Node, the following are required: -* Node v10.0+ +* Node v14+ * Run `node -v` to check Node version. * CMake 3.1+ diff --git a/builder.json b/builder.json index c5f1c21e..53af8ea4 100644 --- a/builder.json +++ b/builder.json @@ -1,7 +1,7 @@ { "name": "aws-iot-device-sdk-js-v2", "imports": [ - "nodejs", + "node-14", "JDK8" ], "+packages": [ diff --git a/package-lock.json b/package-lock.json index 7b0f50ab..e4252726 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1827,29 +1827,42 @@ "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "dev": true + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "aws-crt": { - "version": "1.18.2", - "resolved": "https://registry.npmjs.org/aws-crt/-/aws-crt-1.18.2.tgz", - "integrity": "sha512-FO7H96Db4oiz7ZIJCVA8pcUTGN37BxJgdmIQivkP2WWkyqpsoTrstbcFewfD7atdg7w1RhXmST1bg/zQNzh8YA==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/aws-crt/-/aws-crt-1.19.0.tgz", + "integrity": "sha512-pBRSpy4TsL/fxW7Lp1xpN1FhnxvtBXFYx3Njo/j/m8GSV3Ytq/mBetYq7vhDb7CJQmFJCWod9I0yShqjiSUuyQ==", "requires": { "@aws-sdk/util-utf8-browser": "^3.109.0", - "@httptoolkit/websocket-stream": "^6.0.0", - "axios": "^0.24.0", + "@httptoolkit/websocket-stream": "^6.0.1", + "axios": "^1.6.0", "buffer": "^6.0.3", - "crypto-js": "^4.0.0", + "crypto-js": "^4.2.0", "mqtt": "^4.3.7", "process": "^0.11.10" } }, "axios": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz", - "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "requires": { - "follow-redirects": "^1.14.4" + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + }, + "dependencies": { + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + } } }, "babel-jest": { @@ -2250,7 +2263,6 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, "requires": { "delayed-stream": "~1.0.0" } @@ -2427,8 +2439,7 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "dev": true + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "delegates": { "version": "1.0.0", @@ -4163,14 +4174,12 @@ "mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" }, "mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, "requires": { "mime-db": "1.52.0" } @@ -4588,8 +4597,7 @@ "proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "dev": true + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "psl": { "version": "1.9.0", diff --git a/package.json b/package.json index 52640663..a8cc9fbc 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,6 @@ }, "dependencies": { "@aws-sdk/util-utf8-browser": "^3.109.0", - "aws-crt": "^1.18.2" + "aws-crt": "^1.19.0" } }