Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions .changeset/poor-beans-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
"@smithy/service-client-documentation-generator": minor
"@smithy/eventstream-serde-config-resolver": minor
"@smithy/experimental-identity-and-auth": minor
"@smithy/middleware-apply-body-checksum": minor
"@smithy/service-error-classification": minor
"@smithy/eventstream-serde-universal": minor
"@smithy/chunked-blob-reader-native": minor
"@smithy/util-defaults-mode-browser": minor
"@smithy/eventstream-serde-browser": minor
"@smithy/middleware-content-length": minor
"@smithy/credential-provider-imds": minor
"@smithy/util-body-length-browser": minor
"@smithy/util-defaults-mode-node": minor
"@smithy/eventstream-serde-node": minor
"@smithy/middleware-compression": minor
"@smithy/shared-ini-file-loader": minor
"@smithy/util-body-length-node": minor
"@smithy/node-config-provider": minor
"@smithy/util-config-provider": minor
"@smithy/chunked-blob-reader": minor
"@smithy/middleware-endpoint": minor
"@smithy/querystring-builder": minor
"@smithy/util-stream-browser": minor
"@smithy/fetch-http-handler": minor
"@smithy/invalid-dependency": minor
"@smithy/querystring-parser": minor
"@smithy/eventstream-codec": minor
"@smithy/hash-blob-browser": minor
"@smithy/node-http-handler": minor
"@smithy/property-provider": minor
"@smithy/util-hex-encoding": minor
"@smithy/abort-controller": minor
"@smithy/hash-stream-node": minor
"@smithy/middleware-retry": minor
"@smithy/middleware-serde": minor
"@smithy/middleware-stack": minor
"@smithy/util-buffer-from": minor
"@smithy/util-stream-node": minor
"@smithy/config-resolver": minor
"@smithy/is-array-buffer": minor
"@smithy/util-middleware": minor
"@smithy/util-uri-escape": minor
"@smithy/util-endpoints": minor
"@smithy/protocol-http": minor
"@smithy/smithy-client": minor
"@smithy/signature-v4": minor
"@smithy/util-base64": minor
"@smithy/util-stream": minor
"@smithy/util-waiter": minor
"@smithy/url-parser": minor
"@smithy/util-retry": minor
"@smithy/hash-node": minor
"@smithy/util-utf8": minor
"@smithy/md5-js": minor
"@smithy/types": minor
"@smithy/core": minor
---

set sideEffects bundler metadata
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ smithy-typescript-codegen-test/bin/
smithy-typescript-ssdk-codegen-test-utils/bin/
smithy-typescript-codegen-test/example-weather-customizations/bin/

testbed/bundlers/dist
testbed/bundlers/dist-min
**/node_modules/
**/*.tsbuildinfo
**/*.d.ts
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ test-unit:
test-browser:
yarn g:vitest run -c vitest.config.browser.mts

test-bundlers:
(cd ./testbed/bundlers && make build test)

# typecheck for test code.
test-types:
npx tsc -p tsconfig.test.json
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@types/jsdom": "20.0.1",
"@typescript-eslint/eslint-plugin": "8.32.0",
"@typescript-eslint/parser": "8.32.0",
"esbuild": "0.19.11",
"esbuild": "^0.25.9",
"eslint": "8.57.0",
"eslint-plugin-simple-import-sort": "7.0.0",
"eslint-plugin-tsdoc": "0.2.17",
Expand All @@ -54,8 +54,10 @@
"ts-jest": "29.1.2",
"turbo": "2.3.3",
"typescript": "~5.8.3",
"vite": "^7.1.4",
"vitest": "^3.2.4",
"webpack": "5.91.0"
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1"
},
"overrides": {},
"workspaces": [
Expand Down
1 change: 1 addition & 0 deletions packages/abort-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/chunked-blob-reader-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/util-base64": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/chunked-blob-reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"tslib": "^2.6.2"
},
Expand Down
1 change: 1 addition & 0 deletions packages/config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/node-config-provider": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/credential-provider-imds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/node-config-provider": "workspace:^",
"@smithy/property-provider": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@aws-crypto/crc32": "5.2.0",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/eventstream-serde-universal": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-config-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/eventstream-serde-universal": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/eventstream-serde-universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/eventstream-codec": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/experimental-identity-and-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"url": "https://smithy.io"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/middleware-endpoint": "workspace:^",
"@smithy/middleware-retry": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/fetch-http-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/hash-blob-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/chunked-blob-reader": "workspace:^",
"@smithy/chunked-blob-reader-native": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/hash-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"devDependencies": {
"@types/node": "^18.11.9",
"concurrently": "7.0.0",
Expand Down
1 change: 1 addition & 0 deletions packages/hash-stream-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"@smithy/util-utf8": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/invalid-dependency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/is-array-buffer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/md5-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"devDependencies": {
"@smithy/util-base64": "workspace:^",
"@smithy/util-hex-encoding": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-apply-body-checksum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/is-array-buffer": "workspace:^",
"@smithy/protocol-http": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-compression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"gzip"
],
"license": "Apache-2.0",
"sideEffects": false,
"browser": {
"./dist-es/compressStream": "./dist-es/compressStream.browser",
"./dist-es/compressString": "./dist-es/compressString.browser"
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-content-length/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/protocol-http": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-endpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/core": "workspace:^",
"@smithy/middleware-serde": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-retry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/node-config-provider": "workspace:^",
"@smithy/protocol-http": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-serde/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/protocol-http": "workspace:^",
"@smithy/types": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/middleware-stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/node-config-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/node-http-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/property-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/protocol-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://smithy.io"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
1 change: 1 addition & 0 deletions packages/querystring-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"@smithy/util-uri-escape": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/querystring-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/types": "workspace:^",
"tslib": "^2.6.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"keywords": [
"typedocplugin"
],
Expand Down
1 change: 1 addition & 0 deletions packages/service-error-classification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"devDependencies": {
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
Expand Down
1 change: 1 addition & 0 deletions packages/shared-ini-file-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist-cjs/index.js",
"module": "./dist-es/index.js",
"types": "./dist-types/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/signature-v4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/is-array-buffer": "workspace:^",
"@smithy/protocol-http": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/smithy-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"@smithy/core": "workspace:^",
"@smithy/middleware-endpoint": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"url": "https://smithy.io"
},
"license": "Apache-2.0",
"sideEffects": false,
"dependencies": {
"tslib": "^2.6.2"
},
Expand Down
Loading
Loading