Skip to content

Commit

Permalink
chore: update engines to node16 (#1258)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
kuhe authored May 7, 2024
1 parent 79162c1 commit 671aa70
Show file tree
Hide file tree
Showing 68 changed files with 308 additions and 248 deletions.
59 changes: 59 additions & 0 deletions .changeset/sharp-jeans-refuse.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -76,7 +78,7 @@
"packageManager": "[email protected]",
"husky": {
"hooks": {
"pre-commit": "yarn lint:pkgJson"
"pre-commit": "yarn lint:dependencies && yarn lint:versions"
}
}
}
3 changes: 1 addition & 2 deletions packages/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/chunked-blob-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions packages/credential-provider-imds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -43,7 +42,7 @@
},
"types": "./dist-types/index.d.ts",
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
3 changes: 1 addition & 2 deletions packages/eventstream-codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/eventstream-serde-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/eventstream-serde-config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions packages/eventstream-serde-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
5 changes: 2 additions & 3 deletions packages/eventstream-serde-universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions packages/experimental-identity-and-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/fetch-http-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/hash-blob-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 2 additions & 3 deletions packages/hash-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -37,7 +36,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
5 changes: 2 additions & 3 deletions packages/hash-stream-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 0 additions & 1 deletion packages/invalid-dependency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/is-array-buffer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/md5-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/middleware-apply-body-checksum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"tslib": "^2.6.2"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand All @@ -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",
Expand Down
3 changes: 1 addition & 2 deletions packages/middleware-compression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@tsconfig/recommended": "1.0.1",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"web-streams-polyfill": "3.2.1"
},
"types": "./dist-types/index.d.ts",
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"typesVersions": {
"<4.0": {
Expand Down
Loading

0 comments on commit 671aa70

Please sign in to comment.