@aws-sdk/core 3.974.20 → 3.974.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +45 -50
- package/dist-cjs/submodules/account-id-endpoint/index.js +2 -4
- package/dist-cjs/submodules/client/index.browser.js +21 -22
- package/dist-cjs/submodules/client/index.js +51 -51
- package/dist-cjs/submodules/client/index.native.js +21 -22
- package/dist-cjs/submodules/httpAuthSchemes/index.js +19 -21
- package/dist-cjs/submodules/protocols/index.js +107 -109
- package/dist-cjs/submodules/util/index.js +2 -4
- package/package.json +8 -8
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var protocols = require('@smithy/core/protocols');
|
|
1
|
+
const { buildQueryString } = require("@smithy/core/protocols");
|
|
4
2
|
|
|
5
3
|
const validate = (str) => typeof str === "string" && str.indexOf("arn:") === 0 && str.split(":").length >= 6;
|
|
6
4
|
const parse = (arn) => {
|
|
@@ -36,7 +34,7 @@ function formatUrl(request) {
|
|
|
36
34
|
if (path && path.charAt(0) !== "/") {
|
|
37
35
|
path = `/${path}`;
|
|
38
36
|
}
|
|
39
|
-
let queryString = query ?
|
|
37
|
+
let queryString = query ? buildQueryString(query) : "";
|
|
40
38
|
if (queryString && queryString[0] !== "?") {
|
|
41
39
|
queryString = `?${queryString}`;
|
|
42
40
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.21",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline && premove ./dist-cjs/api-extractor-type-index.js",
|
|
8
|
-
"build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
|
|
8
|
+
"build:es": "premove dist-es && tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
|
-
"build:types": "premove dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types": "premove dist-types && premove dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "premove dist-cjs dist-es dist-types
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"lint": "node ../../scripts/validation/submodules-linter.js",
|
|
15
|
-
"prebuild": "node scripts/copy-partitions.js",
|
|
15
|
+
"prebuild": "node scripts/copy-partitions.js && yarn lint",
|
|
16
16
|
"test": "yarn g:vitest run",
|
|
17
17
|
"test:watch": "yarn g:vitest watch",
|
|
18
18
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
},
|
|
111
111
|
"license": "Apache-2.0",
|
|
112
112
|
"dependencies": {
|
|
113
|
-
"@aws-sdk/types": "^3.973.
|
|
114
|
-
"@aws-sdk/xml-builder": "^3.972.
|
|
113
|
+
"@aws-sdk/types": "^3.973.13",
|
|
114
|
+
"@aws-sdk/xml-builder": "^3.972.30",
|
|
115
115
|
"@aws/lambda-invoke-store": "^0.2.2",
|
|
116
116
|
"@smithy/core": "^3.24.6",
|
|
117
117
|
"@smithy/signature-v4": "^5.4.6",
|