diff --git a/lib/storage/package.json b/lib/storage/package.json index 34dbf7362b95..2464e506ded0 100644 --- a/lib/storage/package.json +++ b/lib/storage/package.json @@ -11,6 +11,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "engines": { @@ -41,6 +42,13 @@ "ts-jest": "^26.4.1", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/trivikr/aws-sdk-js-v3/tree/master/lib/storage", "repository": { "type": "git", diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index 3e519ccabef5..4fc0c7d3bb91 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -11,6 +11,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/abort-controller", "repository": { "type": "git", diff --git a/packages/body-checksum-browser/package.json b/packages/body-checksum-browser/package.json index 88562c5e1fcd..2a3f192c1d6e 100644 --- a/packages/body-checksum-browser/package.json +++ b/packages/body-checksum-browser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/body-checksum-browser", "repository": { "type": "git", diff --git a/packages/body-checksum-node/package.json b/packages/body-checksum-node/package.json index fcb918a7bbc3..dde811d6c237 100644 --- a/packages/body-checksum-node/package.json +++ b/packages/body-checksum-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -36,6 +37,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/body-checksum-node", "repository": { "type": "git", diff --git a/packages/chunked-blob-reader-native/package.json b/packages/chunked-blob-reader-native/package.json index 273e012e39a5..44b0b498bdf7 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +27,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-blob-reader-native", "repository": { "type": "git", diff --git a/packages/chunked-blob-reader/package.json b/packages/chunked-blob-reader/package.json index 7d7ea8b73746..9380482d638f 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -25,6 +26,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-blob-reader", "repository": { "type": "git", diff --git a/packages/chunked-stream-reader-node/package.json b/packages/chunked-stream-reader-node/package.json index 1105887febc8..2bb98dfd1b78 100644 --- a/packages/chunked-stream-reader-node/package.json +++ b/packages/chunked-stream-reader-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/chunked-stream-reader-node", "repository": { "type": "git", diff --git a/packages/client-documentation-generator/package.json b/packages/client-documentation-generator/package.json index dc8c787001ce..b4ac7afcaf73 100644 --- a/packages/client-documentation-generator/package.json +++ b/packages/client-documentation-generator/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "typedoc": "^0.19.2", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/client-documentation-generator", "repository": { "type": "git", diff --git a/packages/config-resolver/package.json b/packages/config-resolver/package.json index 4b76e669e724..4f2545df4446 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/config-resolver", "repository": { "type": "git", diff --git a/packages/core-packages-documentation-generator/package.json b/packages/core-packages-documentation-generator/package.json index fa5d43de479c..14384e6bf99a 100644 --- a/packages/core-packages-documentation-generator/package.json +++ b/packages/core-packages-documentation-generator/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "typescript": "~4.1.2" }, "private": true, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/core-packages-documentation-generator", "repository": { "type": "git", diff --git a/packages/credential-provider-cognito-identity/package.json b/packages/credential-provider-cognito-identity/package.json index 1e72e2790515..bea2af391404 100644 --- a/packages/credential-provider-cognito-identity/package.json +++ b/packages/credential-provider-cognito-identity/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-cognito-identity", "repository": { "type": "git", diff --git a/packages/credential-provider-env/package.json b/packages/credential-provider-env/package.json index 193328f527f0..b6885e536891 100644 --- a/packages/credential-provider-env/package.json +++ b/packages/credential-provider-env/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "keywords": [ @@ -36,6 +37,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-env", "repository": { "type": "git", diff --git a/packages/credential-provider-imds/package.json b/packages/credential-provider-imds/package.json index 5200bfdfd225..2a82103a5ff7 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "keywords": [ @@ -37,6 +38,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-imds", "repository": { "type": "git", diff --git a/packages/credential-provider-ini/package.json b/packages/credential-provider-ini/package.json index c59d5e706857..a67e627fae16 100644 --- a/packages/credential-provider-ini/package.json +++ b/packages/credential-provider-ini/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "keywords": [ @@ -37,6 +38,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-ini", "repository": { "type": "git", diff --git a/packages/credential-provider-node/package.json b/packages/credential-provider-node/package.json index 10e990f116b3..43dfea280393 100644 --- a/packages/credential-provider-node/package.json +++ b/packages/credential-provider-node/package.json @@ -13,6 +13,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "keywords": [ @@ -41,6 +42,13 @@ "typescript": "~4.1.2" }, "types": "./types/index.d.ts", + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-node", "repository": { "type": "git", diff --git a/packages/credential-provider-process/package.json b/packages/credential-provider-process/package.json index dad554242626..99442cf71475 100644 --- a/packages/credential-provider-process/package.json +++ b/packages/credential-provider-process/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "keywords": [ @@ -38,6 +39,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/credential-provider-process", "repository": { "type": "git", diff --git a/packages/eventstream-handler-node/package.json b/packages/eventstream-handler-node/package.json index ae4da5dd11ac..8470151a9271 100644 --- a/packages/eventstream-handler-node/package.json +++ b/packages/eventstream-handler-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-handler-node", "repository": { "type": "git", diff --git a/packages/eventstream-marshaller/package.json b/packages/eventstream-marshaller/package.json index 6c13cc20ab89..789c97d62044 100644 --- a/packages/eventstream-marshaller/package.json +++ b/packages/eventstream-marshaller/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", @@ -37,6 +38,13 @@ "react-native": { "@aws-sdk/util-utf8-node": "@aws-sdk/util-utf8-browser" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-marshaller", "repository": { "type": "git", diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index 83beea6222a7..06f93c234ee4 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-serde-browser", "repository": { "type": "git", diff --git a/packages/eventstream-serde-config-resolver/package.json b/packages/eventstream-serde-config-resolver/package.json index efac6cf5e396..920a54b7097b 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-serde-config-resolver", "repository": { "type": "git", diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index 3f1277708f16..26dc8cfe1180 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-serde-node", "repository": { "type": "git", diff --git a/packages/eventstream-serde-universal/package.json b/packages/eventstream-serde-universal/package.json index 90ba8d50ba22..15777fe10461 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/eventstream-serde-universal", "repository": { "type": "git", diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index 696eee4df182..528eb87eee7b 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --coverage && karma start karma.conf.js" }, "author": { @@ -30,6 +31,13 @@ "@types/jest": "^26.0.4", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/fetch-http-handler", "repository": { "type": "git", diff --git a/packages/hash-blob-browser/package.json b/packages/hash-blob-browser/package.json index d1e5d57add84..c5af871c0a7f 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "karma start karma.conf.js" }, "main": "./dist/cjs/index.js", @@ -33,6 +34,13 @@ "react-native": { "@aws-sdk/chunked-blob-reader": "@aws-sdk/chunked-blob-reader-native" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/hash-blob-browser", "repository": { "type": "git", diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index c993db0831ae..51ee9f573781 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/hash-node", "repository": { "type": "git", diff --git a/packages/hash-stream-node/package.json b/packages/hash-stream-node/package.json index 4242a38c856c..4f69ec38b4e8 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/hash-stream-node", "repository": { "type": "git", diff --git a/packages/invalid-dependency/package.json b/packages/invalid-dependency/package.json index ee28775b594a..8e1a0ec466d9 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +27,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/invalid-dependency", "repository": { "type": "git", diff --git a/packages/is-array-buffer/package.json b/packages/is-array-buffer/package.json index 04973a67b0ab..3726a16ccc6e 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/is-array-buffer", "repository": { "type": "git", diff --git a/packages/karma-credential-loader/package.json b/packages/karma-credential-loader/package.json index f422aa0b5396..6531c3a8fe86 100644 --- a/packages/karma-credential-loader/package.json +++ b/packages/karma-credential-loader/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/karma-credential-loader", "repository": { "type": "git", diff --git a/packages/md5-js/package.json b/packages/md5-js/package.json index e2f167c13ea0..b7ca0b1c6f86 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -38,6 +39,13 @@ "react-native": { "@aws-sdk/util-base64-node": "@aws-sdk/util-base64-browser" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/md5-js", "repository": { "type": "git", diff --git a/packages/middleware-apply-body-checksum/package.json b/packages/middleware-apply-body-checksum/package.json index d1cf6f8c3421..21eb364556c7 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-apply-body-checksum", "repository": { "type": "git", diff --git a/packages/middleware-bucket-endpoint/package.json b/packages/middleware-bucket-endpoint/package.json index bede18df67f0..34b77df8139f 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +34,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-bucket-endpoint", "repository": { "type": "git", diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index 26f5e01ece84..9c8e5d61ff51 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-content-length", "repository": { "type": "git", diff --git a/packages/middleware-eventstream/package.json b/packages/middleware-eventstream/package.json index eabad3eefc5d..0a9decd447fd 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-eventstream", "repository": { "type": "git", diff --git a/packages/middleware-expect-continue/package.json b/packages/middleware-expect-continue/package.json index 1847d3e20333..50ed1c5de108 100644 --- a/packages/middleware-expect-continue/package.json +++ b/packages/middleware-expect-continue/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-expect-continue", "repository": { "type": "git", diff --git a/packages/middleware-header-default/package.json b/packages/middleware-header-default/package.json index 3580b013f797..bfc7fe02c75f 100644 --- a/packages/middleware-header-default/package.json +++ b/packages/middleware-header-default/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-header-default", "repository": { "type": "git", diff --git a/packages/middleware-host-header/package.json b/packages/middleware-host-header/package.json index 61d9e7e84a2e..e2fbfeb60c08 100644 --- a/packages/middleware-host-header/package.json +++ b/packages/middleware-host-header/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-host-header", "repository": { "type": "git", diff --git a/packages/middleware-location-constraint/package.json b/packages/middleware-location-constraint/package.json index 7e522a278370..db007ee5e7fe 100644 --- a/packages/middleware-location-constraint/package.json +++ b/packages/middleware-location-constraint/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-location-constraint", "repository": { "type": "git", diff --git a/packages/middleware-logger/package.json b/packages/middleware-logger/package.json index 0a31beb13ada..887767580735 100644 --- a/packages/middleware-logger/package.json +++ b/packages/middleware-logger/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --passWithNoTests" }, "author": { @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-logger", "repository": { "type": "git", diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index 892e147bddc8..0853a41a1179 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -35,6 +36,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-retry", "repository": { "type": "git", diff --git a/packages/middleware-sdk-api-gateway/package.json b/packages/middleware-sdk-api-gateway/package.json index 96feaf0cb30e..d0c57b2c9a43 100644 --- a/packages/middleware-sdk-api-gateway/package.json +++ b/packages/middleware-sdk-api-gateway/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-api-gateway", "repository": { "type": "git", diff --git a/packages/middleware-sdk-ec2/package.json b/packages/middleware-sdk-ec2/package.json index ff52c0831089..d1da6cf1f3ed 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-ec2", "repository": { "type": "git", diff --git a/packages/middleware-sdk-glacier/package.json b/packages/middleware-sdk-glacier/package.json index 4d5c0e6074bc..6b2aa1aa7842 100644 --- a/packages/middleware-sdk-glacier/package.json +++ b/packages/middleware-sdk-glacier/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-glacier", "repository": { "type": "git", diff --git a/packages/middleware-sdk-machinelearning/package.json b/packages/middleware-sdk-machinelearning/package.json index 64891216baa1..0ff270b8c31a 100644 --- a/packages/middleware-sdk-machinelearning/package.json +++ b/packages/middleware-sdk-machinelearning/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-machinelearning", "repository": { "type": "git", diff --git a/packages/middleware-sdk-rds/package.json b/packages/middleware-sdk-rds/package.json index bad53097c000..b5ab1787fc8e 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +34,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-rds", "repository": { "type": "git", diff --git a/packages/middleware-sdk-route53/package.json b/packages/middleware-sdk-route53/package.json index 75744b362782..2c6ca48a5b31 100644 --- a/packages/middleware-sdk-route53/package.json +++ b/packages/middleware-sdk-route53/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-route53", "repository": { "type": "git", diff --git a/packages/middleware-sdk-s3-control/package.json b/packages/middleware-sdk-s3-control/package.json index b5d1167c799f..9444805d7bbe 100644 --- a/packages/middleware-sdk-s3-control/package.json +++ b/packages/middleware-sdk-s3-control/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +34,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-s3-control", "repository": { "type": "git", diff --git a/packages/middleware-sdk-s3/package.json b/packages/middleware-sdk-s3/package.json index 23c559680f6e..7f26d6ebe248 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-s3", "repository": { "type": "git", diff --git a/packages/middleware-sdk-sqs/package.json b/packages/middleware-sdk-sqs/package.json index 4b043501f33d..bc5709f0a4cd 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-sqs", "repository": { "type": "git", diff --git a/packages/middleware-sdk-transcribe-streaming/package.json b/packages/middleware-sdk-transcribe-streaming/package.json index 829b7fc5fa9a..736340656c45 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --passWithNoTests" @@ -38,6 +39,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-sdk-transcribe-streaming", "repository": { "type": "git", diff --git a/packages/middleware-serde/package.json b/packages/middleware-serde/package.json index afaac1aa9f12..235124be2bf5 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-serde", "repository": { "type": "git", diff --git a/packages/middleware-signing/package.json b/packages/middleware-signing/package.json index 40bcc95ea144..3e545ddb798a 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-signing", "repository": { "type": "git", diff --git a/packages/middleware-ssec/package.json b/packages/middleware-ssec/package.json index 7bb7a2ee9fed..c1f223c3aa16 100644 --- a/packages/middleware-ssec/package.json +++ b/packages/middleware-ssec/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-ssec", "repository": { "type": "git", diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index 3de95e45f776..bcac2c5f7b04 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-stack", "repository": { "type": "git", diff --git a/packages/middleware-user-agent/package.json b/packages/middleware-user-agent/package.json index 8a1923ba9fc5..2d519bf5b598 100644 --- a/packages/middleware-user-agent/package.json +++ b/packages/middleware-user-agent/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-user-agent", "repository": { "type": "git", diff --git a/packages/node-config-provider/package.json b/packages/node-config-provider/package.json index aa3d10d38baa..5d233e59c667 100644 --- a/packages/node-config-provider/package.json +++ b/packages/node-config-provider/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --passWithNoTests" }, "author": { @@ -34,6 +35,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/node-config-provider", "repository": { "type": "git", diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index ccfe18e14682..cf3f09d611db 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --coverage" }, "author": { @@ -41,6 +42,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/node-http-handler", "repository": { "type": "git", diff --git a/packages/polly-request-presigner/package.json b/packages/polly-request-presigner/package.json index 351187809440..f97c6f16a4ac 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -37,6 +38,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/polly-request-presigner", "repository": { "type": "git", diff --git a/packages/property-provider/package.json b/packages/property-provider/package.json index e57426f4c7fe..e3a54b78ea11 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/property-provider", "repository": { "type": "git", diff --git a/packages/protocol-http/package.json b/packages/protocol-http/package.json index 7db70bc0f937..4d24ef1b10de 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/protocol-http", "repository": { "type": "git", diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index 8f87b40fce3b..07c79d97de30 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/querystring-builder", "repository": { "type": "git", diff --git a/packages/querystring-parser/package.json b/packages/querystring-parser/package.json index aad5c043b7cb..3cd0e55e812d 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/querystring-parser", "repository": { "type": "git", diff --git a/packages/s3-presigned-post/package.json b/packages/s3-presigned-post/package.json index 206d753fb6d7..b7d872b0227f 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -36,6 +37,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/s3-presigned-post", "repository": { "type": "git", diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index 26742c79a3a6..dc929e78542f 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -37,6 +38,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/s3-request-presigner", "repository": { "type": "git", diff --git a/packages/service-error-classification/package.json b/packages/service-error-classification/package.json index 3e4e2aaa75d0..635a395d0afa 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +27,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/service-error-classification", "repository": { "type": "git", diff --git a/packages/sha256-tree-hash/package.json b/packages/sha256-tree-hash/package.json index 337f12e6e0c5..73f6c31dc474 100644 --- a/packages/sha256-tree-hash/package.json +++ b/packages/sha256-tree-hash/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/sha256-tree-hash", "repository": { "type": "git", diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index 1958b48e444e..c90c86138980 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -16,6 +16,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/shared-ini-file-loader", "repository": { "type": "git", diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index 0116ee1d9780..8ae5fd64d1c2 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -9,6 +9,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --coverage" @@ -36,6 +37,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/signature-v4", "repository": { "type": "git", diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index 160a87bf4b78..87db0838fd1a 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/smithy-client", "repository": { "type": "git", diff --git a/packages/types/package.json b/packages/types/package.json index d6210fb423cc..78b01ff21ef6 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -14,6 +14,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "exit 0" }, "author": { @@ -24,6 +25,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/types", "repository": { "type": "git", diff --git a/packages/url-parser-native/package.json b/packages/url-parser-native/package.json index 959b7cbc2b21..944807ff81db 100644 --- a/packages/url-parser-native/package.json +++ b/packages/url-parser-native/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -35,6 +36,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser-node", "repository": { "type": "git", diff --git a/packages/url-parser/package.json b/packages/url-parser/package.json index a24f151506b3..ba17a31d26e8 100644 --- a/packages/url-parser/package.json +++ b/packages/url-parser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -27,6 +28,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser", "repository": { "type": "git", diff --git a/packages/util-arn-parser/package.json b/packages/util-arn-parser/package.json index 2115456fb9eb..f895c30d0cae 100644 --- a/packages/util-arn-parser/package.json +++ b/packages/util-arn-parser/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-arn-parser", "repository": { "type": "git", diff --git a/packages/util-base64-browser/package.json b/packages/util-base64-browser/package.json index 2c766f9091e1..1a956194d475 100644 --- a/packages/util-base64-browser/package.json +++ b/packages/util-base64-browser/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -27,6 +28,13 @@ "typescript": "~4.1.2" }, "types": "./types/index.d.ts", + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-base64-browser", "repository": { "type": "git", diff --git a/packages/util-base64-node/package.json b/packages/util-base64-node/package.json index ae37312424e9..47630ba68472 100644 --- a/packages/util-base64-node/package.json +++ b/packages/util-base64-node/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-base64-node", "repository": { "type": "git", diff --git a/packages/util-body-length-browser/package.json b/packages/util-body-length-browser/package.json index e16ecd0197dd..3feb4eaf68b2 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +27,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-body-length-browser", "repository": { "type": "git", diff --git a/packages/util-body-length-node/package.json b/packages/util-body-length-node/package.json index e28b9722da35..432040ccc410 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "devDependencies": { @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-body-length-node", "repository": { "type": "git", diff --git a/packages/util-buffer-from/package.json b/packages/util-buffer-from/package.json index b96518b3a208..487aa5f72c67 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-buffer-from", "repository": { "type": "git", diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 8a5c628c9c2b..51bc6d005cdc 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +34,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-create-request", "repository": { "type": "git", diff --git a/packages/util-dynamodb/package.json b/packages/util-dynamodb/package.json index 62273328048f..cf7b1987cfdb 100644 --- a/packages/util-dynamodb/package.json +++ b/packages/util-dynamodb/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-dynamodb", "repository": { "type": "git", diff --git a/packages/util-format-url/package.json b/packages/util-format-url/package.json index 0446edf2b49c..32776f0fd700 100644 --- a/packages/util-format-url/package.json +++ b/packages/util-format-url/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +31,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-format-url", "repository": { "type": "git", diff --git a/packages/util-hex-encoding/package.json b/packages/util-hex-encoding/package.json index 4eb40c3ca56f..bc87fcfee7fe 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-hex-encoding", "repository": { "type": "git", diff --git a/packages/util-locate-window/package.json b/packages/util-locate-window/package.json index 0c1a9d411aa7..5549340144e5 100644 --- a/packages/util-locate-window/package.json +++ b/packages/util-locate-window/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-locate-window", "repository": { "type": "git", diff --git a/packages/util-uri-escape/package.json b/packages/util-uri-escape/package.json index d0092e8ed354..cda48da1e47e 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -28,6 +29,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-uri-escape", "repository": { "type": "git", diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index 8df384526d06..3ecd1633d334 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +32,13 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-user-agent-browser", "repository": { "type": "git", diff --git a/packages/util-user-agent-node/package.json b/packages/util-user-agent-node/package.json index 7afabda2e910..241bd238f946 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -7,6 +7,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +33,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-user-agent-node", "repository": { "type": "git", diff --git a/packages/util-utf8-browser/package.json b/packages/util-utf8-browser/package.json index c70191a56f0d..3ae1f763cb34 100644 --- a/packages/util-utf8-browser/package.json +++ b/packages/util-utf8-browser/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -26,6 +27,13 @@ "typescript": "~4.1.2" }, "types": "./types/index.d.ts", + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-utf8-browser", "repository": { "type": "git", diff --git a/packages/util-utf8-node/package.json b/packages/util-utf8-node/package.json index 3f0aa9affc1d..a5e2d5aacb05 100644 --- a/packages/util-utf8-node/package.json +++ b/packages/util-utf8-node/package.json @@ -10,6 +10,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -34,6 +35,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-utf8-node", "repository": { "type": "git", diff --git a/packages/util-waiter/package.json b/packages/util-waiter/package.json index 0510a8a822a6..faa44bd7fa4b 100644 --- a/packages/util-waiter/package.json +++ b/packages/util-waiter/package.json @@ -18,6 +18,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -31,6 +32,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/util-waiter", "repository": { "type": "git", diff --git a/packages/xml-builder/package.json b/packages/xml-builder/package.json index d3b803d9cd8b..339d4d0fb864 100644 --- a/packages/xml-builder/package.json +++ b/packages/xml-builder/package.json @@ -16,6 +16,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild": "downlevel-dts types types/ts3.4", "test": "jest" }, "author": { @@ -29,6 +30,13 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "types/*": [ + "types/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/xml-builder", "repository": { "type": "git",