You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
178e267: Bump the glob dependency from ^11.1.0 to ^13.0.6. glob 11 is deprecated on npm, so every install of a project depending on e2b printed a npm warn deprecated glob@11.1.0 warning that downstream packages could not silence (overrides and shrinkwrap only apply to the top-level project). glob 12 and 13 only changed the CLI — the --shell option and the glob bin, which moved to a separate glob-bin package — so the programmatic API the SDK uses (glob(pattern, { ignore, withFileTypes, dot, cwd }) plus Path#isDirectory()/fullpath()/relative()) is unchanged. glob 13 also drops the CLI's transitive dependencies, cutting a fresh npm install e2b from 37 to 26 packages.
b511953: Remove the new Function('return import(...)') trick from undici loading. loadUndici now uses the shared dynamicImport helper, whose dynamic import is kept opaque to downstream bundlers with webpackIgnore/@vite-ignore annotations instead of runtime code generation. Environments that disallow code generation from strings (CSP, --disallow-code-generation-from-strings) now load undici normally instead of silently falling back to the global fetch.
b511953: Fix the lazy fetcher loading in api/http2.ts and envd/http2.ts: a failed fetcher build is no longer cached forever (the next request retries instead of replaying the stale rejection), and the no-undici fallback now late-binds globalThis.fetch so fetch replacements installed after the first request (msw, instrumentation) are picked up. The previously duplicated loading logic is shared in undici.ts.