From 763743a46768d2a7931ec13236d6364c2c00e514 Mon Sep 17 00:00:00 2001 From: Tomas Valenta Date: Tue, 7 Oct 2025 16:24:50 -0700 Subject: [PATCH 1/4] Update JS/TS e2b core package --- js/package.json | 8 +-- pnpm-lock.yaml | 180 ++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 164 insertions(+), 24 deletions(-) diff --git a/js/package.json b/js/package.json index 13b4188..cfb1454 100644 --- a/js/package.json +++ b/js/package.json @@ -67,13 +67,13 @@ "runtime", "vm" ], - "dependencies": { - "e2b": "^2.0.1" - }, "engines": { "node": ">=18" }, "browserslist": [ "defaults" - ] + ], + "dependencies": { + "e2b": "^2.2.1" + } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 388adb0..03b702e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,8 +48,8 @@ importers: js: dependencies: e2b: - specifier: ^2.0.1 - version: 2.0.1 + specifier: ^2.2.1 + version: 2.2.1 devDependencies: '@types/node': specifier: ^18.18.6 @@ -89,8 +89,8 @@ packages: resolution: {integrity: sha512-1x3D2xEk2fRo3PAhwQwu5UubzgiVWSXTBfWpVd2Mx2AzRqJuDJCsgaDVZ7HB5iGzDW1Hl1sWN2mFyKjmR9uAog==} engines: {node: '>=6.9.0'} - '@bufbuild/protobuf@2.6.3': - resolution: {integrity: sha512-w/gJKME9mYN7ZoUAmSMAWXk4hkVpxRKvEJCb3dV5g9wwWdxTJJ0ayOJAVcNxtdqaxDyFuC0uz4RSGVacJ030PQ==} + '@bufbuild/protobuf@2.9.0': + resolution: {integrity: sha512-rnJenoStJ8nvmt9Gzye8nkYd6V22xUAnu4086ER7h1zJ508vStko4pMvDeQ446ilDTFpV5wnoc5YS7XvMwwMqA==} '@changesets/apply-release-plan@7.0.8': resolution: {integrity: sha512-qjMUj4DYQ1Z6qHawsn7S71SujrExJ+nceyKKyI9iB+M5p9lCL55afuEd6uLBPRpLGWQwkwvWegDHtwHJb1UjpA==} @@ -339,10 +339,22 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@isaacs/balanced-match@4.0.1': + resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==} + engines: {node: 20 || >=22} + + '@isaacs/brace-expansion@5.0.0': + resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==} + engines: {node: 20 || >=22} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} + '@isaacs/fs-minipass@4.0.1': + resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==} + engines: {node: '>=18.0.0'} + '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -824,6 +836,10 @@ packages: resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} engines: {node: '>= 14.16.0'} + chownr@3.0.0: + resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==} + engines: {node: '>=18'} + ci-info@3.9.0: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} @@ -850,8 +866,8 @@ packages: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} - compare-versions@6.1.0: - resolution: {integrity: sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg==} + compare-versions@6.1.1: + resolution: {integrity: sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==} concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} @@ -898,6 +914,9 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} + dockerfile-ast@0.7.1: + resolution: {integrity: sha512-oX/A4I0EhSkGqrFv0YuvPkBUSYp1XiY8O8zAKc8Djglx8ocz+JfOr8gP0ryRMC2myqvDLagmnZaU9ot1vG2ijw==} + doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} @@ -906,8 +925,8 @@ packages: resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} engines: {node: '>=12'} - e2b@2.0.1: - resolution: {integrity: sha512-wJgZTV1QFeh5WKQ23n6hWmMODPmyKiiWaQy+uxvV/5M9NH/zMY/ONzhh7j7ONYgeH8jdRZxOS2e+G345EodGeA==} + e2b@2.2.1: + resolution: {integrity: sha512-uPpK1mcSY4Bn/CKEs8nMiNMCA8Ay2DmIum7VBdV1QTCY35y3XbyAODr0Pb3yj8cGlhL/TfLlscBZ6vInyhXU+w==} engines: {node: '>=18'} eastasianwidth@0.2.0: @@ -1067,6 +1086,10 @@ packages: resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} engines: {node: '>=14'} + foreground-child@3.3.1: + resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} + engines: {node: '>=14'} + fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} @@ -1096,6 +1119,11 @@ packages: engines: {node: '>=16 || 14 >=14.17'} hasBin: true + glob@11.0.3: + resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==} + engines: {node: 20 || >=22} + hasBin: true + glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported @@ -1192,6 +1220,10 @@ packages: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} + jackspeak@4.1.1: + resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==} + engines: {node: 20 || >=22} + jiti@2.4.2: resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} hasBin: true @@ -1273,6 +1305,10 @@ packages: resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} engines: {node: 14 || >=16.14} + lru-cache@11.2.2: + resolution: {integrity: sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==} + engines: {node: 20 || >=22} + lru-cache@6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} @@ -1316,6 +1352,10 @@ packages: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} + minimatch@10.0.3: + resolution: {integrity: sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==} + engines: {node: 20 || >=22} + minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -1334,6 +1374,14 @@ packages: resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} engines: {node: '>=16 || 14 >=14.17'} + minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + + minizlib@3.1.0: + resolution: {integrity: sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==} + engines: {node: '>= 18'} + mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} engines: {node: '>=4'} @@ -1416,6 +1464,9 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} + package-json-from-dist@1.0.1: + resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + package-manager-detector@0.2.9: resolution: {integrity: sha512-+vYvA/Y31l8Zk8dwxHhL3JfTuHPm6tlxM2A3GeQyl7ovYnSp1+mzAxClxaOr0qO1TtPxbQxetI7v5XqKLJZk7Q==} @@ -1443,6 +1494,10 @@ packages: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} engines: {node: '>=16 || 14 >=14.17'} + path-scurry@2.0.0: + resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} + engines: {node: 20 || >=22} + path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -1671,6 +1726,10 @@ packages: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} + tar@7.5.1: + resolution: {integrity: sha512-nlGpxf+hv0v7GkWBK2V9spgactGOp0qvfWRxUMjqHyzrt3SgwE48DIv/FhqPHJYLHpgW1opq3nERbz5Anq7n1g==} + engines: {node: '>=18'} + term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} @@ -1892,6 +1951,12 @@ packages: jsdom: optional: true + vscode-languageserver-textdocument@1.0.12: + resolution: {integrity: sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==} + + vscode-languageserver-types@3.17.5: + resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} @@ -1929,6 +1994,10 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yallist@5.0.0: + resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} + engines: {node: '>=18'} + yaml@2.7.0: resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} engines: {node: '>= 14'} @@ -1954,7 +2023,7 @@ snapshots: '@babel/runtime@7.27.1': {} - '@bufbuild/protobuf@2.6.3': {} + '@bufbuild/protobuf@2.9.0': {} '@changesets/apply-release-plan@7.0.8': dependencies: @@ -2098,14 +2167,14 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 - '@connectrpc/connect-web@2.0.0-rc.3(@bufbuild/protobuf@2.6.3)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.6.3))': + '@connectrpc/connect-web@2.0.0-rc.3(@bufbuild/protobuf@2.9.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.9.0))': dependencies: - '@bufbuild/protobuf': 2.6.3 - '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.6.3) + '@bufbuild/protobuf': 2.9.0 + '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.9.0) - '@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.6.3)': + '@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.9.0)': dependencies: - '@bufbuild/protobuf': 2.6.3 + '@bufbuild/protobuf': 2.9.0 '@esbuild/aix-ppc64@0.25.0': optional: true @@ -2217,6 +2286,12 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@isaacs/balanced-match@4.0.1': {} + + '@isaacs/brace-expansion@5.0.0': + dependencies: + '@isaacs/balanced-match': 4.0.1 + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -2226,6 +2301,10 @@ snapshots: wrap-ansi: 8.1.0 wrap-ansi-cjs: wrap-ansi@7.0.0 + '@isaacs/fs-minipass@4.0.1': + dependencies: + minipass: 7.1.2 + '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -2744,6 +2823,8 @@ snapshots: dependencies: readdirp: 4.1.1 + chownr@3.0.0: {} + ci-info@3.9.0: {} clean-stack@2.2.0: {} @@ -2761,7 +2842,7 @@ snapshots: commander@4.1.1: {} - compare-versions@6.1.0: {} + compare-versions@6.1.1: {} concat-map@0.0.1: {} @@ -2798,20 +2879,28 @@ snapshots: dependencies: path-type: 4.0.0 + dockerfile-ast@0.7.1: + dependencies: + vscode-languageserver-textdocument: 1.0.12 + vscode-languageserver-types: 3.17.5 + doctrine@3.0.0: dependencies: esutils: 2.0.3 dotenv@16.4.7: {} - e2b@2.0.1: + e2b@2.2.1: dependencies: - '@bufbuild/protobuf': 2.6.3 - '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.6.3) - '@connectrpc/connect-web': 2.0.0-rc.3(@bufbuild/protobuf@2.6.3)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.6.3)) - compare-versions: 6.1.0 + '@bufbuild/protobuf': 2.9.0 + '@connectrpc/connect': 2.0.0-rc.3(@bufbuild/protobuf@2.9.0) + '@connectrpc/connect-web': 2.0.0-rc.3(@bufbuild/protobuf@2.9.0)(@connectrpc/connect@2.0.0-rc.3(@bufbuild/protobuf@2.9.0)) + compare-versions: 6.1.1 + dockerfile-ast: 0.7.1 + glob: 11.0.3 openapi-fetch: 0.9.8 platform: 1.3.6 + tar: 7.5.1 eastasianwidth@0.2.0: {} @@ -3017,6 +3106,11 @@ snapshots: cross-spawn: 7.0.6 signal-exit: 4.1.0 + foreground-child@3.3.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 @@ -3050,6 +3144,15 @@ snapshots: minipass: 7.0.4 path-scurry: 1.10.1 + glob@11.0.3: + dependencies: + foreground-child: 3.3.1 + jackspeak: 4.1.1 + minimatch: 10.0.3 + minipass: 7.1.2 + package-json-from-dist: 1.0.1 + path-scurry: 2.0.0 + glob@7.2.3: dependencies: fs.realpath: 1.0.0 @@ -3148,6 +3251,10 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 + jackspeak@4.1.1: + dependencies: + '@isaacs/cliui': 8.0.2 + jiti@2.4.2: {} joycon@3.1.1: {} @@ -3229,6 +3336,8 @@ snapshots: lru-cache@10.2.0: {} + lru-cache@11.2.2: {} + lru-cache@6.0.0: dependencies: yallist: 4.0.0 @@ -3286,6 +3395,10 @@ snapshots: braces: 3.0.3 picomatch: 2.3.1 + minimatch@10.0.3: + dependencies: + '@isaacs/brace-expansion': 5.0.0 + minimatch@3.1.2: dependencies: brace-expansion: 1.1.12 @@ -3302,6 +3415,12 @@ snapshots: minipass@7.0.4: {} + minipass@7.1.2: {} + + minizlib@3.1.0: + dependencies: + minipass: 7.1.2 + mri@1.2.0: {} ms@2.1.3: {} @@ -3377,6 +3496,8 @@ snapshots: p-try@2.2.0: {} + package-json-from-dist@1.0.1: {} + package-manager-detector@0.2.9: {} parent-module@1.0.1: @@ -3396,6 +3517,11 @@ snapshots: lru-cache: 10.2.0 minipass: 7.0.4 + path-scurry@2.0.0: + dependencies: + lru-cache: 11.2.2 + minipass: 7.1.2 + path-type@4.0.0: {} pathe@2.0.3: {} @@ -3603,6 +3729,14 @@ snapshots: tapable@2.2.1: {} + tar@7.5.1: + dependencies: + '@isaacs/fs-minipass': 4.0.1 + chownr: 3.0.0 + minipass: 7.1.2 + minizlib: 3.1.0 + yallist: 5.0.0 + term-size@2.2.1: {} text-table@0.2.0: {} @@ -3817,6 +3951,10 @@ snapshots: - tsx - yaml + vscode-languageserver-textdocument@1.0.12: {} + + vscode-languageserver-types@3.17.5: {} + wcwidth@1.0.1: dependencies: defaults: 1.0.4 @@ -3857,6 +3995,8 @@ snapshots: yallist@4.0.0: {} + yallist@5.0.0: {} + yaml@2.7.0: {} yocto-queue@0.1.0: {} From 3846e6832f0dcfe9032bcd5574cfc9f805ac5e80 Mon Sep 17 00:00:00 2001 From: Tomas Valenta Date: Tue, 7 Oct 2025 16:27:36 -0700 Subject: [PATCH 2/4] Add changeset --- .changeset/rotten-wombats-hide.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/rotten-wombats-hide.md diff --git a/.changeset/rotten-wombats-hide.md b/.changeset/rotten-wombats-hide.md new file mode 100644 index 0000000..edab24e --- /dev/null +++ b/.changeset/rotten-wombats-hide.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter': patch +--- + +Update core package From ff5b16d2a9a8c8065de0afadd37808a14e0c2257 Mon Sep 17 00:00:00 2001 From: Tomas Valenta Date: Tue, 7 Oct 2025 16:46:28 -0700 Subject: [PATCH 3/4] Fix node version --- .github/workflows/js_tests.yml | 6 +-- .github/workflows/release.yml | 28 +++++++------- .github/workflows/release_candidates.yml | 4 +- js/package.json | 6 +-- pnpm-lock.yaml | 48 ++++++++++++------------ 5 files changed, 45 insertions(+), 47 deletions(-) diff --git a/.github/workflows/js_tests.yml b/.github/workflows/js_tests.yml index 144603f..49e567a 100644 --- a/.github/workflows/js_tests.yml +++ b/.github/workflows/js_tests.yml @@ -36,8 +36,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.x' - registry-url: 'https://registry.npmjs.org' + node-version: "20.x" + registry-url: "https://registry.npmjs.org" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -81,4 +81,4 @@ jobs: env: E2B_API_KEY: ${{ secrets.E2B_API_KEY }} E2B_DOMAIN: ${{ vars.E2B_DOMAIN }} - E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }} \ No newline at end of file + E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 45546bd..1ce7fde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: "20.x" registry-url: "https://registry.npmjs.org" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -71,7 +71,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: "18.x" + node-version: "20.x" registry-url: "https://registry.npmjs.org" cache: pnpm cache-dependency-path: pnpm-lock.yaml @@ -108,7 +108,6 @@ jobs: IS_RELEASE=$(./.github/scripts/is_release_for_package.sh "@e2b/code-interpreter-template") echo "release=$IS_RELEASE" >> "$GITHUB_OUTPUT" - charts-release: name: Charts release if: needs.changes.outputs.charts == 'true' @@ -128,7 +127,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.12' + python-version: "3.12" - name: Install and configure Poetry uses: snok/install-poetry@v1 @@ -156,7 +155,7 @@ jobs: poetry build poetry config pypi-token.pypi ${PYPI_TOKEN} poetry publish --skip-existing - working-directory: ./chart_data_extractor + working-directory: ./chart_data_extractor env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PYPI_TOKEN: ${{ secrets.CHARTS_PYPI_TOKEN }} @@ -165,7 +164,7 @@ jobs: id: output_version working-directory: ./chart_data_extractor run: | - echo "::set-output name=version::$(pnpm pkg get version --workspaces=false | tr -d \\\")" + echo "::set-output name=version::$(pnpm pkg get version --workspaces=false | tr -d \\\")" build-docker-image: name: Build Docker Image @@ -231,9 +230,9 @@ jobs: python-tests: name: Python Tests needs: [changes, build-template] - if: always() && + if: always() && !contains(needs.*.result, 'failure') && - !contains(needs.*.result, 'cancelled') && + !contains(needs.*.result, 'cancelled') && needs.changes.outputs.template == 'true' uses: ./.github/workflows/python_tests.yml secrets: inherit @@ -241,7 +240,7 @@ jobs: js-tests: name: JS Tests needs: [changes, build-template] - if: always() && + if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && needs.changes.outputs.template == 'true' @@ -250,7 +249,7 @@ jobs: release: needs: [python-tests, js-tests] - if: always() && + if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') && (needs.changes.outputs.js == 'true' || needs.changes.outputs.python == 'true' || needs.changes.outputs.charts == 'true' || needs.changes.outputs.template == 'true') @@ -268,7 +267,6 @@ jobs: with: token: ${{ steps.app-token.outputs.token }} - - name: Set up Python uses: actions/setup-python@v4 with: @@ -286,10 +284,10 @@ jobs: with: version: 9.5 - - name: Setup Node.js 18 + - name: Setup Node.js 20 uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: "20.x" cache: pnpm - name: Configure pnpm @@ -304,11 +302,11 @@ jobs: run: pnpm run version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Generate SDK reference id: sdk-ref run: pnpm run --recursive generate-ref - + - name: Show docs file structure run: | if [ -d "./sdk-reference" ]; then diff --git a/.github/workflows/release_candidates.yml b/.github/workflows/release_candidates.yml index e47b8cf..3bc8101 100644 --- a/.github/workflows/release_candidates.yml +++ b/.github/workflows/release_candidates.yml @@ -22,11 +22,11 @@ jobs: with: version: 9.5 - - name: Setup Node.js 18 + - name: Setup Node.js 20 uses: actions/setup-node@v4 if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }} with: - node-version: '18.x' + node-version: "20.x" registry-url: https://registry.npmjs.org cache: pnpm diff --git a/js/package.json b/js/package.json index 13b4188..613f1a0 100644 --- a/js/package.json +++ b/js/package.json @@ -39,7 +39,7 @@ "format": "prettier --write src/ tests/ example.mts" }, "devDependencies": { - "@types/node": "^18.18.6", + "@types/node": "^20.19.19", "dotenv": "^16.4.5", "knip": "^5.25.1", "npm-check-updates": "^17.1.14", @@ -71,9 +71,9 @@ "e2b": "^2.0.1" }, "engines": { - "node": ">=18" + "node": ">=20" }, "browserslist": [ "defaults" ] -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 388adb0..9f7d556 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,14 +52,14 @@ importers: version: 2.0.1 devDependencies: '@types/node': - specifier: ^18.18.6 - version: 18.19.75 + specifier: ^20.19.19 + version: 20.19.19 dotenv: specifier: ^16.4.5 version: 16.4.7 knip: specifier: ^5.25.1 - version: 5.43.6(@types/node@18.19.75)(typescript@5.7.3) + version: 5.43.6(@types/node@20.19.19)(typescript@5.7.3) npm-check-updates: specifier: ^17.1.14 version: 17.1.14 @@ -77,7 +77,7 @@ importers: version: 5.7.3 vitest: specifier: ^3.0.9 - version: 3.1.1(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0) + version: 3.1.1(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0) python: {} @@ -551,8 +551,8 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@18.19.75': - resolution: {integrity: sha512-UIksWtThob6ZVSyxcOqCLOUNg/dyO1Qvx4McgeuhrEtHTLFTf7BBhEazaE4K806FGTPtzd/2sE90qn4fVr7cyw==} + '@types/node@20.19.19': + resolution: {integrity: sha512-pb1Uqj5WJP7wrcbLU7Ru4QtA0+3kAXrkutGiD26wUKzSMgNNaPARTUDQmElUXp64kh3cWdou3Q0C7qwwxqSFmg==} '@types/semver@7.7.0': resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} @@ -1788,8 +1788,8 @@ packages: underscore@1.13.6: resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} unist-util-is@6.0.0: resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} @@ -2425,9 +2425,9 @@ snapshots: '@types/node@12.20.55': {} - '@types/node@18.19.75': + '@types/node@20.19.19': dependencies: - undici-types: 5.26.5 + undici-types: 6.21.0 '@types/semver@7.7.0': {} @@ -2609,13 +2609,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.1.1(vite@6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0))': + '@vitest/mocker@3.1.1(vite@6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0))': dependencies: '@vitest/spy': 3.1.1 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0) '@vitest/pretty-format@3.1.1': dependencies: @@ -3175,11 +3175,11 @@ snapshots: dependencies: json-buffer: 3.0.1 - knip@5.43.6(@types/node@18.19.75)(typescript@5.7.3): + knip@5.43.6(@types/node@20.19.19)(typescript@5.7.3): dependencies: '@nodelib/fs.walk': 3.0.1 '@snyk/github-codeowners': 1.1.0 - '@types/node': 18.19.75 + '@types/node': 20.19.19 easy-table: 1.2.0 enhanced-resolve: 5.18.1 fast-glob: 3.3.3 @@ -3706,7 +3706,7 @@ snapshots: underscore@1.13.6: {} - undici-types@5.26.5: {} + undici-types@6.21.0: {} unist-util-is@6.0.0: dependencies: @@ -3747,13 +3747,13 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - vite-node@3.1.1(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0): + vite-node@3.1.1(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0): dependencies: cac: 6.7.14 debug: 4.4.0 es-module-lexer: 1.6.0 pathe: 2.0.3 - vite: 6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0) transitivePeerDependencies: - '@types/node' - jiti @@ -3768,21 +3768,21 @@ snapshots: - tsx - yaml - vite@6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0): + vite@6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0): dependencies: esbuild: 0.25.0 postcss: 8.5.3 rollup: 4.39.0 optionalDependencies: - '@types/node': 18.19.75 + '@types/node': 20.19.19 fsevents: 2.3.3 jiti: 2.4.2 yaml: 2.7.0 - vitest@3.1.1(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0): + vitest@3.1.1(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0): dependencies: '@vitest/expect': 3.1.1 - '@vitest/mocker': 3.1.1(vite@6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0)) + '@vitest/mocker': 3.1.1(vite@6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0)) '@vitest/pretty-format': 3.1.1 '@vitest/runner': 3.1.1 '@vitest/snapshot': 3.1.1 @@ -3798,11 +3798,11 @@ snapshots: tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 6.2.7(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0) - vite-node: 3.1.1(@types/node@18.19.75)(jiti@2.4.2)(yaml@2.7.0) + vite: 6.2.7(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0) + vite-node: 3.1.1(@types/node@20.19.19)(jiti@2.4.2)(yaml@2.7.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 18.19.75 + '@types/node': 20.19.19 transitivePeerDependencies: - jiti - less From 0930191b7590a4bd560823d70a80177a0b030d67 Mon Sep 17 00:00:00 2001 From: Tomas Valenta Date: Tue, 7 Oct 2025 16:47:22 -0700 Subject: [PATCH 4/4] Add changeset --- .changeset/many-planets-talk.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/many-planets-talk.md diff --git a/.changeset/many-planets-talk.md b/.changeset/many-planets-talk.md new file mode 100644 index 0000000..5c77597 --- /dev/null +++ b/.changeset/many-planets-talk.md @@ -0,0 +1,5 @@ +--- +'@e2b/code-interpreter': patch +--- + +Fix node version