sandboxedjs 0.2.13 → 0.2.14
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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/docs/browser-runtime-architecture.md +6 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21103,7 +21103,7 @@ var wheels_default = {
|
|
|
21103
21103
|
|
|
21104
21104
|
// package.json
|
|
21105
21105
|
var package_default = {
|
|
21106
|
-
version: "0.2.
|
|
21106
|
+
version: "0.2.14"};
|
|
21107
21107
|
|
|
21108
21108
|
// src/python/extension-abi.ts
|
|
21109
21109
|
var EXTENSION_ABI = {
|
package/dist/index.js
CHANGED
|
@@ -21086,7 +21086,7 @@ var wheels_default = {
|
|
|
21086
21086
|
|
|
21087
21087
|
// package.json
|
|
21088
21088
|
var package_default = {
|
|
21089
|
-
version: "0.2.
|
|
21089
|
+
version: "0.2.14"};
|
|
21090
21090
|
|
|
21091
21091
|
// src/python/extension-abi.ts
|
|
21092
21092
|
var EXTENSION_ABI = {
|
|
@@ -99,6 +99,12 @@ carry a TLS handshake this transport cannot terminate. A page's `fetch` is also
|
|
|
99
99
|
subject to CORS, so a cross-origin target must send the headers that let the
|
|
100
100
|
page read the response; that is a browser rule, not a container policy.
|
|
101
101
|
|
|
102
|
+
The bundled startup hook supplies an HTTPX transport when the package is
|
|
103
|
+
installed, so `httpx.get()` and `httpx.AsyncClient` use the same egress endpoint
|
|
104
|
+
in a browser. This is an integration for HTTPX rather than a claim that every
|
|
105
|
+
third-party socket or TLS library is browser-compatible; a library that opens
|
|
106
|
+
its own raw socket still needs the native Node path or a general WISP/TCP relay.
|
|
107
|
+
|
|
102
108
|
## Python thread offloads
|
|
103
109
|
|
|
104
110
|
The bundled pthread interpreter supports standard `asyncio.to_thread`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandboxedjs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "A Linux-like container that runs entirely inside Node.js — POSIX shell, ~140 coreutils, Node.js and Python runtimes, virtual filesystem and networking. No Docker, no VM, no native modules.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|