@jjrawlins/cdk-iam-policy-builder-helper 0.0.68 → 0.0.69

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.
Files changed (34) hide show
  1. package/.jsii +3 -3
  2. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  3. package/cdk-iam-policy-builder-helper/version +1 -1
  4. package/node_modules/@aws/lambda-invoke-store/README.md +8 -0
  5. package/node_modules/@aws/lambda-invoke-store/{dist → dist-cjs}/invoke-store.js +12 -36
  6. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +64 -0
  7. package/node_modules/@aws/lambda-invoke-store/{dist → dist-types}/invoke-store.d.ts +5 -0
  8. package/node_modules/@aws/lambda-invoke-store/package.json +26 -8
  9. package/node_modules/@aws-sdk/client-iam/package.json +3 -3
  10. package/node_modules/@aws-sdk/client-sso/package.json +2 -2
  11. package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
  12. package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
  13. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  14. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
  15. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
  16. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  17. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  18. package/node_modules/axios/CHANGELOG.md +15 -3
  19. package/node_modules/axios/dist/axios.js +2 -2
  20. package/node_modules/axios/dist/axios.js.map +1 -1
  21. package/node_modules/axios/dist/axios.min.js +2 -2
  22. package/node_modules/axios/dist/axios.min.js.map +1 -1
  23. package/node_modules/axios/dist/browser/axios.cjs +2 -2
  24. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  25. package/node_modules/axios/dist/esm/axios.js +2 -2
  26. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  27. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  28. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  29. package/node_modules/axios/dist/node/axios.cjs +3 -3
  30. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  31. package/node_modules/axios/lib/adapters/http.js +1 -1
  32. package/node_modules/axios/lib/env/data.js +1 -1
  33. package/node_modules/axios/package.json +1 -1
  34. package/package.json +3 -3
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-iam": "^3.918.0",
10
+ "@aws-sdk/client-iam": "^3.919.0",
11
11
  "axios": "^1.8.2",
12
12
  "jsonc-parser": "^3.3.1"
13
13
  },
@@ -3526,6 +3526,6 @@
3526
3526
  }
3527
3527
  },
3528
3528
  "types": {},
3529
- "version": "0.0.68",
3530
- "fingerprint": "9S7su91bRj33s2KP8KzhRWo+beXWhdhPz/yqJhSCAF8="
3529
+ "version": "0.0.69",
3530
+ "fingerprint": "1bQ/MxZ/LuoPTkHjH0vs5TUCbK0eLWbqbSJdoiDG+Dw="
3531
3531
  }
@@ -13,7 +13,7 @@ import (
13
13
  constructs "github.com/aws/constructs-go/constructs/v10/jsii"
14
14
  )
15
15
 
16
- //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.67.tgz
16
+ //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.68.tgz
17
17
  var tarball []byte
18
18
 
19
19
  // Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
24
24
  constructs.Initialize()
25
25
 
26
26
  // Load this library into the kernel
27
- _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.67", tarball)
27
+ _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.68", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.67
1
+ 0.0.68
@@ -99,6 +99,14 @@ Convenience method to get the current request ID.
99
99
  const requestId = InvokeStore.getRequestId(); // Returns '-' if outside context
