@wasm-oj/browser 0.2.1 → 0.2.3
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/THIRD_PARTY_NOTICES.md +57 -30
- package/dist/assets/compiler.worker-c6eOLuJo.js +448 -0
- package/dist/assets/{go-stage.worker-qAZsdpHR.js → go-stage.worker-DMewq4N3.js} +1 -1
- package/dist/assets/java-stage.worker-COWR2SIP.js +4 -0
- package/dist/assets/runner.worker-CWkfyiLA.js +300 -0
- package/dist/assets/{runtime-core_bg-DOSHFfqX.wasm → runtime-core_bg-s75xwQFA.wasm} +0 -0
- package/dist/assets/{rustc-stage.worker-Du32NZ8x.js → rustc-stage.worker-BJ5u-1c2.js} +1 -1
- package/dist/index.d.ts +34 -3
- package/dist/index.js +3 -3
- package/licenses/quickjs-node-stdlib-LICENSES.txt +259 -0
- package/package.json +3 -3
- package/dist/assets/compiler.worker-CEgZ8Nwi.js +0 -180
- package/dist/assets/java-stage.worker-DYLwRvD9.js +0 -21
- package/dist/assets/python-stage.worker-NkAs4CDH.js +0 -22
- package/dist/assets/runner.worker-eTZ0WAw3.js +0 -281
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -65,13 +65,39 @@ package. The generated dependency report covers every package in the pinned
|
|
|
65
65
|
normal Cargo dependency graph selected for `wasm32-unknown-unknown`; its compact
|
|
66
66
|
inventory binds all 332 package identities and the exact HTML report digest.
|
|
67
67
|
|
|
68
|
+
### QuickJS guest Node standard I/O libraries
|
|
69
|
+
|
|
70
|
+
The generated guest prelude in `src/runtime/quickjs/stdlib.generated.ts` bundles
|
|
71
|
+
the following exact npm releases. `scripts/build-quickjs-stdlib.mjs` builds this
|
|
72
|
+
prelude from the locked packages and the WASM-OJ standard I/O adapters.
|
|
73
|
+
|
|
74
|
+
| Component | Source release | License |
|
|
75
|
+
| --- | --- | --- |
|
|
76
|
+
| buffer 6.0.3 | <https://github.com/feross/buffer/tree/v6.0.3> | MIT |
|
|
77
|
+
| readable-stream 4.7.0 | <https://github.com/nodejs/readable-stream/tree/v4.7.0> | MIT |
|
|
78
|
+
| events 3.3.0 | <https://github.com/Gozala/events/tree/v3.3.0> | MIT |
|
|
79
|
+
| abort-controller 3.0.0 | <https://github.com/mysticatea/abort-controller/tree/v3.0.0> | MIT |
|
|
80
|
+
| event-target-shim 5.0.1 | <https://github.com/mysticatea/event-target-shim/tree/v5.0.1> | MIT |
|
|
81
|
+
| base64-js 1.5.1 | <https://github.com/beatgammit/base64-js/tree/v1.5.1> | MIT |
|
|
82
|
+
| ieee754 1.2.1 | <https://github.com/feross/ieee754/tree/v1.2.1> | BSD-3-Clause |
|
|
83
|
+
| string_decoder 1.3.0 | <https://github.com/nodejs/string_decoder/tree/v1.3.0> | MIT |
|
|
84
|
+
| safe-buffer 5.2.1 | <https://github.com/feross/safe-buffer/tree/v5.2.1> | MIT |
|
|
85
|
+
|
|
86
|
+
The complete upstream license texts, including the Node-derived stream and
|
|
87
|
+
decoder notices, are reproduced in `licenses/quickjs-node-stdlib-LICENSES.txt`
|
|
88
|
+
(SHA-256 `38e42dcb48e476e4e836552c814c911eb5464d80b56b970d87aa07b88c7b28f8`).
|
|
89
|
+
`licenses/components.json` binds each release to the generated bundle digest;
|
|
90
|
+
`pnpm-lock.yaml` pins all package integrity values. The Buffer declarations are
|
|
91
|
+
also copied from the same buffer 6.0.3 release. These guest libraries implement
|
|
92
|
+
the supported byte buffers and standard streams; they do not include Node.js.
|
|
93
|
+
|
|
68
94
|
## Distributed toolchain assets
|
|
69
95
|
|
|
70
96
|
### TypeScript-Go
|
|
71
97
|
|
|
72
98
|
- Distributed asset: `typescript-7.0.2.wasm.gz.bin`
|
|
73
|
-
- Compressed SHA-256: `
|
|
74
|
-
- Expanded Wasm SHA-256: `
|
|
99
|
+
- Compressed SHA-256: `29c6ee0e46151e2644049ae96162b1b1d46dcb13310e2a928114bb9030c3ea92`
|
|
100
|
+
- Expanded Wasm SHA-256: `01cea8c18841b73e0601d31859be1dcd323e61d83e7cfb15523dd051fc78c8da`
|
|
75
101
|
- Source revision: `microsoft/typescript-go@2bd066d87f5bafd315be9f40889d0a60b9e58e0b`
|
|
76
102
|
- Source: <https://github.com/microsoft/typescript-go/tree/2bd066d87f5bafd315be9f40889d0a60b9e58e0b>
|
|
77
103
|
- Build runtime: Go 1.26.3 standard library (`GOOS=wasip1`, `GOARCH=wasm`)
|
|
@@ -101,29 +127,29 @@ byte-identical to `go/LICENSE` in the exact Go 1.26.5 source distribution.
|
|
|
101
127
|
|
|
102
128
|
### Java compiler toolchain
|
|
103
129
|
|
|
104
|
-
- Distributed assets: `java-teavm-0.13.1.
|
|
130
|
+
- Distributed assets: `java-teavm-0.13.1.compiler.wasm`,
|
|
105
131
|
`java-teavm-0.13.1.compile-classlib.bin`, and
|
|
106
132
|
`java-teavm-0.13.1.runtime-classlib.bin`
|
|
107
133
|
- TeaVM Java compiler source: <https://github.com/konsoletyper/teavm-javac/tree/7e4a44cf521694a4e326e33850dd8aec165eb5c9>
|
|
108
134
|
- TeaVM core source: `konsoletyper/teavm@b3a245b7d9034ff35cdfab2def057a3d4f256efb`
|
|
109
|
-
|
|
110
|
-
- Compiler
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
135
|
+
with source patches and build provenance in `tools/java-client/`
|
|
136
|
+
- Compiler SHA-256: `8c37bce1c6fceeaffeffe93e10834309b67c8b6fb58c6f8a24547afe8be67f5d`
|
|
137
|
+
- Android Scanner and Spliterators source: `platform/libcore@de876a01b29230b877c9f408348c38a90ee724a5`
|
|
138
|
+
- Licenses: TeaVM Apache-2.0; OpenJDK and Android class libraries GPL-2.0
|
|
139
|
+
with Classpath exception
|
|
140
|
+
- License material: `licenses/Apache-2.0.txt`,
|
|
141
|
+
`licenses/openjdk-21-GPL-2.0-with-Classpath-exception.txt`, and
|
|
142
|
+
`licenses/android-libcore-GPL-2.0-with-Classpath-exception.txt`
|
|
143
|
+
|
|
144
|
+
The WasmGC compiler uses statically packaged JavaScript bindings and emits
|
|
145
|
+
standalone `wasip1` student modules. TeaVM links reachable class-library code
|
|
146
|
+
into those modules; the full class-library archives are compiler inputs.
|
|
121
147
|
|
|
122
148
|
### QuickJS-ng
|
|
123
149
|
|
|
124
150
|
- Distributed asset: `quickjs-0.15.1.wasm.gz.bin`
|
|
125
|
-
- Compressed SHA-256: `
|
|
126
|
-
- Expanded Wasm SHA-256: `
|
|
151
|
+
- Compressed SHA-256: `dc6e02e8610269e61b341331661515616451cec929fd534fa96d1c4f47fbcc9a`
|
|
152
|
+
- Expanded Wasm SHA-256: `a098db08592626781f6ad6e63f1b8a36da6d03b85b530dc94c441a348426b20b`
|
|
127
153
|
- Source revision: `quickjs-ng/quickjs@fd0a0210b7be00957751871e7e01b8291268fc29`
|
|
128
154
|
- Source: <https://github.com/quickjs-ng/quickjs/tree/fd0a0210b7be00957751871e7e01b8291268fc29>
|
|
129
155
|
- Build SDK: [WASI SDK 24.0 release archive for arm64 macOS](https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-arm64-macos.tar.gz),
|
|
@@ -240,25 +266,25 @@ source trees, so the inventory reuses the exact digest-bound `b9ef79d7` copies;
|
|
|
240
266
|
the revision-specific root and musl-fts notices remain separate. The generated
|
|
241
267
|
WebC and pinned command manifests do not relicense those payloads.
|
|
242
268
|
|
|
243
|
-
### CPython 3.14.
|
|
269
|
+
### CPython 3.14.7 for WASI P1
|
|
244
270
|
|
|
245
|
-
- Distributed assets: `python-3.14.
|
|
246
|
-
manifest `python-3.14.
|
|
247
|
-
- Official source archive: <https://www.python.org/ftp/python/3.14.
|
|
248
|
-
SHA-256 `
|
|
249
|
-
- Official SPDX document: <https://www.python.org/ftp/python/3.14.
|
|
250
|
-
SHA-256 `
|
|
271
|
+
- Distributed assets: `python-3.14.7-wasip1.webc.gz.bin` and its provenance
|
|
272
|
+
manifest `python-3.14.7-wasip1.manifest.json`
|
|
273
|
+
- Official source archive: <https://www.python.org/ftp/python/3.14.7/Python-3.14.7.tar.xz>,
|
|
274
|
+
SHA-256 `3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81`
|
|
275
|
+
- Official SPDX document: <https://www.python.org/ftp/python/3.14.7/Python-3.14.7.tar.xz.spdx.json>,
|
|
276
|
+
SHA-256 `87f55ca6c59fe159fa8c47ba2d7d8bec39cc649b1d3f47c667f34025a2ca9a68`
|
|
251
277
|
- Expanded WebC SHA-256:
|
|
252
|
-
`
|
|
278
|
+
`a42c98f5f00582638c8e445440c506bbf94d5e55b3415d1f8d82d11c56cd4b56`
|
|
253
279
|
- Distributed gzip SHA-256:
|
|
254
|
-
`
|
|
280
|
+
`10027f0e32c77dfa0ce1c413b6cb27307d6744fe5e18e6da8cea738bd020260c`
|
|
255
281
|
- Provenance manifest SHA-256:
|
|
256
|
-
`
|
|
282
|
+
`53a24b258363a8494af164121111a34b49c85fa0e054627fe131feba6f359cd5`
|
|
257
283
|
- Deterministically exported `WOJFS002` runtime archive SHA-256:
|
|
258
|
-
`
|
|
284
|
+
`c1acac884af1c86833db5b65f8cc0a2304fce74dea0a05d9b40bde0a4e3e7c0e`
|
|
259
285
|
- CPython license: Python Software Foundation License Version 2 and the
|
|
260
286
|
historical notices reproduced with it
|
|
261
|
-
- License text: `licenses/cpython-3.14.
|
|
287
|
+
- License text: `licenses/cpython-3.14.7-PSF-2.0.txt`
|
|
262
288
|
- Bundled third-party source: Expat 2.8.1 (MIT), HACL* revision
|
|
263
289
|
`8ba599b2f6c9701b3dc961db895b0856a2210f76` (MIT), and libmpdec 2.5.1
|
|
264
290
|
(BSD-2-Clause); their exact notices are
|
|
@@ -270,7 +296,8 @@ WebC and pinned command manifests do not relicense those payloads.
|
|
|
270
296
|
`26a1d6601d727a96f4301d0d8647b5a42760ae0c`, and wasi-libc revision
|
|
271
297
|
`b9ef79d7dbd47c6c5bafdae760823467c2f60b70`.
|
|
272
298
|
|
|
273
|
-
WASM-OJ compiles this package from the pinned official sources
|
|
299
|
+
WASM-OJ compiles this package from the pinned official sources with a 4 MiB C
|
|
300
|
+
stack and 16 MiB initial linear memory, retaining `--stack-first`, disables
|
|
274
301
|
`_socket`, removes test/development-only standard-library roots, canonicalizes
|
|
275
302
|
build-only sysconfig paths, and packages the complete source SPDX document and
|
|
276
303
|
applicable CPython, third-party, compiler-rt, WASI SDK, and wasi-libc notices
|