From 671aa704982602cb508b0aa153bf72901a0f7b55 Mon Sep 17 00:00:00 2001 From: George Fu Date: Tue, 7 May 2024 15:58:34 -0400 Subject: [PATCH] chore: update engines to node16 (#1258) * chore: update engines to node16 * chore: update all engines to node16 * chore: update yarn lock * chore: changeset * chore: update test-typescript action to use node16 * chore: additional node16 updates * chore: node16 * chore: undo hand edit version bump --- .changeset/sharp-jeans-refuse.md | 59 ++++++++ .github/workflows/ci.yml | 2 +- package.json | 6 +- packages/abort-controller/package.json | 3 +- .../chunked-blob-reader-native/package.json | 1 - packages/chunked-blob-reader/package.json | 1 - packages/config-resolver/package.json | 3 +- packages/core/package.json | 4 +- .../credential-provider-imds/package.json | 5 +- packages/eventstream-codec/package.json | 3 +- .../eventstream-serde-browser/package.json | 3 +- .../package.json | 3 +- packages/eventstream-serde-node/package.json | 5 +- .../eventstream-serde-universal/package.json | 5 +- .../package.json | 3 +- packages/fetch-http-handler/package.json | 1 - packages/hash-blob-browser/package.json | 1 - packages/hash-node/package.json | 5 +- packages/hash-stream-node/package.json | 5 +- packages/invalid-dependency/package.json | 1 - packages/is-array-buffer/package.json | 3 +- packages/md5-js/package.json | 3 +- .../package.json | 3 +- packages/middleware-compression/package.json | 3 +- .../middleware-content-length/package.json | 3 +- packages/middleware-endpoint/package.json | 3 +- packages/middleware-retry/package.json | 3 +- packages/middleware-serde/package.json | 3 +- packages/middleware-stack/package.json | 3 +- packages/node-config-provider/package.json | 5 +- packages/node-http-handler/package.json | 5 +- packages/property-provider/package.json | 3 +- packages/protocol-http/package.json | 3 +- packages/querystring-builder/package.json | 3 +- packages/querystring-parser/package.json | 3 +- .../package.json | 6 +- .../service-error-classification/package.json | 3 +- packages/shared-ini-file-loader/package.json | 5 +- packages/signature-v4/package.json | 3 +- packages/smithy-client/package.json | 5 +- .../emitWarningIfUnsupportedVersion.spec.ts | 11 +- .../src/emitWarningIfUnsupportedVersion.ts | 8 +- packages/types/package.json | 3 +- packages/url-parser/package.json | 1 - packages/util-base64/package.json | 5 +- .../util-body-length-browser/package.json | 1 - packages/util-body-length-node/package.json | 5 +- packages/util-buffer-from/package.json | 5 +- packages/util-config-provider/package.json | 5 +- .../util-defaults-mode-browser/package.json | 3 +- packages/util-defaults-mode-node/package.json | 3 +- packages/util-endpoints/package.json | 5 +- packages/util-hex-encoding/package.json | 3 +- packages/util-middleware/package.json | 5 +- packages/util-retry/package.json | 5 +- packages/util-stream-node/package.json | 4 +- packages/util-stream/package.json | 4 +- packages/util-uri-escape/package.json | 3 +- packages/util-utf8/package.json | 3 +- packages/util-waiter/package.json | 3 +- private/util-test/package.json | 3 +- scripts/check-dependencies.js | 47 ++++++- scripts/compilation/Inliner.js | 2 +- scripts/runtime-dep-version-check.js | 87 ++++++++++++ .../server-apigateway/package.json | 4 +- .../server-common/package.json | 4 +- .../server-node/package.json | 4 +- yarn.lock | 130 +++++------------- 68 files changed, 308 insertions(+), 248 deletions(-) create mode 100644 .changeset/sharp-jeans-refuse.md create mode 100644 scripts/runtime-dep-version-check.js diff --git a/.changeset/sharp-jeans-refuse.md b/.changeset/sharp-jeans-refuse.md new file mode 100644 index 00000000000..e73aad3bbeb --- /dev/null +++ b/.changeset/sharp-jeans-refuse.md @@ -0,0 +1,59 @@ +--- +"@smithy/service-client-documentation-generator": major +"@smithy/eventstream-serde-config-resolver": major +"@smithy/middleware-apply-body-checksum": major +"@smithy/service-error-classification": major +"@smithy/eventstream-serde-universal": major +"@smithy/chunked-blob-reader-native": major +"@smithy/util-defaults-mode-browser": major +"@smithy/eventstream-serde-browser": major +"@smithy/middleware-content-length": major +"@smithy/credential-provider-imds": major +"@smithy/util-body-length-browser": major +"@smithy/util-defaults-mode-node": major +"@smithy/eventstream-serde-node": major +"@smithy/middleware-compression": major +"@smithy/shared-ini-file-loader": major +"@smithy/util-body-length-node": major +"@smithy/node-config-provider": major +"@smithy/util-config-provider": major +"@smithy/chunked-blob-reader": major +"@smithy/middleware-endpoint": major +"@smithy/querystring-builder": major +"@smithy/fetch-http-handler": major +"@smithy/invalid-dependency": major +"@smithy/querystring-parser": major +"@smithy/eventstream-codec": major +"@smithy/hash-blob-browser": major +"@smithy/node-http-handler": major +"@smithy/property-provider": major +"@smithy/util-hex-encoding": major +"@smithy/abort-controller": major +"@smithy/hash-stream-node": major +"@smithy/middleware-retry": major +"@smithy/middleware-serde": major +"@smithy/middleware-stack": major +"@smithy/util-buffer-from": major +"@smithy/util-stream-node": major +"@smithy/config-resolver": major +"@smithy/is-array-buffer": major +"@smithy/util-middleware": major +"@smithy/util-uri-escape": major +"@smithy/util-endpoints": major +"@smithy/protocol-http": major +"@smithy/smithy-client": major +"@smithy/signature-v4": major +"@smithy/util-base64": major +"@smithy/util-stream": major +"@smithy/util-waiter": major +"@smithy/url-parser": major +"@smithy/util-retry": major +"@smithy/hash-node": major +"@smithy/util-utf8": major +"@smithy/md5-js": major +"@smithy/types": major +"@smithy/core": major +"@smithy/experimental-identity-and-auth": minor +--- + +update to node16 minimum diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a73b1569ccd..1944c3f0015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 16 cache: "yarn" - uses: gradle/wrapper-validation-action@v2 - name: Set up JDK 17 diff --git a/package.json b/package.json index b040835282a..667415302ab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "test:integration": "yarn build-test-packages && turbo run test:integration", "lint": "turbo run lint", "lint-fix": "turbo run lint -- --fix", - "lint:pkgJson": "node scripts/check-dependencies.js", + "lint:pkgJson": "yarn lint:dependencies", + "lint:dependencies": "node scripts/check-dependencies.js", + "lint:versions": "node scripts/runtime-dep-version-check.js", "format": "turbo run format --parallel", "stage-release": "turbo run stage-release", "extract:docs": "mkdir -p api-extractor-packages && turbo run extract:docs", @@ -76,7 +78,7 @@ "packageManager": "yarn@3.4.1", "husky": { "hooks": { - "pre-commit": "yarn lint:pkgJson" + "pre-commit": "yarn lint:dependencies && yarn lint:versions" } } } diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index debddcfd5de..4cf3b26ec0e 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -28,7 +28,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -47,7 +47,6 @@ "directory": "packages/abort-controller" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/chunked-blob-reader-native/package.json b/packages/chunked-blob-reader-native/package.json index 09ea4c7c563..15615956d54 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -42,7 +42,6 @@ "directory": "packages/chunked-blob-reader-native" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/chunked-blob-reader/package.json b/packages/chunked-blob-reader/package.json index e6edf4da501..568d2bb494f 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -41,7 +41,6 @@ "directory": "packages/chunked-blob-reader" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/config-resolver/package.json b/packages/config-resolver/package.json index bbbf7157880..7cb01ce9d3d 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -30,14 +30,13 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/core/package.json b/packages/core/package.json index 8056fbc702c..12b92d0b967 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -33,7 +33,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -52,7 +52,7 @@ "directory": "packages/core" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/credential-provider-imds/package.json b/packages/credential-provider-imds/package.json index 5ab1c986f7a..0b9c29a9b15 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -33,8 +33,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "nock": "^13.0.2", @@ -43,7 +42,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/eventstream-codec/package.json b/packages/eventstream-codec/package.json index 09ed14a5827..f5c8d91ac3d 100644 --- a/packages/eventstream-codec/package.json +++ b/packages/eventstream-codec/package.json @@ -29,8 +29,7 @@ }, "devDependencies": { "@smithy/util-utf8": "workspace:^", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index b510599f2d5..a5a48314c37 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -46,7 +46,6 @@ "directory": "packages/eventstream-serde-browser" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/eventstream-serde-config-resolver/package.json b/packages/eventstream-serde-config-resolver/package.json index 1ccc1703c55..91955cea606 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -46,7 +46,6 @@ "directory": "packages/eventstream-serde-config-resolver" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index c7a30525bef..843e284fd61 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -27,15 +27,14 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/eventstream-serde-universal/package.json b/packages/eventstream-serde-universal/package.json index 0c5faa5397c..4d5e638f3b7 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -28,15 +28,14 @@ }, "devDependencies": { "@smithy/util-utf8": "workspace:^", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/experimental-identity-and-auth/package.json b/packages/experimental-identity-and-auth/package.json index eafcf2a5b0b..35f8329d2b5 100644 --- a/packages/experimental-identity-and-auth/package.json +++ b/packages/experimental-identity-and-auth/package.json @@ -34,7 +34,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -54,7 +54,6 @@ }, "devDependencies": { "@smithy/util-test": "workspace:^", - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index f7702fbdebc..7ac05d187d6 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -32,7 +32,6 @@ }, "devDependencies": { "@smithy/abort-controller": "workspace:^", - "@tsconfig/recommended": "1.0.1", "@types/chai-as-promised": "^7.1.2", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/packages/hash-blob-browser/package.json b/packages/hash-blob-browser/package.json index 458e8e5f639..a25fc064219 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -30,7 +30,6 @@ "devDependencies": { "@aws-crypto/sha256-js": "3.0.0", "@smithy/util-hex-encoding": "workspace:^", - "@tsconfig/recommended": "1.0.1", "@types/chai-as-promised": "^7.1.2", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index fb2974f1314..402bb848d59 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -22,8 +22,7 @@ }, "license": "Apache-2.0", "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "hash-test-vectors": "^1.3.2", @@ -37,7 +36,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/hash-stream-node/package.json b/packages/hash-stream-node/package.json index 375cf585994..993f93fad74 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -29,15 +29,14 @@ "devDependencies": { "@aws-crypto/sha256-js": "3.0.0", "@smithy/util-hex-encoding": "workspace:^", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/invalid-dependency/package.json b/packages/invalid-dependency/package.json index 59d296cdbe1..17ae888fd7b 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -42,7 +42,6 @@ "directory": "packages/invalid-dependency" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/is-array-buffer/package.json b/packages/is-array-buffer/package.json index 6486ef71399..1b2094bee28 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -26,7 +26,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -45,7 +45,6 @@ "directory": "packages/is-array-buffer" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/md5-js/package.json b/packages/md5-js/package.json index ec1b5988e8a..0f8032f592d 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -24,8 +24,7 @@ "devDependencies": { "@smithy/util-base64": "workspace:^", "@smithy/util-hex-encoding": "workspace:^", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "hash-test-vectors": "^1.3.2", diff --git a/packages/middleware-apply-body-checksum/package.json b/packages/middleware-apply-body-checksum/package.json index adab4ded816..66177e1130a 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -29,7 +29,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -49,7 +49,6 @@ }, "devDependencies": { "@smithy/util-test": "workspace:^", - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/middleware-compression/package.json b/packages/middleware-compression/package.json index c7c737be53f..f02a47a7e70 100644 --- a/packages/middleware-compression/package.json +++ b/packages/middleware-compression/package.json @@ -26,7 +26,6 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -34,7 +33,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index 93f38b8f77b..3c36bc6a5c7 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -28,7 +28,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -48,7 +48,6 @@ }, "devDependencies": { "@smithy/util-test": "workspace:^", - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/middleware-endpoint/package.json b/packages/middleware-endpoint/package.json index 12a564dfafc..8e7c61dcc06 100644 --- a/packages/middleware-endpoint/package.json +++ b/packages/middleware-endpoint/package.json @@ -32,14 +32,13 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index 25364a59200..3743b2a16a2 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -43,7 +43,6 @@ }, "devDependencies": { "@smithy/util-test": "workspace:^", - "@tsconfig/recommended": "1.0.1", "@types/uuid": "^8.3.0", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", @@ -51,7 +50,7 @@ "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/middleware-serde/package.json b/packages/middleware-serde/package.json index cb4ebcbe561..924dece75a5 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -47,7 +47,6 @@ }, "devDependencies": { "@smithy/util-test": "workspace:^", - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index 524a0a25a74..aeedaaf362a 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -29,14 +29,13 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/node-config-provider/package.json b/packages/node-config-provider/package.json index 462f07ff851..5f4803e0630 100644 --- a/packages/node-config-provider/package.json +++ b/packages/node-config-provider/package.json @@ -30,15 +30,14 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index 80ec7bc7910..0bb7c9623e2 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -32,15 +32,14 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/property-provider/package.json b/packages/property-provider/package.json index a669a277376..61ca7ae7546 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -26,7 +26,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -45,7 +45,6 @@ "directory": "packages/property-provider" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/protocol-http/package.json b/packages/protocol-http/package.json index 13375b6ffc4..bf026e25a5d 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -46,7 +46,6 @@ "directory": "packages/protocol-http" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index aeeba54861a..b0b5bf04e93 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -46,7 +46,6 @@ "directory": "packages/querystring-builder" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/querystring-parser/package.json b/packages/querystring-parser/package.json index 61046df63d6..739cc74180b 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -26,7 +26,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -45,7 +45,6 @@ "directory": "packages/querystring-parser" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/service-client-documentation-generator/package.json b/packages/service-client-documentation-generator/package.json index ae482bda8af..bd8cfb98f39 100644 --- a/packages/service-client-documentation-generator/package.json +++ b/packages/service-client-documentation-generator/package.json @@ -25,11 +25,11 @@ "typedocplugin" ], "dependencies": { - "tslib": "^2.6.2" + "tslib": "^2.6.2", + "typedoc": "0.23.23" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2" diff --git a/packages/service-error-classification/package.json b/packages/service-error-classification/package.json index a687b8bcfa0..a66577e86ac 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -22,14 +22,13 @@ }, "license": "Apache-2.0", "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index 9f16916fb2a..7b24a9a5324 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -6,8 +6,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -45,7 +44,7 @@ "./dist-es/slurpFile": false }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index 1b6074a10bf..50af3c72014 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -35,14 +35,13 @@ "devDependencies": { "@aws-crypto/sha256-js": "3.0.0", "@smithy/protocol-http": "workspace:^", - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index cacc9d74c35..fb8ff9a0191 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -31,7 +31,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -50,8 +50,7 @@ "directory": "packages/smithy-client" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts index c65db5f4adf..6d228d49e24 100644 --- a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts +++ b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.spec.ts @@ -1,7 +1,7 @@ describe.skip("emitWarningIfUnsupportedVersion", () => { let emitWarningIfUnsupportedVersion; const emitWarning = process.emitWarning; - const supportedVersion = "14.0.0"; + const supportedVersion = "16.0.0"; beforeEach(() => { const module = require("./emitWarningIfUnsupportedVersion"); @@ -36,14 +36,7 @@ describe.skip("emitWarningIfUnsupportedVersion", () => { // Verify that the warning was emitted. expect(process.emitWarning).toHaveBeenCalledTimes(1); - expect(process.emitWarning).toHaveBeenCalledWith( - `The AWS SDK for JavaScript (v3) will\n` + - `no longer support Node.js ${unsupportedVersion} on November 1, 2022.\n\n` + - `To continue receiving updates to AWS services, bug fixes, and security\n` + - `updates please upgrade to Node.js 14.x or later.\n\n` + - `For details, please refer our blog post: https://a.co/48dbdYz`, - `NodeDeprecationWarning` - ); + expect(process.emitWarning).toHaveBeenCalledWith(`<>`, `NodeDeprecationWarning`); // Verify that the warning emits only once. emitWarningIfUnsupportedVersion(unsupportedVersion); diff --git a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts index ec6b96baf34..92a514d7099 100644 --- a/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts +++ b/packages/smithy-client/src/emitWarningIfUnsupportedVersion.ts @@ -9,15 +9,15 @@ let warningEmitted = false; * @param version - The Node.js version string. */ export const emitWarningIfUnsupportedVersion = (version: string) => { - if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 14) { + if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { warningEmitted = true; // ToDo: Turn back warning for future Node.js version deprecation // process.emitWarning( // `The AWS SDK for JavaScript (v3) will\n` + - // `no longer support Node.js ${version} on November 1, 2022.\n\n` + + // `no longer support Node.js ${version} on <>.\n\n` + // `To continue receiving updates to AWS services, bug fixes, and security\n` + - // `updates please upgrade to Node.js 14.x or later.\n\n` + - // `For details, please refer our blog post: https://a.co/48dbdYz`, + // `updates please upgrade to Node.js <> or later.\n\n` + + // `For details, please refer our blog post: <>`, // `NodeDeprecationWarning` // ); } diff --git a/packages/types/package.json b/packages/types/package.json index 7965f781a55..7b471e09452 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -27,7 +27,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<=4.0": { @@ -46,7 +46,6 @@ "directory": "packages/types" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/url-parser/package.json b/packages/url-parser/package.json index 04e950120ae..e55336a8b3c 100644 --- a/packages/url-parser/package.json +++ b/packages/url-parser/package.json @@ -43,7 +43,6 @@ "directory": "packages/url-parser" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-base64/package.json b/packages/util-base64/package.json index 4272b793085..68391aee5b8 100644 --- a/packages/util-base64/package.json +++ b/packages/util-base64/package.json @@ -27,8 +27,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -36,7 +35,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-body-length-browser/package.json b/packages/util-body-length-browser/package.json index 4ceef31af66..b6ab8d6277f 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -42,7 +42,6 @@ "directory": "packages/util-body-length-browser" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-body-length-node/package.json b/packages/util-body-length-node/package.json index d47a9397f3b..08bd902a81d 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -15,8 +15,7 @@ "test": "yarn g:jest" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -34,7 +33,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-buffer-from/package.json b/packages/util-buffer-from/package.json index f35ffc9ab2e..f70fee1ca54 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -23,8 +23,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -34,7 +33,7 @@ "module": "./dist-es/index.js", "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-config-provider/package.json b/packages/util-config-provider/package.json index cfee1636f0d..f442a27bf74 100644 --- a/packages/util-config-provider/package.json +++ b/packages/util-config-provider/package.json @@ -27,15 +27,14 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-defaults-mode-browser/package.json b/packages/util-defaults-mode-browser/package.json index 18aa85f9fe7..d9e8ec426db 100644 --- a/packages/util-defaults-mode-browser/package.json +++ b/packages/util-defaults-mode-browser/package.json @@ -29,8 +29,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-defaults-mode-node/package.json b/packages/util-defaults-mode-node/package.json index 47ce6533035..a1d4a582ef4 100644 --- a/packages/util-defaults-mode-node/package.json +++ b/packages/util-defaults-mode-node/package.json @@ -31,8 +31,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-endpoints/package.json b/packages/util-endpoints/package.json index 3451c8ffafe..3d38cdbcb33 100644 --- a/packages/util-endpoints/package.json +++ b/packages/util-endpoints/package.json @@ -31,8 +31,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -40,7 +39,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">= 14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-hex-encoding/package.json b/packages/util-hex-encoding/package.json index b02eadfc568..c78be1e490d 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -26,7 +26,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -45,7 +45,6 @@ "directory": "packages/util-hex-encoding" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-middleware/package.json b/packages/util-middleware/package.json index e1a29cb09fa..8e9ad51f43f 100644 --- a/packages/util-middleware/package.json +++ b/packages/util-middleware/package.json @@ -30,8 +30,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -39,7 +38,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-retry/package.json b/packages/util-retry/package.json index 0c444f836f6..d8706e16ac8 100644 --- a/packages/util-retry/package.json +++ b/packages/util-retry/package.json @@ -32,8 +32,7 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -41,7 +40,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">= 14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-stream-node/package.json b/packages/util-stream-node/package.json index 20004bd84cc..543be45f14e 100644 --- a/packages/util-stream-node/package.json +++ b/packages/util-stream-node/package.json @@ -28,14 +28,14 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", "typedoc": "0.23.23" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-stream/package.json b/packages/util-stream/package.json index eae18daa0bb..1625a72fbfc 100644 --- a/packages/util-stream/package.json +++ b/packages/util-stream/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@smithy/util-test": "workspace:^", "@types/chai-as-promised": "^7.1.2", - "@types/node": "^14.14.31", + "@types/node": "^16.18.96", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "concurrently": "7.0.0", @@ -58,7 +58,7 @@ "webpack-cli": "4.10.0" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-uri-escape/package.json b/packages/util-uri-escape/package.json index 719b9b691f3..e84d346b095 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -25,7 +25,7 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -44,7 +44,6 @@ "directory": "packages/util-uri-escape" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/packages/util-utf8/package.json b/packages/util-utf8/package.json index 43d5876b095..b470333b0ce 100644 --- a/packages/util-utf8/package.json +++ b/packages/util-utf8/package.json @@ -26,7 +26,6 @@ "tslib": "^2.6.2" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -34,7 +33,7 @@ }, "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/packages/util-waiter/package.json b/packages/util-waiter/package.json index 5d8b15ff857..0673aa3beb4 100644 --- a/packages/util-waiter/package.json +++ b/packages/util-waiter/package.json @@ -28,7 +28,7 @@ "module": "./dist-es/index.js", "types": "./dist-types/index.d.ts", "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { @@ -47,7 +47,6 @@ "directory": "packages/util-waiter" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/private/util-test/package.json b/private/util-test/package.json index 583b106fd14..43196542a63 100644 --- a/private/util-test/package.json +++ b/private/util-test/package.json @@ -21,10 +21,9 @@ "tslib": "^2.6.2" }, "engines": { - "node": ">=14.0.0" + "node": ">=16.0.0" }, "devDependencies": { - "@tsconfig/recommended": "1.0.1", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", diff --git a/scripts/check-dependencies.js b/scripts/check-dependencies.js index bb02cea8177..38673033d9c 100644 --- a/scripts/check-dependencies.js +++ b/scripts/check-dependencies.js @@ -11,6 +11,34 @@ const packages = path.join(root, "packages"); const walk = require("./utils/walk"); const pkgJsonEnforcement = require("./package-json-enforcement"); +const node_libraries = [ + "buffer", + "child_process", + "crypto", + "dns", + "dns/promises", + "events", + "fs", + "fs/promises", + "http", + "http2", + "https", + "net", + "os", + "path", + "path/posix", + "path/win32", + "process", + "stream", + "stream/consumers", + "stream/promises", + "stream/web", + "tls", + "url", + "util", + "zlib", +]; + (async () => { const errors = []; for (const folder of fs.readdirSync(packages)) { @@ -33,27 +61,36 @@ const pkgJsonEnforcement = require("./package-json-enforcement"); const importedDependencies = []; importedDependencies.push( ...new Set( - [...(contents.toString().match(/(from\s|import\()"(@(aws-sdk|smithy)\/.*?)";/g) || [])] + [...(contents.toString().match(/(from |import\()"(.*?)";/g) || [])] .map((_) => _.replace(/from "/g, "").replace(/";$/, "")) + .filter((_) => !_.startsWith(".") && !node_libraries.includes(_)) ) ); for (const dependency of importedDependencies) { - if (!(dependency in pkgJson.dependencies) && dependency !== pkgJson.name) { + const dependencyPackageName = dependency.startsWith("@") + ? dependency.split("/").slice(0, 2).join("/") + : dependency.split("/")[0]; + + if ( + !(dependencyPackageName in (pkgJson.dependencies ?? {})) && + !(dependencyPackageName in (pkgJson.peerDependencies ?? {})) && + dependencyPackageName !== pkgJson.name + ) { errors.push(`${dependency} undeclared but imported in ${pkgJson.name} ${file}}`); } } for (const [dep, version] of Object.entries(pkgJson.devDependencies ?? {})) { - if (dep.startsWith("@smithy/") && contents.includes(`from "${dep}";`)) { - console.warn(`${dep} incorrectly declared in devDependencies of ${folder}`); + if ((dep.startsWith("@smithy") || dep.startsWith("@aws-sdk")) && contents.includes(`from "${dep}";`)) { + errors.push(`${dep} incorrectly declared in devDependencies of ${packageFolder}`); delete pkgJson.devDependencies[dep]; if (!pkgJson.dependencies) { pkgJson.dependencies = {}; } pkgJson.dependencies[dep] = version; - fs.writeFileSync(pkgJsonPath, JSON.stringify(pkgJson, null, 2)); + fs.writeFileSync(pkgJsonPath, JSON.stringify(pkgJson, null, 2) + "\n"); } } } diff --git a/scripts/compilation/Inliner.js b/scripts/compilation/Inliner.js index 280b3fdcdf1..9dc9293e16d 100644 --- a/scripts/compilation/Inliner.js +++ b/scripts/compilation/Inliner.js @@ -151,7 +151,7 @@ module.exports = class Inliner { await esbuild.build({ platform: this.platform, - target: ["node14"], + target: ["node16"], bundle: true, format: "cjs", mainFields: ["main"], diff --git a/scripts/runtime-dep-version-check.js b/scripts/runtime-dep-version-check.js new file mode 100644 index 00000000000..01c7808ce14 --- /dev/null +++ b/scripts/runtime-dep-version-check.js @@ -0,0 +1,87 @@ +#!/usr/bin/env node + +/** + * This script checks the declared dependencies throughout the entire repo + * and throws an error if there is are more than one version of a dependency. + * + * @example + * ``` + * There is more than one version of a declared dependency + * @smithy/middleware-endpoint { + * '^1.0.2': '350 locations', + * '^1.0.1': [ + * '@aws-sdk/lib-storage', + * '@aws-sdk/middleware-sdk-ec2', + * '@aws-sdk/middleware-sdk-rds', + * '@aws-sdk/s3-presigned-post', + * '@aws-sdk/s3-request-presigner' + * ] + * } + * ``` + */ + +const fs = require("fs"); +const path = require("path"); + +const root = path.join(__dirname, ".."); + +const packages = fs.readdirSync(path.join(root, "packages")); + +const nonClientPackages = [...packages.map((p) => path.join(root, "packages", p))]; + +const deps = { + /* @namespace/name: { + [version]: [location, location] + } */ +}; + +readPackages(nonClientPackages); +checkVersions(); + +function checkVersions() { + const errors = []; + + for (const [pkg, versions] of Object.entries(deps)) { + const versionCount = Object.keys(versions).length; + if (versionCount > 1) { + console.error("There is more than one version of a declared dependency."); + console.error( + pkg, + Object.entries(versions).reduce((acc, [version, locations]) => { + acc[version] = locations.length > 20 ? `${locations.length} locations` : locations; + return acc; + }, {}) + ); + errors.push(pkg); + } + } + + if (errors.length) { + const violations = errors.join(", "); + throw new Error(violations + " have inconsistent declared versions."); + } +} + +function readPackages(packages) { + for (const pkg of packages) { + const pkgJson = require(path.join(pkg, "package.json")); + const { dependencies = {}, devDependencies = {} } = pkgJson; + for (const [name, version] of Object.entries(dependencies)) { + if (version.startsWith("file:")) { + continue; + } + deps[name] = deps[name] ?? {}; + deps[name][version] = deps[name][version] ?? []; + deps[name][version].push(pkgJson.name); + } + + for (const [name, version] of Object.entries(devDependencies)) { + if (version.startsWith("file:")) { + continue; + } + deps[name] = deps[name] ?? {}; + deps[name][version] = deps[name][version] ?? []; + deps[name][version].push(pkgJson.name); + } + } +} diff --git a/smithy-typescript-ssdk-libs/server-apigateway/package.json b/smithy-typescript-ssdk-libs/server-apigateway/package.json index cea2edfaecb..7d613786362 100644 --- a/smithy-typescript-ssdk-libs/server-apigateway/package.json +++ b/smithy-typescript-ssdk-libs/server-apigateway/package.json @@ -33,7 +33,7 @@ "tslib": "^1.8.0" }, "devDependencies": { - "@types/node": "^14.14.37", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "^0.7.0", "jest": "28.1.1", @@ -46,7 +46,7 @@ "!**/*.spec.*" ], "engines": { - "node": ">= 14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/smithy-typescript-ssdk-libs/server-common/package.json b/smithy-typescript-ssdk-libs/server-common/package.json index 5c0e3a6da5b..2cac30e8a49 100644 --- a/smithy-typescript-ssdk-libs/server-common/package.json +++ b/smithy-typescript-ssdk-libs/server-common/package.json @@ -33,7 +33,7 @@ "tslib": "^1.8.0" }, "devDependencies": { - "@types/node": "^14.14.37", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "^0.7.0", "jest": "28.1.1", @@ -46,7 +46,7 @@ "!**/*.spec.*" ], "engines": { - "node": ">= 14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/smithy-typescript-ssdk-libs/server-node/package.json b/smithy-typescript-ssdk-libs/server-node/package.json index 25a3e843abb..512ff842c6a 100644 --- a/smithy-typescript-ssdk-libs/server-node/package.json +++ b/smithy-typescript-ssdk-libs/server-node/package.json @@ -32,7 +32,7 @@ "tslib": "^1.8.0" }, "devDependencies": { - "@types/node": "^14.14.37", + "@types/node": "^16.18.96", "concurrently": "7.0.0", "downlevel-dts": "^0.7.0", "jest": "28.1.1", @@ -45,7 +45,7 @@ "!**/*.spec.*" ], "engines": { - "node": ">= 14.0.0" + "node": ">=16.0.0" }, "typesVersions": { "<4.0": { diff --git a/yarn.lock b/yarn.lock index c520fa08cf9..a34f2f09130 100644 --- a/yarn.lock +++ b/yarn.lock @@ -73,7 +73,7 @@ __metadata: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" "@types/aws-lambda": ^8.10.72 - "@types/node": ^14.14.37 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: ^0.7.0 jest: 28.1.1 @@ -89,7 +89,7 @@ __metadata: dependencies: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" - "@types/node": ^14.14.37 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: ^0.7.0 jest: 28.1.1 @@ -106,7 +106,7 @@ __metadata: dependencies: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" - "@types/node": ^14.14.37 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: ^0.7.0 jest: 28.1.1 @@ -1879,7 +1879,6 @@ __metadata: resolution: "@smithy/abort-controller@workspace:packages/abort-controller" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1893,7 +1892,6 @@ __metadata: resolution: "@smithy/chunked-blob-reader-native@workspace:packages/chunked-blob-reader-native" dependencies: "@smithy/util-base64": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1906,7 +1904,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/chunked-blob-reader@workspace:packages/chunked-blob-reader" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1923,7 +1920,6 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/util-config-provider": "workspace:^" "@smithy/util-middleware": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1943,7 +1939,7 @@ __metadata: "@smithy/smithy-client": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-middleware": "workspace:^" - "@tsconfig/recommended": 1.0.1 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1960,8 +1956,7 @@ __metadata: "@smithy/property-provider": "workspace:^" "@smithy/types": "workspace:^" "@smithy/url-parser": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 nock: ^13.0.2 @@ -1979,8 +1974,7 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/util-hex-encoding": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -1995,7 +1989,6 @@ __metadata: dependencies: "@smithy/eventstream-serde-universal": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2009,7 +2002,6 @@ __metadata: resolution: "@smithy/eventstream-serde-config-resolver@workspace:packages/eventstream-serde-config-resolver" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2024,8 +2016,7 @@ __metadata: dependencies: "@smithy/eventstream-serde-universal": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2041,8 +2032,7 @@ __metadata: "@smithy/eventstream-codec": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2063,7 +2053,6 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/util-middleware": "workspace:^" "@smithy/util-test": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2081,7 +2070,6 @@ __metadata: "@smithy/querystring-builder": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-base64": "workspace:^" - "@tsconfig/recommended": 1.0.1 "@types/chai-as-promised": ^7.1.2 chai: ^4.2.0 chai-as-promised: ^7.1.1 @@ -2115,7 +2103,6 @@ __metadata: "@smithy/chunked-blob-reader-native": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-hex-encoding": "workspace:^" - "@tsconfig/recommended": 1.0.1 "@types/chai-as-promised": ^7.1.2 chai: ^4.2.0 chai-as-promised: ^7.1.1 @@ -2147,8 +2134,7 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/util-buffer-from": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 hash-test-vectors: ^1.3.2 @@ -2166,8 +2152,7 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/util-hex-encoding": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2181,7 +2166,6 @@ __metadata: resolution: "@smithy/invalid-dependency@workspace:packages/invalid-dependency" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2194,7 +2178,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/is-array-buffer@workspace:packages/is-array-buffer" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2211,8 +2194,7 @@ __metadata: "@smithy/util-base64": "workspace:^" "@smithy/util-hex-encoding": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 hash-test-vectors: ^1.3.2 @@ -2230,7 +2212,6 @@ __metadata: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-test": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2250,7 +2231,6 @@ __metadata: "@smithy/util-config-provider": "workspace:^" "@smithy/util-middleware": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 fflate: 0.8.1 @@ -2267,7 +2247,6 @@ __metadata: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-test": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2286,7 +2265,6 @@ __metadata: "@smithy/types": "workspace:^" "@smithy/url-parser": "workspace:^" "@smithy/util-middleware": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2307,7 +2285,6 @@ __metadata: "@smithy/util-middleware": "workspace:^" "@smithy/util-retry": "workspace:^" "@smithy/util-test": "workspace:^" - "@tsconfig/recommended": 1.0.1 "@types/uuid": ^8.3.0 concurrently: 7.0.0 downlevel-dts: 0.10.1 @@ -2324,7 +2301,6 @@ __metadata: dependencies: "@smithy/types": "workspace:^" "@smithy/util-test": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2338,7 +2314,6 @@ __metadata: resolution: "@smithy/middleware-stack@workspace:packages/middleware-stack" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2354,8 +2329,7 @@ __metadata: "@smithy/property-provider": "workspace:^" "@smithy/shared-ini-file-loader": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2372,8 +2346,7 @@ __metadata: "@smithy/protocol-http": "workspace:^" "@smithy/querystring-builder": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2387,7 +2360,6 @@ __metadata: resolution: "@smithy/property-provider@workspace:packages/property-provider" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2401,7 +2373,6 @@ __metadata: resolution: "@smithy/protocol-http@workspace:packages/protocol-http" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2416,7 +2387,6 @@ __metadata: dependencies: "@smithy/types": "workspace:^" "@smithy/util-uri-escape": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2430,7 +2400,6 @@ __metadata: resolution: "@smithy/querystring-parser@workspace:packages/querystring-parser" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2443,12 +2412,12 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/service-client-documentation-generator@workspace:packages/service-client-documentation-generator" dependencies: - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 tslib: ^2.6.2 + typedoc: 0.23.23 languageName: unknown linkType: soft @@ -2457,7 +2426,6 @@ __metadata: resolution: "@smithy/service-error-classification@workspace:packages/service-error-classification" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2470,8 +2438,7 @@ __metadata: resolution: "@smithy/shared-ini-file-loader@workspace:packages/shared-ini-file-loader" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2492,7 +2459,6 @@ __metadata: "@smithy/util-middleware": "workspace:^" "@smithy/util-uri-escape": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2510,8 +2476,7 @@ __metadata: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-stream": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2524,7 +2489,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/types@workspace:packages/types" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2539,7 +2503,6 @@ __metadata: dependencies: "@smithy/querystring-parser": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2554,8 +2517,7 @@ __metadata: dependencies: "@smithy/util-buffer-from": "workspace:^" "@smithy/util-utf8": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2568,7 +2530,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/util-body-length-browser@workspace:packages/util-body-length-browser" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2581,8 +2542,7 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/util-body-length-node@workspace:packages/util-body-length-node" dependencies: - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2596,8 +2556,7 @@ __metadata: resolution: "@smithy/util-buffer-from@workspace:packages/util-buffer-from" dependencies: "@smithy/is-array-buffer": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2610,8 +2569,7 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/util-config-provider@workspace:packages/util-config-provider" dependencies: - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2627,8 +2585,7 @@ __metadata: "@smithy/property-provider": "workspace:^" "@smithy/smithy-client": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 bowser: ^2.11.0 concurrently: 7.0.0 downlevel-dts: 0.10.1 @@ -2648,8 +2605,7 @@ __metadata: "@smithy/property-provider": "workspace:^" "@smithy/smithy-client": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2664,8 +2620,7 @@ __metadata: dependencies: "@smithy/node-config-provider": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2678,7 +2633,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/util-hex-encoding@workspace:packages/util-hex-encoding" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2692,8 +2646,7 @@ __metadata: resolution: "@smithy/util-middleware@workspace:packages/util-middleware" dependencies: "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2708,8 +2661,7 @@ __metadata: dependencies: "@smithy/service-error-classification": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2742,7 +2694,7 @@ __metadata: "@smithy/node-http-handler": "workspace:^" "@smithy/types": "workspace:^" "@smithy/util-buffer-from": "workspace:^" - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2764,7 +2716,7 @@ __metadata: "@smithy/util-test": "workspace:^" "@smithy/util-utf8": "workspace:^" "@types/chai-as-promised": ^7.1.2 - "@types/node": ^14.14.31 + "@types/node": ^16.18.96 chai: ^4.2.0 chai-as-promised: ^7.1.1 concurrently: 7.0.0 @@ -2794,7 +2746,6 @@ __metadata: dependencies: "@smithy/protocol-http": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2808,7 +2759,6 @@ __metadata: version: 0.0.0-use.local resolution: "@smithy/util-uri-escape@workspace:packages/util-uri-escape" dependencies: - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2822,7 +2772,6 @@ __metadata: resolution: "@smithy/util-utf8@workspace:packages/util-utf8" dependencies: "@smithy/util-buffer-from": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2837,7 +2786,6 @@ __metadata: dependencies: "@smithy/abort-controller": "workspace:^" "@smithy/types": "workspace:^" - "@tsconfig/recommended": 1.0.1 concurrently: 7.0.0 downlevel-dts: 0.10.1 rimraf: 3.0.2 @@ -2860,13 +2808,6 @@ __metadata: languageName: node linkType: hard -"@tsconfig/recommended@npm:1.0.1": - version: 1.0.1 - resolution: "@tsconfig/recommended@npm:1.0.1" - checksum: 5f781e6a26277ee86dd0f1d575d18133627908ddf7c78acdcab0e40d0b7f21f4e1462eb8f98b74cda1d05d15fb3629ceea4c622ee031d62e31e7a99281c49294 - languageName: node - linkType: hard - "@tsconfig/recommended@npm:1.0.2": version: 1.0.2 resolution: "@tsconfig/recommended@npm:1.0.2" @@ -3101,17 +3042,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^14.14.31": - version: 14.18.51 - resolution: "@types/node@npm:14.18.51" - checksum: 0960a31d2ac605763fe79c8edcee3cb48257d345ce417c019d84ff5d8cd92dd0937674814ab3f169346b4259c29f640556006bcb2c54cfb3e63fa0cf728d320e - languageName: node - linkType: hard - -"@types/node@npm:^14.14.37": - version: 14.18.37 - resolution: "@types/node@npm:14.18.37" - checksum: d21e8c58ddd01ae069b196c2a4eaf9c9749e6666565349667334c60cfc119c1fa280234a8001157dd7ffe73501ce4f4940ca05f9d5c402c5abe78c8dca8376a6 +"@types/node@npm:^16.18.96": + version: 16.18.97 + resolution: "@types/node@npm:16.18.97" + checksum: 54f44aaeaa523d4c728177d070aeb20b8011e12ac45aff0d992e350e10cac4d899ac6429cd0f06a6c3a001c8a6cd204429b1a16628d82f1b1e4cc1cbdeca780f languageName: node linkType: hard