@jjrawlins/cdk-iam-policy-builder-helper 0.0.22 → 0.0.24
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/.jsii +4 -4
- package/cdk-iam-policy-builder-helper/go.mod +1 -1
- package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
- package/cdk-iam-policy-builder-helper/version +1 -1
- package/methods_list.txt +11 -0
- package/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws/lambda-invoke-store/README.md +182 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.d.ts +52 -0
- package/node_modules/@aws/lambda-invoke-store/dist/invoke-store.js +90 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +36 -0
- package/node_modules/@aws-sdk/client-iam/package.json +38 -38
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/core/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +14 -32
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +32 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +7 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +2 -37
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +28 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +2 -18
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +10 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/axios/CHANGELOG.md +35 -0
- package/node_modules/axios/README.md +13 -10
- package/node_modules/axios/dist/axios.js +358 -289
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +286 -211
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +286 -211
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +377 -211
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +9 -5
- package/node_modules/axios/index.d.ts +10 -4
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +220 -163
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- package/node_modules/axios/lib/utils.js +7 -3
- package/node_modules/axios/package.json +12 -9
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const recursionDetectionMiddleware = () => (next) => async (args) => next(args);
|
package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InvokeStore } from "@aws/lambda-invoke-store";
|
|
2
|
+
import { HttpRequest } from "@smithy/protocol-http";
|
|
3
|
+
const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id";
|
|
4
|
+
const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME";
|
|
5
|
+
const ENV_TRACE_ID = "_X_AMZN_TRACE_ID";
|
|
6
|
+
export const recursionDetectionMiddleware = () => (next) => async (args) => {
|
|
7
|
+
const { request } = args;
|
|
8
|
+
if (!HttpRequest.isInstance(request)) {
|
|
9
|
+
return next(args);
|
|
10
|
+
}
|
|
11
|
+
const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ??
|
|
12
|
+
TRACE_ID_HEADER_NAME;
|
|
13
|
+
if (request.headers.hasOwnProperty(traceIdHeader)) {
|
|
14
|
+
return next(args);
|
|
15
|
+
}
|
|
16
|
+
const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];
|
|
17
|
+
const traceIdFromEnv = process.env[ENV_TRACE_ID];
|
|
18
|
+
const traceIdFromInvokeStore = InvokeStore.getXRayTraceId();
|
|
19
|
+
const traceId = traceIdFromInvokeStore ?? traceIdFromEnv;
|
|
20
|
+
const nonEmptyString = (str) => typeof str === "string" && str.length > 0;
|
|
21
|
+
if (nonEmptyString(functionName) && nonEmptyString(traceId)) {
|
|
22
|
+
request.headers[TRACE_ID_HEADER_NAME] = traceId;
|
|
23
|
+
}
|
|
24
|
+
return next({
|
|
25
|
+
...args,
|
|
26
|
+
request,
|
|
27
|
+
});
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const recursionDetectionMiddleware = () => (next) => async (args) => next(args);
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
runtime: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Inject to trace ID to request header to detect recursion invocation in Lambda.
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export declare const recursionDetectionMiddleware: (options: PreviouslyResolved) => BuildMiddleware<any, any>;
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
export declare const addRecursionDetectionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation;
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export declare const getRecursionDetectionPlugin: (options: PreviouslyResolved) => Pluggable<any, any>;
|
|
18
|
-
export {};
|
|
1
|
+
export * from "./getRecursionDetectionPlugin";
|
|
2
|
+
export * from "./recursionDetectionMiddleware";
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
BuildHandlerOptions,
|
|
4
|
-
BuildMiddleware,
|
|
5
|
-
Pluggable,
|
|
6
|
-
} from "@smithy/types";
|
|
7
|
-
interface PreviouslyResolved {
|
|
8
|
-
runtime: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const recursionDetectionMiddleware: (
|
|
11
|
-
options: PreviouslyResolved
|
|
12
|
-
) => BuildMiddleware<any, any>;
|
|
13
|
-
export declare const addRecursionDetectionMiddlewareOptions: BuildHandlerOptions &
|
|
14
|
-
AbsoluteLocation;
|
|
15
|
-
export declare const getRecursionDetectionPlugin: (
|
|
16
|
-
options: PreviouslyResolved
|
|
17
|
-
) => Pluggable<any, any>;
|
|
18
|
-
export {};
|
|
1
|
+
export * from "./getRecursionDetectionPlugin";
|
|
2
|
+
export * from "./recursionDetectionMiddleware";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection",
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@
|
|
28
|
-
"@smithy/
|
|
26
|
+
"@aws-sdk/types": "3.887.0",
|
|
27
|
+
"@aws/lambda-invoke-store": "^0.0.1",
|
|
28
|
+
"@smithy/protocol-http": "^5.2.1",
|
|
29
|
+
"@smithy/types": "^4.5.0",
|
|
29
30
|
"tslib": "^2.6.2"
|
|
30
31
|
},
|
|
31
32
|
"engines": {
|
|
@@ -53,5 +54,9 @@
|
|
|
53
54
|
"downlevel-dts": "0.10.1",
|
|
54
55
|
"rimraf": "3.0.2",
|
|
55
56
|
"typescript": "~5.8.3"
|
|
56
|
-
}
|
|
57
|
+
},
|
|
58
|
+
"browser": {
|
|
59
|
+
"./dist-es/recursionDetectionMiddleware": "./dist-es/recursionDetectionMiddleware.browser"
|
|
60
|
+
},
|
|
61
|
+
"react-native": {}
|
|
57
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^3.
|
|
31
|
-
"@smithy/protocol-http": "^5.1
|
|
32
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@aws-sdk/core": "3.887.0",
|
|
28
|
+
"@aws-sdk/types": "3.887.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.887.0",
|
|
30
|
+
"@smithy/core": "^3.11.0",
|
|
31
|
+
"@smithy/protocol-http": "^5.2.1",
|
|
32
|
+
"@smithy/types": "^4.5.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,41 +28,41 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
41
|
-
"@smithy/config-resolver": "^4.1
|
|
42
|
-
"@smithy/core": "^3.
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.
|
|
44
|
-
"@smithy/hash-node": "^4.
|
|
45
|
-
"@smithy/invalid-dependency": "^4.
|
|
46
|
-
"@smithy/middleware-content-length": "^4.
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.1
|
|
48
|
-
"@smithy/middleware-retry": "^4.1
|
|
49
|
-
"@smithy/middleware-serde": "^4.
|
|
50
|
-
"@smithy/middleware-stack": "^4.
|
|
51
|
-
"@smithy/node-config-provider": "^4.1
|
|
52
|
-
"@smithy/node-http-handler": "^4.
|
|
53
|
-
"@smithy/protocol-http": "^5.1
|
|
54
|
-
"@smithy/smithy-client": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
56
|
-
"@smithy/url-parser": "^4.
|
|
57
|
-
"@smithy/util-base64": "^4.
|
|
58
|
-
"@smithy/util-body-length-browser": "^4.
|
|
59
|
-
"@smithy/util-body-length-node": "^4.
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
62
|
-
"@smithy/util-endpoints": "^3.
|
|
63
|
-
"@smithy/util-middleware": "^4.
|
|
64
|
-
"@smithy/util-retry": "^4.
|
|
65
|
-
"@smithy/util-utf8": "^4.
|
|
31
|
+
"@aws-sdk/core": "3.887.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.887.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.887.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.887.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.887.0",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "3.887.0",
|
|
37
|
+
"@aws-sdk/types": "3.887.0",
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.887.0",
|
|
39
|
+
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.887.0",
|
|
41
|
+
"@smithy/config-resolver": "^4.2.1",
|
|
42
|
+
"@smithy/core": "^3.11.0",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.2.1",
|
|
44
|
+
"@smithy/hash-node": "^4.1.1",
|
|
45
|
+
"@smithy/invalid-dependency": "^4.1.1",
|
|
46
|
+
"@smithy/middleware-content-length": "^4.1.1",
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.2.1",
|
|
48
|
+
"@smithy/middleware-retry": "^4.2.1",
|
|
49
|
+
"@smithy/middleware-serde": "^4.1.1",
|
|
50
|
+
"@smithy/middleware-stack": "^4.1.1",
|
|
51
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
52
|
+
"@smithy/node-http-handler": "^4.2.1",
|
|
53
|
+
"@smithy/protocol-http": "^5.2.1",
|
|
54
|
+
"@smithy/smithy-client": "^4.6.1",
|
|
55
|
+
"@smithy/types": "^4.5.0",
|
|
56
|
+
"@smithy/url-parser": "^4.1.1",
|
|
57
|
+
"@smithy/util-base64": "^4.1.0",
|
|
58
|
+
"@smithy/util-body-length-browser": "^4.1.0",
|
|
59
|
+
"@smithy/util-body-length-node": "^4.1.0",
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.1.1",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.1.1",
|
|
62
|
+
"@smithy/util-endpoints": "^3.1.1",
|
|
63
|
+
"@smithy/util-middleware": "^4.1.1",
|
|
64
|
+
"@smithy/util-retry": "^4.1.1",
|
|
65
|
+
"@smithy/util-utf8": "^4.1.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.1
|
|
27
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/types": "3.887.0",
|
|
26
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
27
|
+
"@smithy/types": "^4.5.0",
|
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
|
29
|
-
"@smithy/util-middleware": "^4.
|
|
29
|
+
"@smithy/util-middleware": "^4.1.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/core": "3.
|
|
33
|
-
"@aws-sdk/nested-clients": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
32
|
+
"@aws-sdk/core": "3.887.0",
|
|
33
|
+
"@aws-sdk/nested-clients": "3.887.0",
|
|
34
|
+
"@aws-sdk/types": "3.887.0",
|
|
35
35
|
"@smithy/property-provider": "^4.0.5",
|
|
36
36
|
"@smithy/shared-ini-file-loader": "^4.0.5",
|
|
37
|
-
"@smithy/types": "^4.
|
|
37
|
+
"@smithy/types": "^4.5.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"directory": "packages/types"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/types": "^4.5.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": true,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@smithy/types": "^4.
|
|
30
|
-
"@smithy/url-parser": "^4.
|
|
31
|
-
"@smithy/util-endpoints": "^3.
|
|
28
|
+
"@aws-sdk/types": "3.887.0",
|
|
29
|
+
"@smithy/types": "^4.5.0",
|
|
30
|
+
"@smithy/url-parser": "^4.1.1",
|
|
31
|
+
"@smithy/util-endpoints": "^3.1.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"react-native": "dist-es/index.native.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@aws-sdk/types": "3.887.0",
|
|
27
|
+
"@smithy/types": "^4.5.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.887.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.1
|
|
27
|
-
"@smithy/types": "^4.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.887.0",
|
|
25
|
+
"@aws-sdk/types": "3.887.0",
|
|
26
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
27
|
+
"@smithy/types": "^4.5.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [1.12.0](https://github.com/axios/axios/compare/v1.11.0...v1.12.0) (2025-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* adding build artifacts ([9ec86de](https://github.com/axios/axios/commit/9ec86de257bfa33856571036279169f385ed92bd))
|
|
9
|
+
* dont add dist on release ([a2edc36](https://github.com/axios/axios/commit/a2edc3606a4f775d868a67bb3461ff18ce7ecd11))
|
|
10
|
+
* **fetch-adapter:** set correct Content-Type for Node FormData ([#6998](https://github.com/axios/axios/issues/6998)) ([a9f47af](https://github.com/axios/axios/commit/a9f47afbf3224d2ca987dbd8188789c7ea853c5d))
|
|
11
|
+
* **node:** enforce maxContentLength for data: URLs ([#7011](https://github.com/axios/axios/issues/7011)) ([945435f](https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593))
|
|
12
|
+
* package exports ([#5627](https://github.com/axios/axios/issues/5627)) ([aa78ac2](https://github.com/axios/axios/commit/aa78ac23fc9036163308c0f6bd2bb885e7af3f36))
|
|
13
|
+
* **params:** removing '[' and ']' from URL encode exclude characters ([#3316](https://github.com/axios/axios/issues/3316)) ([#5715](https://github.com/axios/axios/issues/5715)) ([6d84189](https://github.com/axios/axios/commit/6d84189349c43b1dcdd977b522610660cc4c7042))
|
|
14
|
+
* release pr run ([fd7f404](https://github.com/axios/axios/commit/fd7f404488b2c4f238c2fbe635b58026a634bfd2))
|
|
15
|
+
* **types:** change the type guard on isCancel ([#5595](https://github.com/axios/axios/issues/5595)) ([0dbb7fd](https://github.com/axios/axios/commit/0dbb7fd4f61dc568498cd13a681fa7f907d6ec7e))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **adapter:** surface low‑level network error details; attach original error via cause ([#6982](https://github.com/axios/axios/issues/6982)) ([78b290c](https://github.com/axios/axios/commit/78b290c57c978ed2ab420b90d97350231c9e5d74))
|
|
21
|
+
* **fetch:** add fetch, Request, Response env config variables for the adapter; ([#7003](https://github.com/axios/axios/issues/7003)) ([c959ff2](https://github.com/axios/axios/commit/c959ff29013a3bc90cde3ac7ea2d9a3f9c08974b))
|
|
22
|
+
* support reviver on JSON.parse ([#5926](https://github.com/axios/axios/issues/5926)) ([2a97634](https://github.com/axios/axios/commit/2a9763426e43d996fd60d01afe63fa6e1f5b4fca)), closes [#5924](https://github.com/axios/axios/issues/5924)
|
|
23
|
+
* **types:** extend AxiosResponse interface to include custom headers type ([#6782](https://github.com/axios/axios/issues/6782)) ([7960d34](https://github.com/axios/axios/commit/7960d34eded2de66ffd30b4687f8da0e46c4903e))
|
|
24
|
+
|
|
25
|
+
### Contributors to this release
|
|
26
|
+
|
|
27
|
+
- <img src="https://avatars.githubusercontent.com/u/22686401?v=4&s=18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+132/-16760 (#7002 #5926 #6782 )")
|
|
28
|
+
- <img src="https://avatars.githubusercontent.com/u/12586868?v=4&s=18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+4263/-293 (#7006 #7003 )")
|
|
29
|
+
- <img src="https://avatars.githubusercontent.com/u/53833811?v=4&s=18" alt="avatar" width="18"/> [khani](https://github.com/mkhani01 "+111/-15 (#6982 )")
|
|
30
|
+
- <img src="https://avatars.githubusercontent.com/u/7712804?v=4&s=18" alt="avatar" width="18"/> [Ameer Assadi](https://github.com/AmeerAssadi "+123/-0 (#7011 )")
|
|
31
|
+
- <img src="https://avatars.githubusercontent.com/u/70265727?v=4&s=18" alt="avatar" width="18"/> [Emiedonmokumo Dick-Boro](https://github.com/emiedonmokumo "+55/-35 (#6998 )")
|
|
32
|
+
- <img src="https://avatars.githubusercontent.com/u/47859767?v=4&s=18" alt="avatar" width="18"/> [Zeroday BYTE](https://github.com/opsysdebug "+8/-8 (#6980 )")
|
|
33
|
+
- <img src="https://avatars.githubusercontent.com/u/4814473?v=4&s=18" alt="avatar" width="18"/> [Jason Saayman](https://github.com/jasonsaayman "+7/-7 (#6985 #6985 )")
|
|
34
|
+
- <img src="https://avatars.githubusercontent.com/u/13010755?v=4&s=18" alt="avatar" width="18"/> [최예찬](https://github.com/HealGaren "+5/-7 (#5715 )")
|
|
35
|
+
- <img src="https://avatars.githubusercontent.com/u/7002604?v=4&s=18" alt="avatar" width="18"/> [Gligor Kotushevski](https://github.com/gligorkot "+3/-1 (#5627 )")
|
|
36
|
+
- <img src="https://avatars.githubusercontent.com/u/15893?v=4&s=18" alt="avatar" width="18"/> [Aleksandar Dimitrov](https://github.com/adimit "+2/-1 (#5595 )")
|
|
37
|
+
|
|
3
38
|
# [1.11.0](https://github.com/axios/axios/compare/v1.10.0...v1.11.0) (2025-07-22)
|
|
4
39
|
|
|
5
40
|
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
<h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://
|
|
3
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
4
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
5
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://
|
|
6
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
7
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
8
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://
|
|
9
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
10
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
2
|
+
<h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://dev.intra-mart.jp/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="48px" height="47px" src="https://axios-http.com/assets/sponsors/opencollective/948009b39c308b39f58c5d1245abd22512adc37b.png" alt="intra-mart"/> </a> <p align="center" title="[1ページ目] CookBook の記事 intra-mart Developer Portal ">[1ページ目] CookBook の記事 intra-mart Developer Portal</p> <p align="center"> <a href="https://dev.intra-mart.jp/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>dev.intra-mart.jp</b></a> </p>
|
|
3
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http" target="_blank"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=docs-link&utm_campaign=axios-http" target="_blank"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=node-sdk&utm_campaign=axios-http" target="_blank"><b>Node.js</b></a> </p>
|
|
4
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="We’re bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">We’re bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>www.principal.com</b></a> </p>
|
|
5
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/dfa9670ad5e66eea17315332453c7f4e3a3b5905.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>twicsy.com</b></a> </p>
|
|
6
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we're Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we're Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Community</b></a> </p>
|
|
7
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://route4me.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="51px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/route4me_white.png"> <img width="200px" height="51px" src="https://axios-http.com/assets/sponsors/route4me.png" alt="Route4Me"/> </picture> </a> <p align="center" title="Best Route Planning And Route Optimization Software">Best Route Planning And Route Optimization Software</p> <p align="center"> <a href="https://route4me.com/platform/route-optimization-software?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Explore</b></a> | <a href="https://route4me.com/platform/marketplace/pricing?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Free Trial</b></a> | <a href="https://route4me.com/contact?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Contact</b></a> </p>
|
|
8
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e1625cb54e10ee40180c99d1495a462e9d6664a4.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>buzzoid.com</b></a> </p>
|
|
9
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/56645c65d4bad0ab84265e02430d19d64afde927.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>www.famety.net</b></a> </p>
|
|
10
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e699ec99f7df3a203ddbc49d3c7712a907e628ea.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>poprey.com</b></a> </p>
|
|
11
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/0845614102b0c6602707ca2983de05a0098faad4.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>ssmarket.net</b></a> </p>
|
|
12
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >💜 Become a sponsor</a>
|
|
13
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >💜 Become a sponsor</a>
|
|
11
14
|
</td></tr></table>
|
|
12
15
|
|
|
13
16
|
<!--<div>marker</div>-->
|
|
@@ -1625,7 +1628,7 @@ Also, it supports additional response types such as `stream` and `formdata` (if
|
|
|
1625
1628
|
|
|
1626
1629
|
## Semver
|
|
1627
1630
|
|
|
1628
|
-
|
|
1631
|
+
Since Axios has reached a `v.1.0.0` we will fully embrace semver as per the spec [here](https://semver.org/)
|
|
1629
1632
|
|
|
1630
1633
|
## Promises
|
|
1631
1634
|
|