Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

chore(js-sdk): bump `undici` to ^7.29.0 and optional `undici8` to 8.10.0 (#1645)

Mish Ushakovd5a382ed673e
diff --git a/.changeset/bump-undici8-8-10-0.md b/.changeset/bump-undici8-8-10-0.md
new file mode 100644
index 000000000..a53c897d2
--- /dev/null
+++ b/.changeset/bump-undici8-8-10-0.md
@@ -0,0 +1,5 @@
+---
+'e2b': patch
+---
+
+Bump both undici dependencies past the 2026-07-24 security advisories: the required `undici` from `^7.28.0` to `^7.29.0`, and the optional `undici8` (`npm:undici@…`) from 8.8.0 to 8.10.0. Both releases fix one High ([GHSA-4cwx-7wf7-3272](https://github.com/nodejs/undici/security/advisories/GHSA-4cwx-7wf7-3272)) and four Medium advisories, and undici 8.10.0 additionally fixes HTTP/2 request settling, refused-stream retries and GOAWAY handling, which the SDK exercises because every dispatcher it builds sets `allowH2: true`. Neither bump moves a Node floor — 7.29.0 still requires Node `>=20.18.1` and 8.10.0 still requires `>=22.19.0`, matching the `UNDICI_8_MIN_NODE` gate — so package selection and behaviour are unchanged.
diff --git a/package.json b/package.json
index bf305da6e..3ad5e0961 100644
--- a/package.json
+++ b/package.json
@@ -56,6 +56,7 @@
"minimatch@>=5.0.0 <5.1.8": "^5.1.8",
"minimatch@>=9.0.0 <9.0.7": "^9.0.7",
"minimatch@>=10.0.0 <10.2.3": "^10.2.3",
+ "undici@>=7.0.0 <7.29.0": "^7.29.0",
"ws@>=8.0.0 <8.20.1": "^8.20.1",
"shell-quote@<1.9.0": "^1.9.0",
"sharp@<0.35.0": "^0.35.0",
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index 751f7a0ea..bfb08c22d 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -102,10 +102,10 @@
"openapi-fetch": "^0.14.1",
"platform": "^1.3.6",
"tar": "^7.5.19",
- "undici": "^7.28.0"
+ "undici": "^7.29.0"
},
"optionalDependencies": {
- "undici8": "npm:[email protected]"
+ "undici8": "npm:[email protected]"
},
"engines": {
"node": ">=20.18.1 <21 || >=22"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3fed247ff..0af255476 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -23,6 +23,7 @@ overrides:
minimatch@>=5.0.0 <5.1.8: ^5.1.8
minimatch@>=9.0.0 <9.0.7: ^9.0.7
minimatch@>=10.0.0 <10.2.3: ^10.2.3
+ undici@>=7.0.0 <7.29.0: ^7.29.0
ws@>=8.0.0 <8.20.1: ^8.20.1
shell-quote@<1.9.0: ^1.9.0
sharp@<0.35.0: ^0.35.0
@@ -167,8 +168,8 @@ importers:
specifier: ^7.5.19
version: 7.5.21
undici:
- specifier: ^7.28.0
- version: 7.28.0
+ specifier: ^7.29.0
+ version: 7.29.0
devDependencies:
'@cloudflare/vitest-pool-workers':
specifier: ^0.18.7
@@ -250,8 +251,8 @@ importers:
optionalDependencies:
undici8:
- specifier: npm:[email protected]
+ specifier: npm:[email protected]
packages/python-sdk: {}
@@ -3753,12 +3754,12 @@ packages:
resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
- resolution: {integrity: sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==}
+ resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==}
engines: {node: '>=20.18.1'}
- resolution: {integrity: sha512-ubshXMXwF3MQIMF1y/WxZdNBnjEKeSg2wF5mcGUtU55YTw34tnVVpKRlLf7ruDXZ5344KokPVX4RBx1wJm64Bw==}
+ resolution: {integrity: sha512-HvltHd7avK13QIw/oLe4qoOLyoVSoafqJ2jYOrtMRBkbYT31eiBQ8O0ehRKZiEZCMEyLFQNIADpgCWC5fALvYQ==}
engines: {node: '>=22.19.0'}
@@ -6424,7 +6425,7 @@ snapshots:
dependencies:
'@cspotcode/source-map-support': 0.8.1
sharp: 0.35.3(@types/[email protected])
- undici: 7.28.0
+ undici: 7.29.0
workerd: 1.20260721.1
youch: 4.1.0-beta.10
@@ -7314,9 +7315,9 @@ snapshots:
optional: true