@threadedstack/wmd-web 0.1.65 → 0.1.67
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/RELEASE.json +10 -7
- package/guest/arm64/vm.wasm +0 -0
- package/package.json +3 -3
- package/src/boot.js +4 -3
- package/src/edge/pins.gen.js +1 -1
- package/wmdpack.wasm +0 -0
package/RELEASE.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wmd-web",
|
|
3
3
|
"version": "0.5.1",
|
|
4
|
-
"commit": "
|
|
4
|
+
"commit": "2b8b34ec9bbd4a90bd74021c090e4c4bb957030e",
|
|
5
5
|
"previous": null,
|
|
6
6
|
"decisions": [
|
|
7
7
|
"D-388",
|
|
@@ -85,15 +85,18 @@
|
|
|
85
85
|
"D-689",
|
|
86
86
|
"D-690",
|
|
87
87
|
"D-691",
|
|
88
|
-
"D-692"
|
|
88
|
+
"D-692",
|
|
89
|
+
"D-697",
|
|
90
|
+
"D-700",
|
|
91
|
+
"D-701"
|
|
89
92
|
],
|
|
90
|
-
"vmSources": "
|
|
93
|
+
"vmSources": "9ce8e5780fdf400f0c6529f1d06e2d97a0d82fed",
|
|
91
94
|
"guest": {
|
|
92
95
|
"arch": "arm64",
|
|
93
96
|
"files": {
|
|
94
97
|
"vm.wasm": {
|
|
95
|
-
"sha256": "
|
|
96
|
-
"bytes":
|
|
98
|
+
"sha256": "e6996fb2cdbbd92a596c55f369f00e50b98cde8665c918d803e2a78e58cc6866",
|
|
99
|
+
"bytes": 1582348
|
|
97
100
|
},
|
|
98
101
|
"Image": {
|
|
99
102
|
"sha256": "b7a8843d3469e2f5c32973ce2e6d663f90e07099ed2e9e9aee2ceac0e6a0685b",
|
|
@@ -183,11 +186,11 @@
|
|
|
183
186
|
"guest/arm64/Image-4k": "55ab90773d080416f1539ae2caac0a49bb98e2bb34ce9384849725fb8e601551",
|
|
184
187
|
"guest/arm64/features": "4dc6f2a114c7c87a67eb9f0fe53c52b6b8128bb30830a6be498432a3701587f4",
|
|
185
188
|
"guest/arm64/initramfs.cpio.gz": "ac7c0fc194b059579943c3d8ceaa0757c3e3e248231c2ad779260e97d5084cd3",
|
|
186
|
-
"guest/arm64/vm.wasm": "
|
|
189
|
+
"guest/arm64/vm.wasm": "e6996fb2cdbbd92a596c55f369f00e50b98cde8665c918d803e2a78e58cc6866",
|
|
187
190
|
"package.json": "6de9aa9fabdb395651d39997c17e094f01a574f54a36f0af31bd3ffaae53cda1",
|
|
188
191
|
"src/base.js": "c79df2c3d4a6519fb9a6ef5cda39d66a5b9bc1a6dd009d21e7455e141943079f",
|
|
189
192
|
"src/blob.js": "bb2a2f0d87ce236280a7be2f246c926010dfe07f649c27da5e70d8eb5eaf7061",
|
|
190
|
-
"src/boot.js": "
|
|
193
|
+
"src/boot.js": "4fc602d67967b3ffe85f1c251d8d6717ce50f6451f8dccb54fde10b6c73816a5",
|
|
191
194
|
"src/build/builder.js": "57a8436acc00147d031a42cccffe508f8deb3735b0ab4f9efcc2aa1cf7c6859c",
|
|
192
195
|
"src/build/context.js": "d38097c61dbdadc4d41290c010425a4422f499aba473fa2b83f2a5c41e543571",
|
|
193
196
|
"src/build/dockerfile.js": "5957fe3d4ac8ff8b312f980ee04bd1d98ad4373a61f9a33e02f1ff1108b6ea53",
|
package/guest/arm64/vm.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@threadedstack/wmd-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://github.com/threadedstack/wmd-releases",
|
|
6
6
|
"repository": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"description": "Browser host for wmd's guest vm.wasm (Web Workers + shared memory + WASI preview1)",
|
|
11
11
|
"wmd": {
|
|
12
|
-
"tag": "v0.1.
|
|
13
|
-
"commit": "
|
|
12
|
+
"tag": "v0.1.67",
|
|
13
|
+
"commit": "2b8b34ec9bbd4a90bd74021c090e4c4bb957030e",
|
|
14
14
|
"web": "0.5.1"
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
package/src/boot.js
CHANGED
|
@@ -753,8 +753,8 @@ export function fmaFuses() {
|
|
|
753
753
|
* W32: the environment vm.wasm starts with in this browser: vmEnv's, plus
|
|
754
754
|
* WMD_JIT_THRESHOLD=WEBKIT_JIT_THRESHOLD and D-551's WMD_MIRROR_DEPTH=WEBKIT_MIRROR_DEPTH in WebKit, W30's WMD_TRACE_MAX for the engine and
|
|
755
755
|
* W33's WMD_RESCUE_MS, D-539's WMD_FMA_FUSED=1 where the engine fuses relaxed_madd (fmaFuses) and, in
|
|
756
|
-
* Chromium, D-542's WMD_RGN_DUP=1 (regions copy sampled-hot compiled blocks of their page; Firefox's go
|
|
757
|
-
* slower with it, WebKit did not move), each unless the caller sets it. Kept out of the boot key (bootKeyOf hashes vmEnv's list), so a checkpoint or base
|
|
756
|
+
* Chromium and Firefox, D-542's WMD_RGN_DUP=1 (regions copy sampled-hot compiled blocks of their page; Firefox's go no
|
|
757
|
+
* longer runs slower with it, D-701; WebKit did not move), each unless the caller sets it. Kept out of the boot key (bootKeyOf hashes vmEnv's list), so a checkpoint or base
|
|
758
758
|
* snapshot made in one engine restores in another; a restored machine keeps the settings it started with, but
|
|
759
759
|
* its FMA follows the restoring page (machine_fma_env). A checkpoint taken with WMD_FMA_FUSED=1 records
|
|
760
760
|
* fmaFused, and an engine that does not fuse refuses it (checkCheckpointFits), as its blocks may hold
|
|
@@ -769,7 +769,8 @@ export function browserEnv(env, nav = globalThis.navigator, fused = fmaFuses())
|
|
|
769
769
|
if (!has('WMD_TAIL') && !BROWSER_TAIL[engineOf(nav)]) add.push('WMD_TAIL=0') // S7.2
|
|
770
770
|
if (!has('WMD_RESCUE_MS')) add.push(`WMD_RESCUE_MS=${BROWSER_RESCUE_MS}`)
|
|
771
771
|
if (!has('WMD_FMA_FUSED') && fused) add.push('WMD_FMA_FUSED=1') // D-539
|
|
772
|
-
if (engineOf(nav)
|
|
772
|
+
if (engineOf(nav) !== 'webkit' && !has('WMD_RGN_DUP')) add.push('WMD_RGN_DUP=1') // D-542 (Chromium), D-701 (Firefox: lua -7 to -9% in 2 of 3 pairs, nothing slower); WebKit did not move
|
|
773
|
+
if (engineOf(nav) === 'blink' && !has('WMD_I32ADDR')) add.push('WMD_I32ADDR=1') // D-697: faster in Chromium only
|
|
773
774
|
return add.length ? [...env, ...add] : env
|
|
774
775
|
}
|
|
775
776
|
|
package/src/edge/pins.gen.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// The files of node in the sandboxed frame: the path under a source (the option edge: { sources } of bootWmd), the role the frame gives the file, its
|
|
3
3
|
// sha256 and its size. The page accepts a file only when it has exactly this sha256 and size. The notice files travel with the rest.
|
|
4
4
|
// EDGE_PACKAGE is the package that holds these files, for the {name} {version} {file} of a registry source's url (null: none named).
|
|
5
|
-
export const EDGE_PACKAGE = { name: '@threadedstack/wmd-node', version: '0.1.
|
|
5
|
+
export const EDGE_PACKAGE = { name: '@threadedstack/wmd-node', version: '0.1.67' }
|
|
6
6
|
export const EDGE_PINS = [
|
|
7
7
|
{ path: 'wmd_browser_bg.wasm', role: 'wasm', sha256: '1e3db7f2c5f4be0ee44e5f2c0205cf8ca11f906d9addd5512915fad4821661c2', size: 6334959 },
|
|
8
8
|
{ path: 'wmd_browser.js', role: 'glue', sha256: 'b389b072096881ba39b22cd705d3a230af02acc5409c61fb4f997d1081c4df6f', size: 75647 },
|
package/wmdpack.wasm
CHANGED
|
Binary file
|