100
100
  ```
101
101
 
102
+ ### InvokeStore.getTenantId()
103
+
104
+ Convenience method to get the tenant ID.
105
+
106
+ ```typescript
107
+ const requestId = InvokeStore.getTenantId();
108
+ ```
109
+
102
110
  ### InvokeStore.getXRayTraceId()
103
111
 
104
112
  Convenience method to get the current [X-Ray trace ID](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces). This ID is used for distributed tracing across AWS services.
@@ -1,8 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvokeStore = void 0;
4
- const async_hooks_1 = require("async_hooks");
5
- // AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA provides an escape hatch since we're modifying the global object which may not be expected to a customer's handler.
1
+ 'use strict';
2
+
3
+ var async_hooks = require('async_hooks');
4
+
6
5
  const noGlobalAwsLambda = process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "1" ||
7
6
  process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "true";
8
7
  if (!noGlobalAwsLambda) {
@@ -11,37 +10,21 @@ if (!noGlobalAwsLambda) {
11
10
  const PROTECTED_KEYS = {
12
11
  REQUEST_ID: Symbol("_AWS_LAMBDA_REQUEST_ID"),
13
12
  X_RAY_TRACE_ID: Symbol("_AWS_LAMBDA_X_RAY_TRACE_ID"),
13
+ TENANT_ID: Symbol("_AWS_LAMBDA_TENANT_ID"),
14
14
  };
15
- /**
16
- * InvokeStore implementation class
17
- */
18
15
  class InvokeStoreImpl {
19
- static storage = new async_hooks_1.AsyncLocalStorage();
20
- // Protected keys for Lambda context fields
16
+ static storage = new async_hooks.AsyncLocalStorage();
21
17
  static PROTECTED_KEYS = PROTECTED_KEYS;
22
- /**
23
- * Initialize and run code within an invoke context
24
- */
25
18
  static run(context, fn) {
26
19
  return this.storage.run({ ...context }, fn);
27
20
  }
28
- /**
29
- * Get the complete current context
30
- */
31
21
  static getContext() {
32
22
  return this.storage.getStore();
33
23
  }
34
- /**
35
- * Get a specific value from the context by key
36
- */
37
24
  static get(key) {
38
25
  const context = this.storage.getStore();
39
26
  return context?.[key];
40
27
  }
41
- /**
42
- * Set a custom value in the current context
43
- * Protected Lambda context fields cannot be overwritten
44
- */
45
28
  static set(key, value) {
46
29
  if (this.isProtectedKey(key)) {
47
30
  throw new Error(`Cannot modify protected Lambda context field`);
@@ -51,27 +34,18 @@ class InvokeStoreImpl {
51
34
  context[key] = value;
52
35
  }
53
36
  }
54
- /**
55
- * Get the current request ID
56
- */
57
37
  static getRequestId() {
58
38
  return this.get(this.PROTECTED_KEYS.REQUEST_ID) ?? "-";
59
39
  }
60
- /**
61
- * Get the current X-ray trace ID
62
- */
63
40
  static getXRayTraceId() {
64
41
  return this.get(this.PROTECTED_KEYS.X_RAY_TRACE_ID);
65
42
  }
66
- /**
67
- * Check if we're currently within an invoke context
68
- */
43
+ static getTenantId() {
44
+ return this.get(this.PROTECTED_KEYS.TENANT_ID);
45
+ }
69
46
  static hasContext() {
70
47
  return this.storage.getStore() !== undefined;
71
48
  }
72
- /**
73
- * Check if a key is protected (readonly Lambda context field)
74
- */
75
49
  static isProtectedKey(key) {
76
50
  return (key === this.PROTECTED_KEYS.REQUEST_ID ||
77
51
  key === this.PROTECTED_KEYS.X_RAY_TRACE_ID);
@@ -87,4 +61,6 @@ else {
87
61
  globalThis.awslambda.InvokeStore = instance;
88
62
  }
89
63
  }
90
- exports.InvokeStore = instance;
64
+ const InvokeStore = instance;
65
+
66
+ exports.InvokeStore = InvokeStore;
@@ -0,0 +1,64 @@
1
+ import { AsyncLocalStorage } from 'async_hooks';
2
+
3
+ const noGlobalAwsLambda = process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "1" ||
4
+ process.env["AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA"] === "true";
5
+ if (!noGlobalAwsLambda) {
6
+ globalThis.awslambda = globalThis.awslambda || {};
7
+ }
8
+ const PROTECTED_KEYS = {
9
+ REQUEST_ID: Symbol("_AWS_LAMBDA_REQUEST_ID"),
10
+ X_RAY_TRACE_ID: Symbol("_AWS_LAMBDA_X_RAY_TRACE_ID"),
11
+ TENANT_ID: Symbol("_AWS_LAMBDA_TENANT_ID"),
12
+ };
13
+ class InvokeStoreImpl {
14
+ static storage = new AsyncLocalStorage();
15
+ static PROTECTED_KEYS = PROTECTED_KEYS;
16
+ static run(context, fn) {
17
+ return this.storage.run({ ...context }, fn);
18
+ }
19
+ static getContext() {
20
+ return this.storage.getStore();
21
+ }
22
+ static get(key) {
23
+ const context = this.storage.getStore();
24
+ return context?.[key];
25
+ }
26
+ static set(key, value) {
27
+ if (this.isProtectedKey(key)) {
28
+ throw new Error(`Cannot modify protected Lambda context field`);
29
+ }
30
+ const context = this.storage.getStore();
31
+ if (context) {
32
+ context[key] = value;
33
+ }
34
+ }
35
+ static getRequestId() {
36
+ return this.get(this.PROTECTED_KEYS.REQUEST_ID) ?? "-";
37
+ }
38
+ static getXRayTraceId() {
39
+ return this.get(this.PROTECTED_KEYS.X_RAY_TRACE_ID);
40
+ }
41
+ static getTenantId() {
42
+ return this.get(this.PROTECTED_KEYS.TENANT_ID);
43
+ }
44
+ static hasContext() {
45
+ return this.storage.getStore() !== undefined;
46
+ }
47
+ static isProtectedKey(key) {
48
+ return (key === this.PROTECTED_KEYS.REQUEST_ID ||
49
+ key === this.PROTECTED_KEYS.X_RAY_TRACE_ID);
50
+ }
51
+ }
52
+ let instance;
53
+ if (!noGlobalAwsLambda && globalThis.awslambda?.InvokeStore) {
54
+ instance = globalThis.awslambda.InvokeStore;
55
+ }
56
+ else {
57
+ instance = InvokeStoreImpl;
58
+ if (!noGlobalAwsLambda && globalThis.awslambda) {
59
+ globalThis.awslambda.InvokeStore = instance;
60
+ }
61
+ }
62
+ const InvokeStore = instance;
63
+
64
+ export { InvokeStore };
@@ -13,6 +13,7 @@ declare class InvokeStoreImpl {
13
13
  static readonly PROTECTED_KEYS: {
14
14
  readonly REQUEST_ID: symbol;
15
15
  readonly X_RAY_TRACE_ID: symbol;
16
+ readonly TENANT_ID: symbol;
16
17
  };
17
18
  /**
18
19
  * Initialize and run code within an invoke context
@@ -39,6 +40,10 @@ declare class InvokeStoreImpl {
39
40
  * Get the current X-ray trace ID
40
41
  */
41
42
  static getXRayTraceId(): string | undefined;
43
+ /**
44
+ * Get the current tenant ID
45
+ */
46
+ static getTenantId(): string | undefined;
42
47
  /**
43
48
  * Check if we're currently within an invoke context
44
49
  */
@@ -1,12 +1,23 @@
1
1
  {
2
2
  "name": "@aws/lambda-invoke-store",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "Invoke scoped data storage for AWS Lambda Node.js Runtime Environment",
5
5
  "homepage": "https://github.com/awslabs/aws-lambda-invoke-store",
6
- "main": "./dist/invoke-store.js",
7
- "types": "./dist/invoke-store.d.ts",
6
+ "main": "./dist-cjs/invoke-store.js",
7
+ "module": "./dist-es/invoke-store.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist-types/invoke-store.d.ts",
11
+ "module": "./dist-es/invoke-store.js",
12
+ "node": "./dist-cjs/invoke-store.js",
13
+ "import": "./dist-es/invoke-store.js",
14
+ "require": "./dist-cjs/invoke-store.js"
15
+ }
16
+ },
8
17
  "files": [
9
- "dist"
18
+ "dist-es",
19
+ "dist-cjs",
20
+ "dist-types"
10
21
  ],
11
22
  "repository": {
12
23
  "type": "git",
@@ -18,15 +29,22 @@
18
29
  "url": "http://aws.amazon.com"
19
30
  },
20
31
  "scripts": {
21
- "build": "tsc",
32
+ "build": "yarn clean && yarn build:types && node ./scripts/build-rollup.js",
33
+ "build:types": "tsc -p tsconfig.types.json",
34
+ "clean": "rm -rf dist-types dist-cjs dist-es",
22
35
  "test": "vitest run",
23
36
  "test:watch": "vitest watch",
24
- "clean": "rm -rf dist"
37
+ "release": "yarn build && changeset publish"
25
38
  },
26
39
  "devDependencies": {
40
+ "@changesets/cli": "^2.29.6",
41
+ "@rollup/plugin-node-resolve": "^16.0.3",
42
+ "@rollup/plugin-typescript": "^12.3.0",
27
43
  "@tsconfig/node18": "^18.2.4",
28
- "@types/node": "^18.19.112",
29
- "typescript": "~5.4.5",
44
+ "@types/node": "^18.19.130",
45
+ "rollup": "^4.52.5",
46
+ "tslib": "^2.8.1",
47
+ "typescript": "^5.9.3",
30
48
  "vitest": "^3.1.1"
31
49
  },
32
50
  "engines": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.918.0",
4
+ "version": "3.919.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.916.0",
24
- "@aws-sdk/credential-provider-node": "3.918.0",
24
+ "@aws-sdk/credential-provider-node": "3.919.0",
25
25
  "@aws-sdk/middleware-host-header": "3.914.0",
26
26
  "@aws-sdk/middleware-logger": "3.914.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.914.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.919.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.916.0",
29
29
  "@aws-sdk/region-config-resolver": "3.914.0",
30
30
  "@aws-sdk/types": "3.914.0",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.916.0",
4
+ "version": "3.919.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sso",
@@ -23,7 +23,7 @@
23
23
  "@aws-sdk/core": "3.916.0",
24
24
  "@aws-sdk/middleware-host-header": "3.914.0",
25
25
  "@aws-sdk/middleware-logger": "3.914.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.914.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.919.0",
27
27
  "@aws-sdk/middleware-user-agent": "3.916.0",
28
28
  "@aws-sdk/region-config-resolver": "3.914.0",
29
29
  "@aws-sdk/types": "3.914.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.918.0",
3
+ "version": "3.919.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,9 +32,9 @@
32
32
  "@aws-sdk/credential-provider-env": "3.916.0",
33
33
  "@aws-sdk/credential-provider-http": "3.916.0",
34
34
  "@aws-sdk/credential-provider-process": "3.916.0",
35
- "@aws-sdk/credential-provider-sso": "3.916.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.918.0",
37
- "@aws-sdk/nested-clients": "3.916.0",
35
+ "@aws-sdk/credential-provider-sso": "3.919.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.919.0",
37
+ "@aws-sdk/nested-clients": "3.919.0",
38
38
  "@aws-sdk/types": "3.914.0",
39
39
  "@smithy/credential-provider-imds": "^4.2.3",
40
40
  "@smithy/property-provider": "^4.2.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.918.0",
3
+ "version": "3.919.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "@aws-sdk/credential-provider-env": "3.916.0",
35
35
  "@aws-sdk/credential-provider-http": "3.916.0",
36
- "@aws-sdk/credential-provider-ini": "3.918.0",
36
+ "@aws-sdk/credential-provider-ini": "3.919.0",
37
37
  "@aws-sdk/credential-provider-process": "3.916.0",
38
- "@aws-sdk/credential-provider-sso": "3.916.0",
39
- "@aws-sdk/credential-provider-web-identity": "3.918.0",
38
+ "@aws-sdk/credential-provider-sso": "3.919.0",
39
+ "@aws-sdk/credential-provider-web-identity": "3.919.0",
40
40
  "@aws-sdk/types": "3.914.0",
41
41
  "@smithy/credential-provider-imds": "^4.2.3",
42
42
  "@smithy/property-provider": "^4.2.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.916.0",
3
+ "version": "3.919.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/client-sso": "3.916.0",
29
+ "@aws-sdk/client-sso": "3.919.0",
30
30
  "@aws-sdk/core": "3.916.0",
31
- "@aws-sdk/token-providers": "3.916.0",
31
+ "@aws-sdk/token-providers": "3.919.0",
32
32
  "@aws-sdk/types": "3.914.0",
33
33
  "@smithy/property-provider": "^4.2.3",
34
34
  "@smithy/shared-ini-file-loader": "^4.3.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.918.0",
3
+ "version": "3.919.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -35,7 +35,7 @@
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
37
  "@aws-sdk/core": "3.916.0",
38
- "@aws-sdk/nested-clients": "3.916.0",
38
+ "@aws-sdk/nested-clients": "3.919.0",
39
39
  "@aws-sdk/types": "3.914.0",
40
40
  "@smithy/property-provider": "^4.2.3",
41
41
  "@smithy/shared-ini-file-loader": "^4.3.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.914.0",
3
+ "version": "3.919.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",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@aws-sdk/types": "3.914.0",
28
- "@aws/lambda-invoke-store": "^0.0.1",
28
+ "@aws/lambda-invoke-store": "^0.1.1",
29
29
  "@smithy/protocol-http": "^5.3.3",
30
30
  "@smithy/types": "^4.8.0",
31
31
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.916.0",
3
+ "version": "3.919.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/core": "3.916.0",
33
33
  "@aws-sdk/middleware-host-header": "3.914.0",
34
34
  "@aws-sdk/middleware-logger": "3.914.0",
35
- "@aws-sdk/middleware-recursion-detection": "3.914.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.919.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.916.0",
37
37
  "@aws-sdk/region-config-resolver": "3.914.0",
38
38
  "@aws-sdk/types": "3.914.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.916.0",
3
+ "version": "3.919.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,7 +30,7 @@
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
32
  "@aws-sdk/core": "3.916.0",
33
- "@aws-sdk/nested-clients": "3.916.0",
33
+ "@aws-sdk/nested-clients": "3.919.0",
34
34
  "@aws-sdk/types": "3.914.0",
35
35
  "@smithy/property-provider": "^4.2.3",
36
36
  "@smithy/shared-ini-file-loader": "^4.3.3",
@@ -1,5 +1,17 @@
1
- # Changelog
2
-
1
+ # Changelog
2
+
3
+ ## [1.13.1](https://github.com/axios/axios/compare/v1.13.0...v1.13.1) (2025-10-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **http:** fixed a regression that caused the data stream to be interrupted for responses with non-OK HTTP statuses; ([#7193](https://github.com/axios/axios/issues/7193)) ([bcd5581](https://github.com/axios/axios/commit/bcd5581d208cd372055afdcb2fd10b68ca40613c))
9
+
10
+ ### Contributors to this release
11
+
12
+ - <img src="https://avatars.githubusercontent.com/u/128113546?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Anchal Singh](https://github.com/imanchalsingh "+220/-111 (#7173 )")
13
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+18/-1 (#7193 )")
14
+
3
15
  # [1.13.0](https://github.com/axios/axios/compare/v1.12.2...v1.13.0) (2025-10-27)
4
16
 
5
17
 
@@ -1326,4 +1338,4 @@ This functionality is considered as a fix.
1326
1338
  - [Luca Pizzini](https://github.com/lpizzinidev)
1327
1339
  - [Willian Agostini](https://github.com/WillianAgostini)
1328
1340
 
1329
- - [Huyen Nguyen](https://github.com/huyenltnguyen)
1341
+ - [Huyen Nguyen](https://github.com/huyenltnguyen)
@@ -1,4 +1,4 @@
1
- /*! Axios v1.13.0 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.13.1 Copyright (c) 2025 Matt Zabriskie and contributors */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -3847,7 +3847,7 @@
3847
3847
  });
3848
3848
  }
3849
3849
 
3850
- var VERSION = "1.13.0";
3850
+ var VERSION = "1.13.1";
3851
3851
 
3852
3852
  var validators$1 = {};
3853
3853