diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index 882cc38bb4c8..b395f35dc510 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index dfc0fb265118..abff6d43f697 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index 43187ad5600b..6c9057393f4b 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index d031a790a49a..d31491e878b8 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 235201fcbbd1..76d38d0e4239 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index 62da9cd4a84f..11c344e1275c 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 503571f6549a..588823b64e22 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 40750d1b8894..ede90f8b2bbe 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index 03af5d9d5835..5981005f7c84 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 654fa0a52335..a56a0b1ec1eb 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 218dbef708fd..f123bcf919a3 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 2f7a1d9712f9..c362f60d17bc 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index c2a3b0b51482..aba7f966c578 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 7adb62eac8ae..dec94bdde1cd 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index 74c9600cf164..6e3595e13f66 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index f7e570037163..0ffc2f86d4e8 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 8c1c3b0896f6..145cebb736c7 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 53ca3451df72..8bb361e3f826 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index a929377b8f4e..2cf37a51029e 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index e1b715335833..0336de0ae0c8 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 917568070ce2..0d9d29d4f882 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 43d2a685468a..cca29e7cdfbb 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index 693061360c1a..9962b105e779 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 3a6c598f6153..0cd2705444cd 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 67d4626936e7..4749b5cf468b 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 5bf78dec3079..6a0dadfd5e8a 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 7031444d4296..c5f5e39ce19a 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 1b0fb7c5ff29..56fe391acf3d 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 36420bda1bb8..4dce1cde279a 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index 4d81b7e7873f..91a0db4942d8 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index acf78372189e..fd739ea0212d 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index fe1c74dcf783..36df35cfe3de 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 23a94ac9b2c5..e3fd6d1450d0 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index 73a961cab5dd..e1edbfe8b4b4 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index ac92c81850a8..5ad64d2eed2b 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 951b4f4e889c..845e9cac57ef 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index d4d906718899..96e5464bddb7 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index bb49f5c6a180..c8a03100f9e8 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 46be1031bece..733f01861387 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index 7704f19a9666..863a3e6880ba 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index 11441477921b..2e908f17f611 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index 465d4d8dc653..d30016d2e955 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 024a84c582a3..a9fd7f81f0ce 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 9b359b5e0b32..2ffdd10c8bee 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index a1b9f162c7e7..d380e531ee06 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 5cb03a043b52..2804c10a3e97 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 9bbc706213cc..b9131721efd1 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index d47a08db3ff8..66dd9c1c3081 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index 82177721b503..d059bba324ad 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 459efc791f48..bde578049b53 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index 5d64198a781e..36b82c8577f9 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -15,7 +15,9 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -66,6 +68,7 @@ "@types/chai": "^4.2.11", "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -74,6 +77,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index f9196a02394e..fa15b3693a61 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index f1753934ff8f..ea9b0708f5ff 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 6e909183f228..03a4ade8e131 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index a9802d1e789b..04b72c1187eb 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index a78928fe69c6..4242ae39ab31 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 29898e973129..a08b13fdc186 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 3944fed50fc7..58f7f3e96f9e 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 3b2f58b3427a..ebabc43d8752 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index ab00d6cf6a84..1c7528634a67 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index 46274f777d03..6de075faf725 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 242ef9b66559..07505acb2766 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index f4c8720f3f81..9a6baa99770e 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index bd42072e2eb0..f2cc699ccd4f 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index 22862ef688fa..c76dbe50b68f 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index b74463e96679..ff29390e8cc5 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index 24e30a056735..38ee5a1c9de9 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index 07824d4e8a22..faaeff5c26f6 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 3b45b4e9c270..b3764585da38 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 2738a0b4035e..2a0ecb11d878 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 68bad571a5f4..1642da42ab56 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 7c366d43b620..50e11b7b0d98 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 970357b18500..29b7b396e62d 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index 54fc4b839187..3122cf6db446 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index 9d3f24c2c458..2a4131846c87 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 55b633e8e7ee..f0cdedfa9cbc 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index d8765a4e680d..bbedd33ecabd 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index b8cad9461b6a..10d7b4ab01f7 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index 8b9e33bd1e2e..670b9fd8c949 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index c6765361c1fd..f13f88bba4ab 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -66,6 +68,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -74,6 +77,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index 1ebd45118e38..0cd4f4044b47 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 70d8a4507433..e2e4a9b23466 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index 72c50510422a..a579f482abdc 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 41efe694fc6b..db50dad92c1a 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index e56e111f9d22..90dcc32ed6c9 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 1569f5bf1b53..e53e0f5ae0a9 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 8e3e8d090df6..414478de0f66 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 47c70b5daf97..1536f7534724 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index 29560cf67d76..f2761d04606d 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index 1f99a671c894..2167f61a1d2d 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 7b25239000bc..bb2c96f2e4fa 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 60875dd27be5..2aeba82f7a59 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index 5ab9e6ffd7dd..109206be8137 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 4902fec64969..22a0237c6d15 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index 72f4fed141e9..47e6292cbaa0 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index f47bd6088fe2..829522e3e06d 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index 8811f6660902..9c0dca422f17 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index f4f6a2f65de4..ea4d015e5ff2 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 383f2c58a8be..edf0476ad6f9 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 88bb2d8e0f5e..3ed357fff3af 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index 528aca8d5f09..3f410dd8ca77 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 87de8ce2c93d..5ebd56b70561 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 750c12a7448a..36a52b988054 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index 23d57fa38874..f35c7facb7e3 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index 319b2ee420d6..b2bd2cbd98cf 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index eac12cfafb1c..e2775b5304da 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index da11996d57ce..e58cdac06ab6 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 17d7496cce0a..3afe35df0cfc 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-health/package.json b/clients/client-health/package.json index 5d4e3dc1af2b..55e42da001cc 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index a26b1001fc18..c06a3c3227a4 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 2cf0bb5e5c05..39ba624d24b3 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 33b27bcd29c1..3a1015c0a2cc 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 4a18fe528b69..6ec834a8a334 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index f93d9bdc479a..ddb8e94887d8 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index 596f040973f8..dde57b25d50a 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index ba0fe17a33f0..a4d91b47de6e 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index b0f2360ec1d8..5e42956445b3 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index d191fd9fa22d..51d80d87344c 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index 0985c5dbff17..dc84265a8b7a 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index ec882f8c5c00..024a0d09ce94 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 89751a7be398..a7319bc4af21 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index 72d77ca34ef3..1c1706bc5ba7 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index b8f99fd964a7..bbd6c29cd2aa 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index bde246380dab..16e871d954bb 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index 960c4e77a994..dac0a9cafea7 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 95fbb5409aac..e8f94da30936 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 7b02d3ece89d..ea1e260dd95b 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index b3a7f8728267..9560f20c93ed 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 5465f66035d4..fcbb1287ba34 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index 7c88fc275728..0c22979237d2 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 79fa5a81dd8e..9ea023a7e008 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 4c9405286735..5b7d13c992e0 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 52e40c850e69..2bf1d323dc3f 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 8872161872eb..be5445a7842b 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index a6d5b38a3bc9..8b7c67364d30 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index 90c6ea63520f..bd8ac68f78ac 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index b6f6b02911a5..7b2797582fc9 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 8fdae7f6996f..f301201273df 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index c6cf5764f714..48bcbe6844fd 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 71f9d135c8e4..5e87cf3d4c62 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 16d3c7753ff2..c546435f39a4 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -14,7 +14,9 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@types/chai": "^4.2.11", "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index 245a2d95b257..23d3471dd1aa 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 7dde9be83c9f..f963db07cd02 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 94b89adeb417..37c8f32d79f0 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 95889a7c6df6..cb23c199abaa 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index 6654fa09d598..7a119e8a2c42 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index bed31bfbb5a5..66f87481c483 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 156b88c1c4bb..647eabc04a75 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index d561856565ed..5685db9e9a12 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 317eb2d0b11e..7d78e33c037a 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index fd2acf0ddae4..32ddc43976bc 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index fba74b78b96c..abf4a699e8a1 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index ff4edf049a21..7e89dc8e7e6e 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index fbf47b942149..cd8094883a8a 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index d3743450cde1..8c66c0b5c251 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index b6c4a813c5e3..03dad5fed616 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 0fa49016af25..4185792fd289 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index e557b2d37ea1..e53f67f072f6 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -14,7 +14,9 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@types/chai": "^4.2.11", "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 6ec0602d105d..e5616fcd3025 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index bb85acfcfbc6..4b394db2f09a 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 58aac87cc28f..f936322b249b 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 5e281660b9a0..4747373ee47a 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index f13d555f80e8..0fce764465a3 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 1e3a6b6012e7..324d64e9c464 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index e86692424c73..06f1474f100c 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 9ea4e8a4d481..93107bd0203d 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index ac2643ad9d2e..c22994768b0e 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index f43ac45ab088..38d193f2d7b6 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 4d5b94db893e..ffe82d06a98e 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 7b4836f48d03..ef150b2fb2e9 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index 783e48e5e53f..333c1c35d3d9 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index 7e73a810bc03..2a1a5271e36e 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 5c8667d116b7..f79d5fa9a6c7 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index 29eef3eb5077..735bd61b3966 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index daf958d82996..d8167262e736 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index f189857bde9f..0ae0f1c3cf05 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index 20a6af1ff7ab..283f6ad1cfa5 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index a8a8f4774b86..3602a64ffc49 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index 6fc770ce67d6..2f1cc69bdf62 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index f5a3985b8fba..ca695dbcb44d 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 1e08cb04be0f..615c05662ec5 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index e56d6e45a3ec..bb84c370b072 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index 11f703a4b6a9..2cf406ddf3ab 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 035f247a3ae9..75a1983bc12f 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index c101231914a0..1dfa63b58a1d 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 0b2ad6fd0c80..27d81fab5b45 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index dbb20f97c7b8..8553d24ab1dd 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 0199c2b573d9..ddaacf7226da 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 60ae145c317c..86fc92c8a31a 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 9d7876170da3..79fff04a7674 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index e8e588d408f5..5fcaabd3857b 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 4fb95303ff62..42ef4a1fcdf3 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index 030428f0dfe5..73a3e47017e2 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index a43821b2088d..c6ee2cc94559 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index a8a5857fde0a..832f8d65737f 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 4a37d34561e5..7b07c1875571 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index 5005e3f0c623..7b321916566c 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -14,7 +14,9 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -68,6 +70,7 @@ "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -76,6 +79,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index cf0623a53e4a..4437b5002a10 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -15,7 +15,9 @@ "test": "yarn test:unit", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -80,6 +82,7 @@ "@types/chai": "^4.2.11", "@types/mocha": "^8.0.4", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -88,6 +91,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 9c8f0ed8a1ca..88c33cd55239 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index ed3d70878540..537728121a29 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index acfc49cabce6..9f253e9242f6 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index e16d75fec2dc..68342747a8d1 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index 8e646f9bc92b..255ec3a150f9 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 1748df84f534..7844733629c2 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 7f5fa4e466f2..a3fed512ec58 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 00ad36a35fbb..daae50367ef6 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index f664c6ebde93..b30d16d4e573 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index fb4994f896ee..ad20ca87a953 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 631a9facbf04..c983d015cf2b 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index f5f075358703..df03ccf892d9 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 21717431fcaf..2d0655c6570a 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index c02d5ae9e88f..6d15fc731db2 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 5a80a24bf05d..2665d80eb740 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index ce8614394463..48783fe91570 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 9db88d5638df..5d565f553a2a 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index f1bcb6444b36..2d0aad2d8034 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index 3cafa8ee6ca3..2d1e9749f716 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index 7e95e7d036ab..e5d3bb8e1917 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index f24f6b1ef618..064381742c9b 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index a40c70f172e5..3abc72406f33 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 13c4d95edf1c..b4f451239b8c 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index f24bda8ababd..a9bc0d371874 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 575e7a1bfae0..e29d72677b1d 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index 9d805bb8a550..80903274a79d 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 4e564259081d..e1d14cd838ae 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 63e3e96e7947..689e814dffc8 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 6d98c9113a09..e92539651751 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index b5a5e4850b8e..706427a27a14 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-support/package.json b/clients/client-support/package.json index e406228b0ea0..07d6224fcebd 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index ab9fe7193550..e87efac6dded 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index 53f9a687289e..a6f7197f9921 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 67f5d7392cf9..5754750b254d 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 00d92fddf6f0..a931db8b098a 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 70d54d11c413..56d1ea2b264a 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 656f0f4125e6..b06ab0bfcd13 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -15,7 +15,9 @@ "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:cjs && yarn build:es", - "postbuild": "cp test/speech.wav dist/cjs/test" + "postbuild": "cp test/speech.wav dist/cjs/test", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -69,6 +71,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -77,6 +80,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 63296da6fc82..eb8d72d78455 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index d89c47428962..51db4e784faf 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 6c1ad2cfd05e..4eb4788c78f8 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -63,6 +65,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -71,6 +74,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index a02e4f2d68da..031704163364 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index b7e149e9d0cb..b6b957676d51 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 58b6f460d9b3..9bff183a7425 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index 9b0689572b8e..d3077813611e 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index 5c8af9aa1060..791163407c62 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index cd254b46ec66..0d52dba09741 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -62,6 +64,7 @@ "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -70,6 +73,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index e0c09d9471c9..409187b61ebe 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index b7fd73fbbee5..a95d12928766 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 27b10945728d..adb4ac899f76 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -13,7 +13,9 @@ "test": "exit 0", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -61,6 +63,7 @@ "devDependencies": { "@aws-sdk/client-documentation-generator": "3.1.0", "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -69,6 +72,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/lib/storage/package.json b/lib/storage/package.json index d2522116e8a4..0fb2fbef259f 100644 --- a/lib/storage/package.json +++ b/lib/storage/package.json @@ -11,6 +11,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "engines": { @@ -41,6 +43,16 @@ "ts-jest": "^26.4.1", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "homepage": "https://github.com/trivikr/aws-sdk-js-v3/tree/master/lib/storage", "repository": { "type": "git", diff --git a/package.json b/package.json index 3e4ebd4413e1..0c59ad9783b4 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "chai-as-promised": "^7.1.1", "codecov": "^3.4.0", "cucumber": "^6.0.5", + "downlevel-dts": "0.7.0", "eslint": "7.14.0", "eslint-config-prettier": "6.15.0", "eslint-plugin-prettier": "3.1.4", @@ -115,4 +116,4 @@ ], "**/*.{ts,js,md,json}": "prettier --write" } -} \ No newline at end of file +} diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index 231e35f02da2..9d59639cceac 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -11,6 +11,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 4bce3f0a29f0..514183581f70 100644 --- a/packages/body-checksum-browser/package.json +++ b/packages/body-checksum-browser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 46ba7de47e8b..f1c909c84a4d 100644 --- a/packages/body-checksum-node/package.json +++ b/packages/body-checksum-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -36,6 +38,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 208e3205e552..43381b3ea7f0 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +28,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 1a2fe9500bac..40b901005509 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -25,6 +27,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 57bf0a72f2e7..07d9734a1bab 100644 --- a/packages/chunked-stream-reader-node/package.json +++ b/packages/chunked-stream-reader-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 efd9a8f96fea..495923fe00b0 100644 --- a/packages/client-documentation-generator/package.json +++ b/packages/client-documentation-generator/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "typedoc": "^0.19.2", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 df9955f0504b..35010643b0ef 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 07100a4dd75c..d5754ad5c7b0 100644 --- a/packages/core-packages-documentation-generator/package.json +++ b/packages/core-packages-documentation-generator/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "exit 0" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "typescript": "~4.1.2" }, "private": true, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 a7f41ce76cd4..8bc23cc64bda 100644 --- a/packages/credential-provider-cognito-identity/package.json +++ b/packages/credential-provider-cognito-identity/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 938f2b52a55e..4882fc7b79d4 100644 --- a/packages/credential-provider-env/package.json +++ b/packages/credential-provider-env/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "keywords": [ @@ -36,6 +38,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 fca40e938001..e5274128b9ba 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "keywords": [ @@ -37,6 +39,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 76c93913e23e..b7ea1a6dc786 100644 --- a/packages/credential-provider-ini/package.json +++ b/packages/credential-provider-ini/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "keywords": [ @@ -37,6 +39,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 60f938c00910..4ea96c70bca2 100644 --- a/packages/credential-provider-node/package.json +++ b/packages/credential-provider-node/package.json @@ -13,6 +13,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "keywords": [ @@ -41,6 +43,16 @@ "typescript": "~4.1.2" }, "types": "./dist/cjs/index.d.ts", + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 f9a90c3fabb5..2a8d032c6077 100644 --- a/packages/credential-provider-process/package.json +++ b/packages/credential-provider-process/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "keywords": [ @@ -38,6 +40,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 5e612d829705..dcfc57fb97c6 100644 --- a/packages/eventstream-handler-node/package.json +++ b/packages/eventstream-handler-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 3a01d91d7494..c5381a1b4f79 100644 --- a/packages/eventstream-marshaller/package.json +++ b/packages/eventstream-marshaller/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", @@ -37,6 +39,16 @@ "react-native": { "@aws-sdk/util-utf8-node": "@aws-sdk/util-utf8-browser" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 8c135d04d83f..ccb8624870b7 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 f8196ca89865..d207f71b1009 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 6790c1800738..15615ac1f52c 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 de2b4327b172..30e0b558bf88 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 50e47ca81aa5..5008d99fb4e0 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --coverage && karma start karma.conf.js" }, "author": { @@ -30,6 +32,16 @@ "@types/jest": "^26.0.4", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 0db7690d7b3c..87cab04a5527 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "karma start karma.conf.js" }, "main": "./dist/cjs/index.js", @@ -33,6 +35,16 @@ "react-native": { "@aws-sdk/chunked-blob-reader": "@aws-sdk/chunked-blob-reader-native" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 934d8d1fb722..c7e70330c1ed 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 a5041765c263..a8aeef8b8bb9 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 0bd415f780ee..3dc0b51414ac 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +28,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 726137d2fc5f..645937f5dc6f 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 80f3110caef8..0228df3d30f2 100644 --- a/packages/karma-credential-loader/package.json +++ b/packages/karma-credential-loader/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 b15654fd6192..c0ab0a6b466d 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -38,6 +40,16 @@ "react-native": { "@aws-sdk/util-base64-node": "@aws-sdk/util-base64-browser" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 3a843934f571..00ca20a7d748 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 97b6ab83f770..f48a13dc6405 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +35,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 72ecee2ab907..85537cd90a99 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 129f5b3cb943..75b6382c96fa 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 e4e3b7a56030..b01c9497e333 100644 --- a/packages/middleware-expect-continue/package.json +++ b/packages/middleware-expect-continue/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 d05d42828ffd..fec7926bbee5 100644 --- a/packages/middleware-header-default/package.json +++ b/packages/middleware-header-default/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 2909a2b946dc..08d9b49968b0 100644 --- a/packages/middleware-host-header/package.json +++ b/packages/middleware-host-header/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 d44286b18e36..47422483a1d1 100644 --- a/packages/middleware-location-constraint/package.json +++ b/packages/middleware-location-constraint/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 52b23fc31a56..1728c01d535f 100644 --- a/packages/middleware-logger/package.json +++ b/packages/middleware-logger/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --passWithNoTests" }, "author": { @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 91be7559b11e..f6cf11d9ccd7 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -35,6 +37,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 68dd58346d50..8bc3ea7d0531 100644 --- a/packages/middleware-sdk-api-gateway/package.json +++ b/packages/middleware-sdk-api-gateway/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 338a463811c5..2b64052ee31c 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 00ad60cd32a5..7856a05cd70b 100644 --- a/packages/middleware-sdk-glacier/package.json +++ b/packages/middleware-sdk-glacier/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 3184003e4234..9c8013592cb2 100644 --- a/packages/middleware-sdk-machinelearning/package.json +++ b/packages/middleware-sdk-machinelearning/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 3fbcb1b0bc71..be38d5260d60 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +35,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 02de0e6992bc..6b0302bec2a9 100644 --- a/packages/middleware-sdk-route53/package.json +++ b/packages/middleware-sdk-route53/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 712e86f80b4b..d779a4935679 100644 --- a/packages/middleware-sdk-s3-control/package.json +++ b/packages/middleware-sdk-s3-control/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +35,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 639625cfcde6..d969b610ba4e 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 870c45d5a387..5e7cf7406696 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 e1e807bc0889..66f66721d2b7 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --passWithNoTests" @@ -38,6 +40,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 b0a47c8279ca..4030dbeb5eab 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 b2c4431ca335..9813e9c6ea5f 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 11f7f1558355..5f2f3052e7ef 100644 --- a/packages/middleware-ssec/package.json +++ b/packages/middleware-ssec/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 e51f831f0f29..728b6fb925bb 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 ad5bf195f46c..5357dc6f04d0 100644 --- a/packages/middleware-user-agent/package.json +++ b/packages/middleware-user-agent/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 e6a413446e2f..90c0bddc2804 100644 --- a/packages/node-config-provider/package.json +++ b/packages/node-config-provider/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --passWithNoTests" }, "author": { @@ -34,6 +36,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 bb1399d266b2..9aa599c72d0a 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --coverage" }, "author": { @@ -41,6 +43,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 57779b6e30c3..d631d1302128 100644 --- a/packages/polly-request-presigner/package.json +++ b/packages/polly-request-presigner/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -37,6 +39,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 167f23cebd3b..fb158641dda4 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 f8395bfe6a99..95d1a98c4ae2 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 099e600b9c39..97cc82a6b649 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 18b98eed9cec..bc1aafb3cbfc 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 e016e7e18cb5..c19bf645c128 100644 --- a/packages/s3-presigned-post/package.json +++ b/packages/s3-presigned-post/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -36,6 +38,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 0a12b01adfd9..6d98e20accd5 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -37,6 +39,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 28ec2fe83d89..6fdc55b36472 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +28,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 ebc8cf0bbe32..5122f3958abf 100644 --- a/packages/sha256-tree-hash/package.json +++ b/packages/sha256-tree-hash/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 42e65c3c02ef..2e5992909eb6 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -16,6 +16,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 0d374582d2ba..1479fd25afe2 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -9,6 +9,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --coverage" @@ -36,6 +38,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 202e69599ca3..4e8734250b1a 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 b8a7926fc308..060645c52917 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -14,6 +14,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "exit 0" }, "author": { @@ -24,6 +26,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 ad59a0913e75..c645bd68d790 100644 --- a/packages/url-parser-native/package.json +++ b/packages/url-parser-native/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -35,6 +37,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 5dcfbc96801c..db35f7237ec8 100644 --- a/packages/url-parser/package.json +++ b/packages/url-parser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -27,6 +29,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 754aa2ef5de4..b5bf12e78125 100644 --- a/packages/util-arn-parser/package.json +++ b/packages/util-arn-parser/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 ea494397a302..b4ffb141830e 100644 --- a/packages/util-base64-browser/package.json +++ b/packages/util-base64-browser/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -27,6 +29,16 @@ "typescript": "~4.1.2" }, "types": "./dist/cjs/index.d.ts", + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 6e3e6ceaf840..e74d530e8ed0 100644 --- a/packages/util-base64-node/package.json +++ b/packages/util-base64-node/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 4bb2e4178913..2cbb78a5d54f 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -26,6 +28,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 a57a947702fa..8aca6141c648 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "devDependencies": { @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 9f832c1a19d0..8a910f11e4f2 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 46078df11e3e..ec99a2fc55f5 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -33,6 +35,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 c2870b9134ba..44172f6c21c1 100644 --- a/packages/util-dynamodb/package.json +++ b/packages/util-dynamodb/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 60fe3fed378a..ce959093362b 100644 --- a/packages/util-format-url/package.json +++ b/packages/util-format-url/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -30,6 +32,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 1b8af4e36a62..e1950198e70b 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -8,6 +8,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 803483f6050e..e2c01a4ff63a 100644 --- a/packages/util-locate-window/package.json +++ b/packages/util-locate-window/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 cf99b214a2c5..f414e376d9a0 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -28,6 +30,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 771cec5e8bc7..5cf34b5512cc 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -31,6 +33,16 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 3ea12b827965..df83d49cc061 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -7,6 +7,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "main": "./dist/cjs/index.js", @@ -32,6 +34,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 9804bb12f767..60abb2802787 100644 --- a/packages/util-utf8-browser/package.json +++ b/packages/util-utf8-browser/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -26,6 +28,16 @@ "typescript": "~4.1.2" }, "types": "./dist/cjs/index.d.ts", + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 2dd3087a9d6f..55dfc5d88cf6 100644 --- a/packages/util-utf8-node/package.json +++ b/packages/util-utf8-node/package.json @@ -10,6 +10,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -34,6 +36,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 a2a44935a520..58972c52ff78 100644 --- a/packages/util-waiter/package.json +++ b/packages/util-waiter/package.json @@ -18,6 +18,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -31,6 +33,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/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 00a43f34acb8..7b1fe11ab0f0 100644 --- a/packages/xml-builder/package.json +++ b/packages/xml-builder/package.json @@ -16,6 +16,8 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4", "test": "jest" }, "author": { @@ -29,6 +31,16 @@ "engines": { "node": ">= 10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/xml-builder", "repository": { "type": "git", diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-ec2/package.json index ad9f7af3a474..d3a8c4d5a684 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-ec2/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "@aws-sdk/types": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-json/package.json index a4c6b7541d65..a8ef8ed64a04 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-json/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -64,6 +66,7 @@ "@aws-sdk/types": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -72,6 +75,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-query/package.json index 0a9880511d42..270009fc8e0b 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-query/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "@aws-sdk/types": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-restjson/package.json index 4eef79137ed4..b54149e84e44 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-restjson/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -65,6 +67,7 @@ "@aws-sdk/types": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -73,6 +76,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-restxml/package.json index 61116234ba9b..7c4a81931c64 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-restxml/package.json @@ -13,7 +13,9 @@ "test": "yarn build && jest --coverage --passWithNoTests", "build:cjs": "tsc -p tsconfig.json", "build:es": "tsc -p tsconfig.es.json", - "build": "yarn build:cjs && yarn build:es" + "build": "yarn build:cjs && yarn build:es", + "postbuild:cjs": "downlevel-dts dist/cjs dist/cjs/ts3.4", + "postbuild:es": "downlevel-dts dist/es dist/es/ts3.4" }, "main": "./dist/cjs/index.js", "types": "./types/index.d.ts", @@ -67,6 +69,7 @@ "@aws-sdk/types": "3.1.0", "@types/node": "^12.7.5", "@types/uuid": "^3.0.0", + "downlevel-dts": "0.7.0", "jest": "^26.1.0", "rimraf": "^3.0.0", "typedoc": "^0.19.2", @@ -75,6 +78,16 @@ "engines": { "node": ">=10.0.0" }, + "typesVersions": { + "<3.9": { + "dist/cjs/*": [ + "dist/cjs/ts3.4/*" + ], + "dist/es/*": [ + "dist/es/ts3.4/*" + ] + } + }, "author": { "name": "AWS SDK for JavaScript Team", "url": "https://aws.amazon.com/javascript/" diff --git a/scripts/generate-clients/copy-to-clients.js b/scripts/generate-clients/copy-to-clients.js index afbbc4ce8638..77c77cf06c76 100644 --- a/scripts/generate-clients/copy-to-clients.js +++ b/scripts/generate-clients/copy-to-clients.js @@ -41,7 +41,7 @@ const getOverwritablePredicate = (packageName) => (pathName) => { const mergeManifest = (fromContent = {}, toContent = {}) => { const merged = {}; for (const name of Object.keys(fromContent)) { - if (typeof fromContent[name] === "object") { + if (fromContent[name].constructor.name === "Object") { merged[name] = mergeManifest(fromContent[name], toContent[name]); if (name === "scripts" || name === "devDependencies") { // Allow target package.json(toContent) has its own special script or diff --git a/yarn.lock b/yarn.lock index 1d27b047cf9b..c63f5f1d7bb2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4229,6 +4229,15 @@ dot-prop@^5.1.0: dependencies: is-obj "^2.0.0" +downlevel-dts@0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/downlevel-dts/-/downlevel-dts-0.7.0.tgz#155c24310dad8a4820ad077e64b15a8c461aa932" + integrity sha512-tcjGqElN0/oad/LJBlaxmZ3zOYEQOBbGuirKzif8s1jeRiWBdNX9H6OBFlRjOQkosXgV+qSjs4osuGCivyZ4Jw== + dependencies: + semver "^7.3.2" + shelljs "^0.8.3" + typescript "^4.1.0-dev.20201026" + dtrace-provider@~0.8: version "0.8.8" resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.8.8.tgz#2996d5490c37e1347be263b423ed7b297fb0d97e" @@ -10051,7 +10060,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@^0.8.4: +shelljs@^0.8.3, shelljs@^0.8.4: version "0.8.4" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2" integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ== @@ -11199,7 +11208,7 @@ typedoc@^0.19.2: shelljs "^0.8.4" typedoc-default-themes "^0.11.4" -typescript@~4.1.2: +typescript@^4.1.0-dev.20201026, typescript@~4.1.2: version "4.1.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==