From 33d6ddb3aa652520652cccb2e4fe379ade5089bd Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Thu, 21 Jan 2021 18:24:35 +0000 Subject: [PATCH] feat(packages): add downlevel-dts script and typesVersions --- lib/storage/package.json | 8 ++++++++ packages/abort-controller/package.json | 8 ++++++++ packages/body-checksum-browser/package.json | 8 ++++++++ packages/body-checksum-node/package.json | 8 ++++++++ packages/chunked-blob-reader-native/package.json | 8 ++++++++ packages/chunked-blob-reader/package.json | 8 ++++++++ packages/chunked-stream-reader-node/package.json | 8 ++++++++ packages/client-documentation-generator/package.json | 8 ++++++++ packages/config-resolver/package.json | 8 ++++++++ .../core-packages-documentation-generator/package.json | 8 ++++++++ .../credential-provider-cognito-identity/package.json | 8 ++++++++ packages/credential-provider-env/package.json | 8 ++++++++ packages/credential-provider-imds/package.json | 8 ++++++++ packages/credential-provider-ini/package.json | 8 ++++++++ packages/credential-provider-node/package.json | 8 ++++++++ packages/credential-provider-process/package.json | 8 ++++++++ packages/eventstream-handler-node/package.json | 8 ++++++++ packages/eventstream-marshaller/package.json | 8 ++++++++ packages/eventstream-serde-browser/package.json | 8 ++++++++ packages/eventstream-serde-config-resolver/package.json | 8 ++++++++ packages/eventstream-serde-node/package.json | 8 ++++++++ packages/eventstream-serde-universal/package.json | 8 ++++++++ packages/fetch-http-handler/package.json | 8 ++++++++ packages/hash-blob-browser/package.json | 8 ++++++++ packages/hash-node/package.json | 8 ++++++++ packages/hash-stream-node/package.json | 8 ++++++++ packages/invalid-dependency/package.json | 8 ++++++++ packages/is-array-buffer/package.json | 8 ++++++++ packages/karma-credential-loader/package.json | 8 ++++++++ packages/md5-js/package.json | 8 ++++++++ packages/middleware-apply-body-checksum/package.json | 8 ++++++++ packages/middleware-bucket-endpoint/package.json | 8 ++++++++ packages/middleware-content-length/package.json | 8 ++++++++ packages/middleware-eventstream/package.json | 8 ++++++++ packages/middleware-expect-continue/package.json | 8 ++++++++ packages/middleware-header-default/package.json | 8 ++++++++ packages/middleware-host-header/package.json | 8 ++++++++ packages/middleware-location-constraint/package.json | 8 ++++++++ packages/middleware-logger/package.json | 8 ++++++++ packages/middleware-retry/package.json | 8 ++++++++ packages/middleware-sdk-api-gateway/package.json | 8 ++++++++ packages/middleware-sdk-ec2/package.json | 8 ++++++++ packages/middleware-sdk-glacier/package.json | 8 ++++++++ packages/middleware-sdk-machinelearning/package.json | 8 ++++++++ packages/middleware-sdk-rds/package.json | 8 ++++++++ packages/middleware-sdk-route53/package.json | 8 ++++++++ packages/middleware-sdk-s3-control/package.json | 8 ++++++++ packages/middleware-sdk-s3/package.json | 8 ++++++++ packages/middleware-sdk-sqs/package.json | 8 ++++++++ packages/middleware-sdk-transcribe-streaming/package.json | 8 ++++++++ packages/middleware-serde/package.json | 8 ++++++++ packages/middleware-signing/package.json | 8 ++++++++ packages/middleware-ssec/package.json | 8 ++++++++ packages/middleware-stack/package.json | 8 ++++++++ packages/middleware-user-agent/package.json | 8 ++++++++ packages/node-config-provider/package.json | 8 ++++++++ packages/node-http-handler/package.json | 8 ++++++++ packages/polly-request-presigner/package.json | 8 ++++++++ packages/property-provider/package.json | 8 ++++++++ packages/protocol-http/package.json | 8 ++++++++ packages/querystring-builder/package.json | 8 ++++++++ packages/querystring-parser/package.json | 8 ++++++++ packages/s3-presigned-post/package.json | 8 ++++++++ packages/s3-request-presigner/package.json | 8 ++++++++ packages/service-error-classification/package.json | 8 ++++++++ packages/sha256-tree-hash/package.json | 8 ++++++++ packages/shared-ini-file-loader/package.json | 8 ++++++++ packages/signature-v4/package.json | 8 ++++++++ packages/smithy-client/package.json | 8 ++++++++ packages/types/package.json | 8 ++++++++ packages/url-parser-native/package.json | 8 ++++++++ packages/url-parser/package.json | 8 ++++++++ packages/util-arn-parser/package.json | 8 ++++++++ packages/util-base64-browser/package.json | 8 ++++++++ packages/util-base64-node/package.json | 8 ++++++++ packages/util-body-length-browser/package.json | 8 ++++++++ packages/util-body-length-node/package.json | 8 ++++++++ packages/util-buffer-from/package.json | 8 ++++++++ packages/util-create-request/package.json | 8 ++++++++ packages/util-dynamodb/package.json | 8 ++++++++ packages/util-format-url/package.json | 8 ++++++++ packages/util-hex-encoding/package.json | 8 ++++++++ packages/util-locate-window/package.json | 8 ++++++++ packages/util-uri-escape/package.json | 8 ++++++++ packages/util-user-agent-browser/package.json | 8 ++++++++ packages/util-user-agent-node/package.json | 8 ++++++++ packages/util-utf8-browser/package.json | 8 ++++++++ packages/util-utf8-node/package.json | 8 ++++++++ packages/util-waiter/package.json | 8 ++++++++ packages/xml-builder/package.json | 8 ++++++++ 90 files changed, 720 insertions(+) diff --git a/lib/storage/package.json b/lib/storage/package.json index 34dbf7362b950..2464e506ded00 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 3e519ccabef51..4fc0c7d3bb91a 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 88562c5e1fcd8..2a3f192c1d6e5 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 fcb918a7bbc39..dde811d6c237f 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 273e012e39a54..44b0b498bdf77 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 7d7ea8b737469..9380482d638f1 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 1105887febc8c..2bb98dfd1b787 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 dc8c787001cea..b4ac7afcaf737 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 4b76e669e724a..4f2545df4446a 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 fa5d43de479c3..14384e6bf99a3 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 1e72e27905155..bea2af3914043 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 193328f527f00..b6885e5368913 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 5200bfdfd225a..2a82103a5ff73 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 c59d5e7068579..a67e627fae169 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 10e990f116b39..43dfea280393a 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 dad554242626f..99442cf714757 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 ae4da5dd11aca..8470151a92710 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 6c13cc20ab89b..789c97d620442 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 83beea6222a77..06f93c234ee41 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 efac6cf5e396e..920a54b7097b6 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 3f1277708f16f..26dc8cfe11808 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 90ba8d50ba228..15777fe104611 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 696eee4df1826..528eb87eee7bb 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 d1e5d57add846..c5af871c0a7f3 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 c993db0831ae8..51ee9f5737811 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 4242a38c856ce..4f69ec38b4e8c 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 ee28775b594a7..8e1a0ec466d95 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 04973a67b0ab1..3726a16ccc6e2 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 f422aa0b5396d..6531c3a8fe86a 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 e2f167c13ea01..b7ca0b1c6f865 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 d1cf6f8c34211..21eb364556c7f 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 bede18df67f0a..34b77df8139f7 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 26f5e01ece84d..9c8e5d61ff51e 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 eabad3eefc5dd..0a9decd447fd3 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 1847d3e203338..50ed1c5de108c 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 3580b013f7972..bfc7fe02c75fd 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 61d9e7e84a2e8..e2fbfeb60c086 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 7e522a278370e..db007ee5e7fec 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 0a31beb13ada3..8877675807353 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 892e147bddc84..0853a41a11790 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 96feaf0cb30ef..d0c57b2c9a435 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 ff52c0831089a..d1da6cf1f3ed4 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 4d5c0e6074bc5..6b2aa1aa78423 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 64891216baa13..0ff270b8c31a2 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 bad53097c0007..b5ab1787fc8e1 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 75744b3627824..2c6ca48a5b31e 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 b5d1167c799f9..9444805d7bbe2 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 23c559680f6e4..7f26d6ebe248e 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 4b043501f33d3..bc5709f0a4cd8 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 829b7fc5fa9af..736340656c45f 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 afaac1aa9f12b..235124be2bf50 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 40bcc95ea144e..3e545ddb798a4 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 7bb7a2ee9fed6..c1f223c3aa167 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 3de95e45f776c..bcac2c5f7b045 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 8a1923ba9fc50..2d519bf5b598b 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 aa3d10d38baac..5d233e59c6672 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 ccfe18e146823..cf3f09d611db7 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 351187809440a..f97c6f16a4ac3 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 e57426f4c7fef..e3a54b78ea11e 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 7db70bc0f937c..4d24ef1b10ded 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 8f87b40fce3b7..07c79d97de30c 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 aad5c043b7cb8..3cd0e55e812df 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 206d753fb6d70..b7d872b0227f4 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 26742c79a3a61..dc929e78542ff 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 3e4e2aaa75d0f..635a395d0afa9 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 337f12e6e0c51..73f6c31dc474b 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 1958b48e444ee..c90c86138980e 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 0116ee1d9780a..8ae5fd64d1c2f 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 160a87bf4b782..87db0838fd1ad 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 d6210fb423cc6..78b01ff21ef66 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 959b7cbc2b21a..944807ff81db2 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 a24f151506b34..ba17a31d26e8b 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 2115456fb9eb6..f895c30d0caed 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 2c766f9091e12..1a956194d475b 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 ae37312424e96..47630ba68472c 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 e16ecd0197dda..3feb4eaf68b2f 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 e28b9722da35c..432040ccc410a 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 b96518b3a2082..487aa5f72c678 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 8a5c628c9c2b3..51bc6d005cdc6 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 62273328048fe..cf7b1987cfdbe 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 0446edf2b49c8..32776f0fd7005 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 4eb40c3ca56f7..bc87fcfee7feb 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 0c1a9d411aa78..5549340144e51 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 d0092e8ed3541..cda48da1e47e0 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 8df384526d06f..3ecd1633d3342 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 7afabda2e9107..241bd238f9461 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 c70191a56f0dd..3ae1f763cb34b 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 3f0aa9affc1da..a5e2d5aacb052 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 0510a8a822a64..faa44bd7fa4be 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 d3b803d9cd8b0..339d4d0fb8643 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",