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): Add transient deps as direct deps to fix https://github.com/e2b-dev/e2b/issues/144 (#146)

Pavel 'Strajk' Dolecek80493aa3b7bf
diff --git a/.changeset/cold-dolls-sing.md b/.changeset/cold-dolls-sing.md
new file mode 100644
index 000000000..4ef34fc82
--- /dev/null
+++ b/.changeset/cold-dolls-sing.md
@@ -0,0 +1,5 @@
+---
+"@e2b/sdk": patch
+---
+
+Add transient deps as direct deps
diff --git a/package-lock.json b/package-lock.json
index 640ba1047..81d654cc8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2613,6 +2613,15 @@
"node": ">=8"
}
},
+ "node_modules/@types/utf-8-validate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@types/utf-8-validate/-/utf-8-validate-5.0.0.tgz",
+ "integrity": "sha512-O3hA/hKp1itPhn4RHBEFt9fos9j1jmebB5UV8iuq0Trr0qoIj+1DywNGLRGWQ+wxZagld4DGZPSVYi0pDniFMQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
"node_modules/@typescript-eslint/eslint-plugin": {
"version": "5.62.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz",
@@ -3595,6 +3604,18 @@
"optional": true,
"peer": true
},
+ "node_modules/bufferutil": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz",
+ "integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "node-gyp-build": "^4.3.0"
+ },
+ "engines": {
+ "node": ">=6.14.2"
+ }
+ },
"node_modules/builtin-modules": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
@@ -6980,6 +7001,16 @@
}
}
},
+ "node_modules/node-gyp-build": {
+ "version": "4.6.1",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
+ "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==",
+ "bin": {
+ "node-gyp-build": "bin.js",
+ "node-gyp-build-optional": "optional.js",
+ "node-gyp-build-test": "build-test.js"
+ }
+ },
"node_modules/node-releases": {
"version": "2.0.13",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
@@ -9568,6 +9599,18 @@
"node": ">=4"
}
},
+ "node_modules/utf-8-validate": {
+ "version": "5.0.10",
+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz",
+ "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==",
+ "hasInstallScript": true,
+ "dependencies": {
+ "node-gyp-build": "^4.3.0"
+ },
+ "engines": {
+ "node": ">=6.14.2"
+ }
+ },
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -10148,14 +10191,16 @@
},
"packages/js-sdk": {
"name": "@e2b/sdk",
- "version": "0.2.4",
+ "version": "0.2.5",
"license": "MIT",
"dependencies": {
+ "bufferutil": "^4.0.7",
"cross-fetch": "^3.1.5",
"normalize-path": "^3.0.0",
"openapi-typescript-fetch": "^1.1.3",
"platform": "^1.3.6",
- "rpc-websocket-client": "^1.1.4"
+ "rpc-websocket-client": "^1.1.4",
+ "utf-8-validate": "^5.0.10"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^14.1.0",
@@ -10164,6 +10209,7 @@
"@types/node": "^18.7.23",
"@types/normalize-path": "^3.0.0",
"@types/platform": "^1.3.4",
+ "@types/utf-8-validate": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
@@ -10189,7 +10235,7 @@
},
"packages/python-sdk": {
"name": "@e2b/python-sdk",
- "version": "0.2.8"
+ "version": "0.2.9"
}
},
"dependencies": {
@@ -11241,8 +11287,10 @@
"@types/node": "^18.7.23",
"@types/normalize-path": "^3.0.0",
"@types/platform": "^1.3.4",
+ "@types/utf-8-validate": "5.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
+ "bufferutil": "^4.0.7",
"cross-fetch": "^3.1.5",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
@@ -11259,6 +11307,7 @@
"rollup-plugin-typescript2": "^0.34.0",
"rpc-websocket-client": "^1.1.4",
"typescript": "^4.9.4",
+ "utf-8-validate": "^5.0.10",
"vitest": "^0.34.2"
},
"dependencies": {
@@ -12099,6 +12148,15 @@
}
}
},
+ "@types/utf-8-validate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@types/utf-8-validate/-/utf-8-validate-5.0.0.tgz",
+ "integrity": "sha512-O3hA/hKp1itPhn4RHBEFt9fos9j1jmebB5UV8iuq0Trr0qoIj+1DywNGLRGWQ+wxZagld4DGZPSVYi0pDniFMQ==",
+ "dev": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
"@typescript-eslint/eslint-plugin": {
"version": "5.62.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz",
@@ -12710,6 +12768,14 @@
"optional": true,
"peer": true
},
+ "bufferutil": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz",
+ "integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==",
+ "requires": {
+ "node-gyp-build": "^4.3.0"
+ }
+ },
"builtin-modules": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
@@ -14911,6 +14977,11 @@
"whatwg-url": "^5.0.0"
}
},
+ "node-gyp-build": {
+ "version": "4.6.1",
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
+ "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ=="
+ },
"node-releases": {
"version": "2.0.13",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz",
@@ -16685,6 +16756,14 @@
"prepend-http": "^2.0.0"
}
},
+ "utf-8-validate": {
+ "version": "5.0.10",
+ "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz",
+ "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==",
+ "requires": {
+ "node-gyp-build": "^4.3.0"
+ }
+ },
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json
index cbfc28178..d2f5b7b53 100644
--- a/packages/js-sdk/package.json
+++ b/packages/js-sdk/package.json
@@ -42,6 +42,7 @@
"@types/node": "^18.7.23",
"@types/normalize-path": "^3.0.0",
"@types/platform": "^1.3.4",
+ "@types/utf-8-validate": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"eslint": "^8.24.0",
@@ -77,10 +78,12 @@
"typescript"
],
"dependencies": {
+ "bufferutil": "^4.0.7",
"cross-fetch": "^3.1.5",
"normalize-path": "^3.0.0",
"openapi-typescript-fetch": "^1.1.3",
"platform": "^1.3.6",
- "rpc-websocket-client": "^1.1.4"
+ "rpc-websocket-client": "^1.1.4",
+ "utf-8-validate": "^5.0.10"
}
}