@volter/browser-substrate 0.1.126 → 0.1.128
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/catalog/demand-input.json +9 -9
- package/catalog/published/profile.json +2 -2
- package/catalog/published/v1/artifacts/sha256/{1b9cf40b5fef1c5374163ef2113b3fb88f2ad42f1752dfca781fae19ce544d69 → 32a8577df160e6794769c43d32445e853901d13d523855834805f1b6c4e5b053} +291 -53
- package/catalog/published/v1/artifacts/sha256/{68562d9fa805450067cea188524d9f77406e42ce68a7f0f8e4487e422396d589 → 93be686b8b14eed59209c90575a3b0655f3b17b5dfee29bd14b5882e062f2f10} +1 -1
- package/catalog/published/v1/artifacts/sha256/{89a8b4623bc8d6a2ecd821119319bf81698dcad2cfbfd887f6a74e0ea0430f7f → dc314a5ae4e558ffed2223c92f35c37723de8ddf6f4d3b2ef391ee9d8f58b549} +0 -0
- package/catalog/published/v1/catalog.json +1 -1
- package/catalog/published/v1/catalogs/sha256/{b1cc6336b2f1002389365f0968a6eda9e27a7a5e2be6104f2c1c89ed2f26deef.json → a7e4bdef4c3af03ea7ef7cca846dbaa7e02995c90dd1a24f5357669bccffeed4.json} +1 -1
- package/catalog/published/v1/locks/sha256/3af9719f621c03e2a83da6c80d536a57cd3c6d0f0086cb951e0724da5711a37f.json +1 -0
- package/catalog/published/v1/locks/sha256/46706b8187f0bc2e5a40055a3ba4ca0af53efaea0fb7e5f2a45aa0b3fb959faa.json +1 -0
- package/catalog/published/v1/locks/sha256/5ad4971c6f31ba268b128955c90e1d90e9a01e5a3b06b34bdc214b96c8e40ea5.json +1 -0
- package/catalog/published/v1/locks/sha256/6ac7186f41b59833aa65e351ecf9427560505d3ccef7e0b7ed5d6b250d390830.json +1 -0
- package/catalog/published/v1/locks/sha256/6b19bd70f36722fb59cca788571fc2f39bdfef8c66fcfb3e09812d0abb75ef06.json +1 -0
- package/catalog/published/v1/locks/sha256/9f73e95455430082578e89f268afc8a9a98da1944fd69f54eb34fba5e4fc5ec6.json +1 -0
- package/catalog/published/v1/locks/sha256/aec5bc93f553bda0a67a18ba4413f4888bf37c6d5537355183152bdc662e467f.json +1 -0
- package/catalog/published/v1/locks/sha256/d0e7453e575b97ef49eda7af47be404cffed6305c7af65f0455391678e273fa1.json +1 -0
- package/catalog/published/v1/manifests/sha256/{30a3824e931aa35be70ffa821016a0e56f908b45aece725c40eef246680bb740.json → 135f0815dd73f023f167b42f6d4f83942921f5aedc3afd93c42e0ce3e33a942e.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{11432ade27d2116b5c3026b6de4d6e8b10fd9655faf129425ad25e418cfcbe82.json → 1ec163cd43f374f601bd5c83a775779b96e59b696f2da5e83010f6c567493ab8.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{3645cb8a9e31c0a28c155c0253cd41facc25457c1be5b8a5e1770932f0277c16.json → 43669217dada42ee14ce61e846cac029faeb4644149494ff6c71f4cc71ddf8dc.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51.json → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{e86de6ca9b27bcdc9c07c93f9692fe28ba48d2f2c1c654b02ea0abc8d0bd4a38.json → 94c1b8dbe2955e9f18d8ee7d6c2e5e053ac73ccfb9aaa4d6ea6657c1ff7dcb59.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{1161ec6314238aa01c0d597718e18004a93203fd593835a3b48c086cf234ece7.json → 96c969923eb2e9dc2b9c78caac030cd76e94d1b514a4dcd4633899cebfa0d417.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{8b6b3b8879df28fc4be628f86828940b3d20fda9ea1d6b84539033ca70a45c22.json → d29e6bbb3868157482ba637ecf76ce325e555883c4a950f90f04a2d06cfb1c96.json} +1 -1
- package/catalog/published/v1/manifests/sha256/{79c94079acafe68ae500563ac51fb8f65a152b3f31f8daca0254d65309098e58.json → e0a8fbd45b37daeb9063f193c96fbb8a597d8b9d801a84ddd119b69de15dae28.json} +1 -1
- package/dist/shell/assets/{node-execution-worker-f05db0018a57c09f.js → node-execution-worker-5794fb3c5541adf1.js} +20 -20
- package/dist/shell/assets/{runtime-worker-Dq5ipPG1.js → runtime-worker-DbsIaU2Q.js} +284 -46
- package/dist/shell/bundler-worker.js +11 -11
- package/dist/shell/node-execution-worker.js +1 -1
- package/package.json +1 -1
- package/catalog/published/v1/locks/sha256/0b0b4f610d3f1629e827fc1d59ed1ebf6ecc4555a47110f187c345b571621c40.json +0 -1
- package/catalog/published/v1/locks/sha256/197dee49bc598a979621159787b42389b4bb8efcfd6a98ba9fcdd15a69298444.json +0 -1
- package/catalog/published/v1/locks/sha256/5387bfcf58728267c5dcf5a82f229c27ca1f224af0425a197527e87a7d182241.json +0 -1
- package/catalog/published/v1/locks/sha256/55091d280ae4afd09819ab1f5d93b84177d5944cf9d059762fb89c90dbc7de08.json +0 -1
- package/catalog/published/v1/locks/sha256/7b1feb239590f2d12fca03c73b8b6dee8d18c1444e56eb9ba76aa921e6f27cc2.json +0 -1
- package/catalog/published/v1/locks/sha256/94335db9d1593480fe13279472183eb7c56ba5b51b6b69d69eef9cb6fd2f9cea.json +0 -1
- package/catalog/published/v1/locks/sha256/d0868c7ebe77418437e41d8369925be3726528c57efa820ef5364964ec3212f5.json +0 -1
- package/catalog/published/v1/locks/sha256/fc9917d01ec1bb8806f5a82102f25f612013a14bfa60e404283edbf43308ef8a.json +0 -1
- /package/catalog/published/v1/artifacts/sha256/{1b9cf40b5fef1c5374163ef2113b3fb88f2ad42f1752dfca781fae19ce544d69.headers.json → 32a8577df160e6794769c43d32445e853901d13d523855834805f1b6c4e5b053.headers.json} +0 -0
- /package/catalog/published/v1/artifacts/sha256/{68562d9fa805450067cea188524d9f77406e42ce68a7f0f8e4487e422396d589.headers.json → 93be686b8b14eed59209c90575a3b0655f3b17b5dfee29bd14b5882e062f2f10.headers.json} +0 -0
- /package/catalog/published/v1/artifacts/sha256/{89a8b4623bc8d6a2ecd821119319bf81698dcad2cfbfd887f6a74e0ea0430f7f.headers.json → dc314a5ae4e558ffed2223c92f35c37723de8ddf6f4d3b2ef391ee9d8f58b549.headers.json} +0 -0
- /package/catalog/published/v1/catalogs/sha256/{b1cc6336b2f1002389365f0968a6eda9e27a7a5e2be6104f2c1c89ed2f26deef.json.headers.json → a7e4bdef4c3af03ea7ef7cca846dbaa7e02995c90dd1a24f5357669bccffeed4.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{0b0b4f610d3f1629e827fc1d59ed1ebf6ecc4555a47110f187c345b571621c40.json.headers.json → 3af9719f621c03e2a83da6c80d536a57cd3c6d0f0086cb951e0724da5711a37f.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{197dee49bc598a979621159787b42389b4bb8efcfd6a98ba9fcdd15a69298444.json.headers.json → 46706b8187f0bc2e5a40055a3ba4ca0af53efaea0fb7e5f2a45aa0b3fb959faa.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{5387bfcf58728267c5dcf5a82f229c27ca1f224af0425a197527e87a7d182241.json.headers.json → 5ad4971c6f31ba268b128955c90e1d90e9a01e5a3b06b34bdc214b96c8e40ea5.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{55091d280ae4afd09819ab1f5d93b84177d5944cf9d059762fb89c90dbc7de08.json.headers.json → 6ac7186f41b59833aa65e351ecf9427560505d3ccef7e0b7ed5d6b250d390830.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{7b1feb239590f2d12fca03c73b8b6dee8d18c1444e56eb9ba76aa921e6f27cc2.json.headers.json → 6b19bd70f36722fb59cca788571fc2f39bdfef8c66fcfb3e09812d0abb75ef06.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{94335db9d1593480fe13279472183eb7c56ba5b51b6b69d69eef9cb6fd2f9cea.json.headers.json → 9f73e95455430082578e89f268afc8a9a98da1944fd69f54eb34fba5e4fc5ec6.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{d0868c7ebe77418437e41d8369925be3726528c57efa820ef5364964ec3212f5.json.headers.json → aec5bc93f553bda0a67a18ba4413f4888bf37c6d5537355183152bdc662e467f.json.headers.json} +0 -0
- /package/catalog/published/v1/locks/sha256/{fc9917d01ec1bb8806f5a82102f25f612013a14bfa60e404283edbf43308ef8a.json.headers.json → d0e7453e575b97ef49eda7af47be404cffed6305c7af65f0455391678e273fa1.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{11432ade27d2116b5c3026b6de4d6e8b10fd9655faf129425ad25e418cfcbe82.json.headers.json → 135f0815dd73f023f167b42f6d4f83942921f5aedc3afd93c42e0ce3e33a942e.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{1161ec6314238aa01c0d597718e18004a93203fd593835a3b48c086cf234ece7.json.headers.json → 1ec163cd43f374f601bd5c83a775779b96e59b696f2da5e83010f6c567493ab8.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51.json.headers.json → 43669217dada42ee14ce61e846cac029faeb4644149494ff6c71f4cc71ddf8dc.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{30a3824e931aa35be70ffa821016a0e56f908b45aece725c40eef246680bb740.json.headers.json → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{3645cb8a9e31c0a28c155c0253cd41facc25457c1be5b8a5e1770932f0277c16.json.headers.json → 94c1b8dbe2955e9f18d8ee7d6c2e5e053ac73ccfb9aaa4d6ea6657c1ff7dcb59.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{79c94079acafe68ae500563ac51fb8f65a152b3f31f8daca0254d65309098e58.json.headers.json → 96c969923eb2e9dc2b9c78caac030cd76e94d1b514a4dcd4633899cebfa0d417.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{8b6b3b8879df28fc4be628f86828940b3d20fda9ea1d6b84539033ca70a45c22.json.headers.json → d29e6bbb3868157482ba637ecf76ce325e555883c4a950f90f04a2d06cfb1c96.json.headers.json} +0 -0
- /package/catalog/published/v1/manifests/sha256/{e86de6ca9b27bcdc9c07c93f9692fe28ba48d2f2c1c654b02ea0abc8d0bd4a38.json.headers.json → e0a8fbd45b37daeb9063f193c96fbb8a597d8b9d801a84ddd119b69de15dae28.json.headers.json} +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/LICENSE.md +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/README.md +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/bin/esbuild +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/esbuild.wasm +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/esm/browser.d.ts +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/esm/browser.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/esm/browser.min.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/lib/browser.d.ts +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/lib/browser.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/lib/browser.min.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/lib/main.d.ts +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/lib/main.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/package.json +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/wasm_exec.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{185af0dc999cdd5a65e3c807cecef50879dc1f52090f84200933bcc684977e51 → 7e51de08316b2f5e65975a118a3943eab41f82a095f171b0aeac7756b1aa0fdc}/wasm_exec_node.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{1161ec6314238aa01c0d597718e18004a93203fd593835a3b48c086cf234ece7 → 96c969923eb2e9dc2b9c78caac030cd76e94d1b514a4dcd4633899cebfa0d417}/amaro.js +0 -0
- /package/dist/shell/substrate/shell.compilers/{8b6b3b8879df28fc4be628f86828940b3d20fda9ea1d6b84539033ca70a45c22 → d29e6bbb3868157482ba637ecf76ce325e555883c4a950f90f04a2d06cfb1c96}/bindings_wasm_bg.wasm +0 -0
- /package/dist/shell/substrate/shell.compilers/{8b6b3b8879df28fc4be628f86828940b3d20fda9ea1d6b84539033ca70a45c22 → d29e6bbb3868157482ba637ecf76ce325e555883c4a950f90f04a2d06cfb1c96}/package.json +0 -0
- /package/dist/shell/substrate/shell.compilers/{8b6b3b8879df28fc4be628f86828940b3d20fda9ea1d6b84539033ca70a45c22 → d29e6bbb3868157482ba637ecf76ce325e555883c4a950f90f04a2d06cfb1c96}/rollup.browser.js +0 -0
|
@@ -1506,7 +1506,7 @@
|
|
|
1506
1506
|
"parent": "esbuild-wasm",
|
|
1507
1507
|
"provider": "esbuild-wasm",
|
|
1508
1508
|
"version": "0.28.2",
|
|
1509
|
-
"engineVersion": "0.5.
|
|
1509
|
+
"engineVersion": "0.5.66",
|
|
1510
1510
|
"adapter": "files",
|
|
1511
1511
|
"sourceRoot": ".",
|
|
1512
1512
|
"assets": {
|
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
"parent": "@rollup/browser",
|
|
1534
1534
|
"provider": "@rollup/browser",
|
|
1535
1535
|
"version": "4.63.1",
|
|
1536
|
-
"engineVersion": "0.5.
|
|
1536
|
+
"engineVersion": "0.5.66",
|
|
1537
1537
|
"adapter": "files",
|
|
1538
1538
|
"sourceRoot": "dist/es",
|
|
1539
1539
|
"assets": {
|
|
@@ -1557,7 +1557,7 @@
|
|
|
1557
1557
|
"parent": "amaro",
|
|
1558
1558
|
"provider": "amaro",
|
|
1559
1559
|
"version": "1.2.0",
|
|
1560
|
-
"engineVersion": "0.5.
|
|
1560
|
+
"engineVersion": "0.5.66",
|
|
1561
1561
|
"adapter": "amaro",
|
|
1562
1562
|
"sourceRoot": ".",
|
|
1563
1563
|
"assets": {
|
|
@@ -1580,7 +1580,7 @@
|
|
|
1580
1580
|
"scope": "instance",
|
|
1581
1581
|
"parent": "rolldown",
|
|
1582
1582
|
"provider": "@rolldown/browser",
|
|
1583
|
-
"engineVersion": "0.5.
|
|
1583
|
+
"engineVersion": "0.5.66",
|
|
1584
1584
|
"adapter": "rolldown",
|
|
1585
1585
|
"sourceRoot": ".",
|
|
1586
1586
|
"assets": {
|
|
@@ -1617,7 +1617,7 @@
|
|
|
1617
1617
|
"kind": "baseline",
|
|
1618
1618
|
"family": "runtime-baseline",
|
|
1619
1619
|
"provider": "node",
|
|
1620
|
-
"version": "0.5.
|
|
1620
|
+
"version": "0.5.66",
|
|
1621
1621
|
"recipeFiles": [
|
|
1622
1622
|
"packages/node/src/tabnode-toolchain.ts",
|
|
1623
1623
|
"packages/node/src/tabnode-runtime.ts",
|
|
@@ -1651,7 +1651,7 @@
|
|
|
1651
1651
|
"corepack"
|
|
1652
1652
|
],
|
|
1653
1653
|
"shellUtilities": [],
|
|
1654
|
-
"scope": "Tabnode0.5.
|
|
1654
|
+
"scope": "Tabnode0.5.66 provider bytes and Node command over its own guest filesystem/process realm. Vendored Node22.18.0 libraries; default reported Node22.12.0. A NODE_VERSION environment value changes reported identity only and does not qualify a Node24 API or Alpine image. Package-manager/compiler faces require their own qualified scope. Runtime-owned package script/installed-bin dispatch and package-manager translations are faces, not package-manager distributions; install and generation refuse at use.",
|
|
1655
1655
|
"refusals": [
|
|
1656
1656
|
"Node24 API/version equivalence",
|
|
1657
1657
|
"Linux or Alpine rootfs",
|
|
@@ -1670,7 +1670,7 @@
|
|
|
1670
1670
|
"kind": "baseline",
|
|
1671
1671
|
"family": "runtime-baseline",
|
|
1672
1672
|
"provider": "shell",
|
|
1673
|
-
"version": "0.1.
|
|
1673
|
+
"version": "0.1.126",
|
|
1674
1674
|
"recipeFiles": [
|
|
1675
1675
|
"packages/toolbelt/src/install.ts",
|
|
1676
1676
|
"packages/toolbelt/src/browser-shell.ts",
|
|
@@ -1822,7 +1822,7 @@
|
|
|
1822
1822
|
{
|
|
1823
1823
|
"kind": "baseline",
|
|
1824
1824
|
"family": "runtime-baseline",
|
|
1825
|
-
"version": "0.1.
|
|
1825
|
+
"version": "0.1.126",
|
|
1826
1826
|
"license": "MIT",
|
|
1827
1827
|
"redistribution": "cleared",
|
|
1828
1828
|
"provider": "chromium",
|
|
@@ -1867,7 +1867,7 @@
|
|
|
1867
1867
|
{
|
|
1868
1868
|
"kind": "baseline",
|
|
1869
1869
|
"family": "runtime-baseline",
|
|
1870
|
-
"version": "0.1.
|
|
1870
|
+
"version": "0.1.126",
|
|
1871
1871
|
"license": "MIT",
|
|
1872
1872
|
"redistribution": "unresolved",
|
|
1873
1873
|
"provider": "godot",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tabnode",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"abi": "tabnode-index-sha256:
|
|
3
|
+
"version": "0.5.66",
|
|
4
|
+
"abi": "tabnode-index-sha256:a367027059814595617f31869733399933ab968c1d2783e6d80aa7ca47ce70c5",
|
|
5
5
|
"capabilities": [
|
|
6
6
|
"filesystem.project",
|
|
7
7
|
"process.spawn",
|
|
@@ -49263,12 +49263,12 @@ function registerHandle(handle) {
|
|
|
49263
49263
|
heldBy.set(handle, currentOwner());
|
|
49264
49264
|
const token = heldBy.get(handle);
|
|
49265
49265
|
if (token != null) {
|
|
49266
|
-
let
|
|
49267
|
-
if (!
|
|
49268
|
-
|
|
49269
|
-
allOwned.set(token,
|
|
49266
|
+
let owned2 = allOwned.get(token);
|
|
49267
|
+
if (!owned2) {
|
|
49268
|
+
owned2 = /* @__PURE__ */ new Set();
|
|
49269
|
+
allOwned.set(token, owned2);
|
|
49270
49270
|
}
|
|
49271
|
-
|
|
49271
|
+
owned2.add(handle);
|
|
49272
49272
|
}
|
|
49273
49273
|
refHeld.add(handle);
|
|
49274
49274
|
activeHandles.add(handle);
|
|
@@ -49293,9 +49293,9 @@ function releaseHandle(handle) {
|
|
|
49293
49293
|
drop(handle);
|
|
49294
49294
|
const token = heldBy.get(handle);
|
|
49295
49295
|
if (token != null) {
|
|
49296
|
-
const
|
|
49297
|
-
|
|
49298
|
-
if ((
|
|
49296
|
+
const owned2 = allOwned.get(token);
|
|
49297
|
+
owned2 == null ? void 0 : owned2.delete(handle);
|
|
49298
|
+
if ((owned2 == null ? void 0 : owned2.size) === 0) allOwned.delete(token);
|
|
49299
49299
|
}
|
|
49300
49300
|
heldBy.delete(handle);
|
|
49301
49301
|
refHeld.delete(handle);
|
|
@@ -49346,18 +49346,18 @@ function __adoptHandle(handle, token) {
|
|
|
49346
49346
|
drop(handle);
|
|
49347
49347
|
const previous = heldBy.get(handle);
|
|
49348
49348
|
if (previous != null) {
|
|
49349
|
-
const
|
|
49350
|
-
|
|
49351
|
-
if ((
|
|
49349
|
+
const owned2 = allOwned.get(previous);
|
|
49350
|
+
owned2 == null ? void 0 : owned2.delete(handle);
|
|
49351
|
+
if ((owned2 == null ? void 0 : owned2.size) === 0) allOwned.delete(previous);
|
|
49352
49352
|
}
|
|
49353
49353
|
heldBy.set(handle, token);
|
|
49354
49354
|
if (token !== null) {
|
|
49355
|
-
let
|
|
49356
|
-
if (!
|
|
49357
|
-
|
|
49358
|
-
allOwned.set(token,
|
|
49355
|
+
let owned2 = allOwned.get(token);
|
|
49356
|
+
if (!owned2) {
|
|
49357
|
+
owned2 = /* @__PURE__ */ new Set();
|
|
49358
|
+
allOwned.set(token, owned2);
|
|
49359
49359
|
}
|
|
49360
|
-
|
|
49360
|
+
owned2.add(handle);
|
|
49361
49361
|
}
|
|
49362
49362
|
hold(handle);
|
|
49363
49363
|
}
|
|
@@ -51404,15 +51404,15 @@ function createFsBindings(Bytes = () => Buffer$9) {
|
|
|
51404
51404
|
},
|
|
51405
51405
|
/** Node's fast path for `readFile` with an encoding it can decode itself. */
|
|
51406
51406
|
readFileUtf8(path22, flags) {
|
|
51407
|
-
const
|
|
51408
|
-
const fd2 =
|
|
51407
|
+
const owned2 = typeof path22 !== "number";
|
|
51408
|
+
const fd2 = owned2 ? fsBinding2.open(path22, flags, 438) : path22;
|
|
51409
51409
|
try {
|
|
51410
51410
|
const file = fileFor(fd2);
|
|
51411
51411
|
const bytes2 = new Uint8Array(file.tree.statSync(file.path).size);
|
|
51412
51412
|
const length = fsBinding2.read(fd2, bytes2, 0, bytes2.length, -1);
|
|
51413
51413
|
return new TextDecoder().decode(bytes2.subarray(0, length));
|
|
51414
51414
|
} finally {
|
|
51415
|
-
if (
|
|
51415
|
+
if (owned2) fsBinding2.close(fd2);
|
|
51416
51416
|
}
|
|
51417
51417
|
},
|
|
51418
51418
|
// ---- writing ------------------------------------------------------------
|
|
@@ -51500,12 +51500,12 @@ function createFsBindings(Bytes = () => Buffer$9) {
|
|
|
51500
51500
|
return fsBinding2.writeBuffer(fd2, bytes2, 0, bytes2.length, position ?? null, req);
|
|
51501
51501
|
},
|
|
51502
51502
|
writeFileUtf8(path22, data2, flags, mode) {
|
|
51503
|
-
const
|
|
51504
|
-
const fd2 =
|
|
51503
|
+
const owned2 = typeof path22 !== "number";
|
|
51504
|
+
const fd2 = owned2 ? fsBinding2.open(path22, flags, mode) : path22;
|
|
51505
51505
|
try {
|
|
51506
51506
|
fsBinding2.writeString(fd2, data2, null, "utf8");
|
|
51507
51507
|
} finally {
|
|
51508
|
-
if (
|
|
51508
|
+
if (owned2) fsBinding2.close(fd2);
|
|
51509
51509
|
}
|
|
51510
51510
|
return void 0;
|
|
51511
51511
|
},
|
|
@@ -52404,7 +52404,7 @@ function syncChildRefusal() {
|
|
|
52404
52404
|
if (engineModuleURL() === null) return "the engine cannot name its own module, so a thread cannot load one";
|
|
52405
52405
|
return null;
|
|
52406
52406
|
}
|
|
52407
|
-
function warmSyncChild() {
|
|
52407
|
+
function warmSyncChild(required = false) {
|
|
52408
52408
|
if (globalThis.__substrateSyncChildThread === true) return;
|
|
52409
52409
|
if (service || syncChildRefusal() !== null) return;
|
|
52410
52410
|
const WorkerClass = workerClass();
|
|
@@ -52414,7 +52414,14 @@ function warmSyncChild() {
|
|
|
52414
52414
|
const source = workerSource();
|
|
52415
52415
|
const inBrowser = typeof globalThis.WorkerGlobalScope !== "undefined" || typeof globalThis.document !== "undefined";
|
|
52416
52416
|
const url2 = inBrowser && typeof Blob === "function" && typeof URL.createObjectURL === "function" ? URL.createObjectURL(new Blob([source], { type: "text/javascript" })) : new URL(`data:text/javascript,${encodeURIComponent(source)}`);
|
|
52417
|
-
|
|
52417
|
+
let worker2;
|
|
52418
|
+
try {
|
|
52419
|
+
worker2 = new WorkerClass(url2, { type: "module" });
|
|
52420
|
+
} catch (cause) {
|
|
52421
|
+
if (typeof url2 === "string" && url2.startsWith("blob:")) URL.revokeObjectURL(url2);
|
|
52422
|
+
if (required) throw cause;
|
|
52423
|
+
return;
|
|
52424
|
+
}
|
|
52418
52425
|
const started2 = { control, toParent, toWorker, worker: worker2 };
|
|
52419
52426
|
const failed = (event) => {
|
|
52420
52427
|
started2.failure = String((event == null ? void 0 : event.message) ?? event);
|
|
@@ -52531,7 +52538,7 @@ function runSyncChild(request) {
|
|
|
52531
52538
|
const refusal = syncChildRefusal();
|
|
52532
52539
|
if (refusal !== null) throw new Error(refusal);
|
|
52533
52540
|
if (hostVfs === null) throw new Error("the engine has no filesystem for a child to run on");
|
|
52534
|
-
if (!service) warmSyncChild();
|
|
52541
|
+
if (!service) warmSyncChild(true);
|
|
52535
52542
|
const active2 = service;
|
|
52536
52543
|
if (Atomics.load(active2.control, STARTED) !== 1) {
|
|
52537
52544
|
Atomics.wait(active2.control, STARTED, 0, START_WAIT_MS);
|
|
@@ -73966,9 +73973,9 @@ function nodeTimeout(id2) {
|
|
|
73966
73973
|
function timerHandleOf(id2) {
|
|
73967
73974
|
return id2 && typeof id2 === "object" && "_id" in id2 ? id2._id : id2;
|
|
73968
73975
|
}
|
|
73969
|
-
function createTimersModule(
|
|
73970
|
-
const schedule = (
|
|
73971
|
-
const cancel = (
|
|
73976
|
+
function createTimersModule(owned2) {
|
|
73977
|
+
const schedule = (owned2 == null ? void 0 : owned2.setTimeout) ?? globalThis.setTimeout.bind(globalThis);
|
|
73978
|
+
const cancel = (owned2 == null ? void 0 : owned2.clearTimeout) ?? ((id2) => globalThis.clearTimeout(timerHandleOf(id2)));
|
|
73972
73979
|
const unenroll = (item) => {
|
|
73973
73980
|
if (item._idleTimeoutId) cancel(item._idleTimeoutId);
|
|
73974
73981
|
item._idleTimeoutId = null;
|
|
@@ -74047,10 +74054,10 @@ function createTimersModule(owned) {
|
|
|
74047
74054
|
const handle = timerHandleOf(id2);
|
|
74048
74055
|
return realm.clearImmediate ? realm.clearImmediate(handle) : globalThis.clearTimeout(handle);
|
|
74049
74056
|
},
|
|
74050
|
-
...
|
|
74051
|
-
...
|
|
74052
|
-
setImmediate: (fn2, ...args) =>
|
|
74053
|
-
clearImmediate:
|
|
74057
|
+
...owned2 ? {
|
|
74058
|
+
...owned2,
|
|
74059
|
+
setImmediate: (fn2, ...args) => owned2.setTimeout(fn2, 0, ...args),
|
|
74060
|
+
clearImmediate: owned2.clearTimeout
|
|
74054
74061
|
} : {},
|
|
74055
74062
|
active: active2,
|
|
74056
74063
|
enroll,
|
|
@@ -74584,12 +74591,225 @@ function createProcess(options) {
|
|
|
74584
74591
|
};
|
|
74585
74592
|
return proc;
|
|
74586
74593
|
}
|
|
74594
|
+
var owned = /* @__PURE__ */ new WeakMap();
|
|
74595
|
+
var tracked = /* @__PURE__ */ new WeakMap();
|
|
74596
|
+
var globals = /* @__PURE__ */ new WeakMap();
|
|
74597
|
+
var modules = /* @__PURE__ */ new WeakMap();
|
|
74598
|
+
function pendingGuestPorts(process22) {
|
|
74599
|
+
let count = 0;
|
|
74600
|
+
for (const state of owned.get(process22) ?? []) if (state.referenced && !state.closed) count++;
|
|
74601
|
+
return count;
|
|
74602
|
+
}
|
|
74603
|
+
function stopGuestPorts(process22) {
|
|
74604
|
+
for (const state of [...owned.get(process22) ?? []]) state.close();
|
|
74605
|
+
}
|
|
74606
|
+
function track(process22, port) {
|
|
74607
|
+
var _a22, _b22;
|
|
74608
|
+
if (!port || typeof port !== "object" || typeof port.postMessage !== "function" || typeof port.close !== "function" || typeof port.start !== "function") throw new TypeError("MessagePort method called with an invalid receiver");
|
|
74609
|
+
if (tracked.has(port)) return port;
|
|
74610
|
+
let entries = owned.get(process22);
|
|
74611
|
+
if (!entries) {
|
|
74612
|
+
entries = /* @__PURE__ */ new Set();
|
|
74613
|
+
owned.set(process22, entries);
|
|
74614
|
+
}
|
|
74615
|
+
const collection = entries;
|
|
74616
|
+
const original = {};
|
|
74617
|
+
for (const key of ["ref", "unref", "start", "close", "on", "addListener", "once", "prependListener", "prependOnceListener", "removeListener", "off", "removeAllListeners", "addEventListener", "removeEventListener", "postMessage"]) {
|
|
74618
|
+
if (typeof port[key] === "function") original[key] = port[key].bind(port);
|
|
74619
|
+
}
|
|
74620
|
+
const state = { port, referenced: false, closed: false, close: () => port.close() };
|
|
74621
|
+
tracked.set(port, state);
|
|
74622
|
+
collection.add(state);
|
|
74623
|
+
const release2 = () => {
|
|
74624
|
+
state.closed = true;
|
|
74625
|
+
state.referenced = false;
|
|
74626
|
+
collection.delete(state);
|
|
74627
|
+
};
|
|
74628
|
+
const define2 = (key, value) => Object.defineProperty(port, key, { value, writable: true, configurable: true });
|
|
74629
|
+
define2("ref", () => {
|
|
74630
|
+
var _a32;
|
|
74631
|
+
if (!state.closed) {
|
|
74632
|
+
state.referenced = true;
|
|
74633
|
+
return (_a32 = original.ref) == null ? void 0 : _a32.call(original);
|
|
74634
|
+
}
|
|
74635
|
+
});
|
|
74636
|
+
define2("unref", () => {
|
|
74637
|
+
var _a32;
|
|
74638
|
+
state.referenced = false;
|
|
74639
|
+
return (_a32 = original.unref) == null ? void 0 : _a32.call(original);
|
|
74640
|
+
});
|
|
74641
|
+
define2("hasRef", () => state.closed ? void 0 : state.referenced);
|
|
74642
|
+
define2("close", (callback) => {
|
|
74643
|
+
if (typeof callback === "function") port.once("close", callback);
|
|
74644
|
+
if (state.closed) return;
|
|
74645
|
+
release2();
|
|
74646
|
+
original.close();
|
|
74647
|
+
});
|
|
74648
|
+
if (original.on) original.on("close", release2);
|
|
74649
|
+
else (_a22 = original.addEventListener) == null ? void 0 : _a22.call(original, "close", release2, { once: true });
|
|
74650
|
+
(_b22 = original.unref) == null ? void 0 : _b22.call(original);
|
|
74651
|
+
state.close = () => {
|
|
74652
|
+
if (state.closed) return;
|
|
74653
|
+
release2();
|
|
74654
|
+
original.close();
|
|
74655
|
+
};
|
|
74656
|
+
const activate = (previous, current3) => {
|
|
74657
|
+
var _a32;
|
|
74658
|
+
if (state.closed) return;
|
|
74659
|
+
if (previous === 0 && current3 > 0) {
|
|
74660
|
+
port.ref();
|
|
74661
|
+
(_a32 = original.start) == null ? void 0 : _a32.call(original);
|
|
74662
|
+
} else if (previous > 0 && current3 === 0) port.unref();
|
|
74663
|
+
};
|
|
74664
|
+
if (original.on && typeof port.listenerCount === "function") {
|
|
74665
|
+
for (const name of ["on", "addListener", "once", "prependListener", "prependOnceListener", "removeListener", "off", "removeAllListeners"]) if (original[name]) {
|
|
74666
|
+
define2(name, (...args) => {
|
|
74667
|
+
const previous = port.listenerCount("message");
|
|
74668
|
+
const result = original[name](...args);
|
|
74669
|
+
activate(previous, port.listenerCount("message"));
|
|
74670
|
+
return result;
|
|
74671
|
+
});
|
|
74672
|
+
}
|
|
74673
|
+
return port;
|
|
74674
|
+
}
|
|
74675
|
+
const listeners = /* @__PURE__ */ new Map();
|
|
74676
|
+
const count = () => {
|
|
74677
|
+
var _a32;
|
|
74678
|
+
return [...((_a32 = listeners.get("message")) == null ? void 0 : _a32.values()) ?? []].reduce((n8, values) => n8 + values.length, 0);
|
|
74679
|
+
};
|
|
74680
|
+
const remove2 = (type2, listener, options) => {
|
|
74681
|
+
var _a32;
|
|
74682
|
+
const capture = typeof options === "boolean" ? options : !!(options == null ? void 0 : options.capture);
|
|
74683
|
+
const records = (_a32 = listeners.get(type2)) == null ? void 0 : _a32.get(listener);
|
|
74684
|
+
const record = records == null ? void 0 : records.find((value) => value.capture === capture);
|
|
74685
|
+
if (!record) return;
|
|
74686
|
+
const previous = count();
|
|
74687
|
+
records.splice(records.indexOf(record), 1);
|
|
74688
|
+
if (!records.length) listeners.get(type2).delete(listener);
|
|
74689
|
+
original.removeEventListener(type2, record.invoke, capture);
|
|
74690
|
+
activate(previous, count());
|
|
74691
|
+
};
|
|
74692
|
+
const add = (type2, listener, options, data2 = false) => {
|
|
74693
|
+
var _a32, _b3;
|
|
74694
|
+
if (listener == null || ((_a32 = options == null ? void 0 : options.signal) == null ? void 0 : _a32.aborted)) return;
|
|
74695
|
+
const capture = typeof options === "boolean" ? options : !!(options == null ? void 0 : options.capture);
|
|
74696
|
+
let byListener = listeners.get(type2);
|
|
74697
|
+
if (!byListener) {
|
|
74698
|
+
byListener = /* @__PURE__ */ new Map();
|
|
74699
|
+
listeners.set(type2, byListener);
|
|
74700
|
+
}
|
|
74701
|
+
let records = byListener.get(listener);
|
|
74702
|
+
if (!records) {
|
|
74703
|
+
records = [];
|
|
74704
|
+
byListener.set(listener, records);
|
|
74705
|
+
}
|
|
74706
|
+
if (records.some((record) => record.capture === capture)) return;
|
|
74707
|
+
const previous = count();
|
|
74708
|
+
const invoke = (event) => {
|
|
74709
|
+
var _a4;
|
|
74710
|
+
if (options == null ? void 0 : options.once) remove2(type2, listener, capture);
|
|
74711
|
+
if (state.closed && type2 !== "close") return;
|
|
74712
|
+
try {
|
|
74713
|
+
if (typeof listener === "function") listener.call(port, data2 ? event.data : event);
|
|
74714
|
+
else (_a4 = listener.handleEvent) == null ? void 0 : _a4.call(listener, event);
|
|
74715
|
+
} catch (error) {
|
|
74716
|
+
if (!__reportUncaughtException(process22, error)) throw error;
|
|
74717
|
+
}
|
|
74718
|
+
};
|
|
74719
|
+
records.push({ capture, invoke });
|
|
74720
|
+
original.addEventListener(type2, invoke, options);
|
|
74721
|
+
(_b3 = options == null ? void 0 : options.signal) == null ? void 0 : _b3.addEventListener("abort", () => remove2(type2, listener, capture), { once: true });
|
|
74722
|
+
activate(previous, count());
|
|
74723
|
+
};
|
|
74724
|
+
define2("addEventListener", add);
|
|
74725
|
+
define2("removeEventListener", remove2);
|
|
74726
|
+
define2("on", (type2, listener) => {
|
|
74727
|
+
add(type2, listener, void 0, true);
|
|
74728
|
+
return port;
|
|
74729
|
+
});
|
|
74730
|
+
define2("addListener", port.on);
|
|
74731
|
+
define2("once", (type2, listener) => {
|
|
74732
|
+
add(type2, listener, { once: true }, true);
|
|
74733
|
+
return port;
|
|
74734
|
+
});
|
|
74735
|
+
define2("off", (type2, listener) => {
|
|
74736
|
+
remove2(type2, listener);
|
|
74737
|
+
return port;
|
|
74738
|
+
});
|
|
74739
|
+
define2("removeListener", port.off);
|
|
74740
|
+
define2("removeAllListeners", (type2) => {
|
|
74741
|
+
var _a32;
|
|
74742
|
+
for (const name of type2 === void 0 ? [...listeners.keys()] : [type2]) {
|
|
74743
|
+
for (const [listener, records] of [...((_a32 = listeners.get(name)) == null ? void 0 : _a32.entries()) ?? []]) for (const record of [...records]) remove2(name, listener, record.capture);
|
|
74744
|
+
}
|
|
74745
|
+
return port;
|
|
74746
|
+
});
|
|
74747
|
+
define2("listenerCount", (type2) => {
|
|
74748
|
+
var _a32;
|
|
74749
|
+
return [...((_a32 = listeners.get(type2)) == null ? void 0 : _a32.values()) ?? []].reduce((n8, values) => n8 + values.length, 0);
|
|
74750
|
+
});
|
|
74751
|
+
for (const type2 of ["message", "messageerror"]) {
|
|
74752
|
+
let handler = null;
|
|
74753
|
+
Object.defineProperty(port, "on" + type2, { configurable: true, get: () => handler, set(value) {
|
|
74754
|
+
if (handler) remove2(type2, handler);
|
|
74755
|
+
handler = typeof value === "function" ? value : null;
|
|
74756
|
+
if (handler) add(type2, handler);
|
|
74757
|
+
} });
|
|
74758
|
+
}
|
|
74759
|
+
return port;
|
|
74760
|
+
}
|
|
74761
|
+
function classes(process22, Channel, PortConstructor) {
|
|
74762
|
+
const MessageChannel22 = function() {
|
|
74763
|
+
if (!new.target) throw new TypeError("MessageChannel must be constructed with new");
|
|
74764
|
+
const channel = Reflect.construct(Channel, []);
|
|
74765
|
+
track(process22, channel.port1);
|
|
74766
|
+
track(process22, channel.port2);
|
|
74767
|
+
return channel;
|
|
74768
|
+
};
|
|
74769
|
+
const MessagePort22 = function(...args) {
|
|
74770
|
+
if (!new.target) throw new TypeError("MessagePort must be constructed with new");
|
|
74771
|
+
return track(process22, Reflect.construct(PortConstructor, args));
|
|
74772
|
+
};
|
|
74773
|
+
MessagePort22.prototype = Object.create(PortConstructor.prototype);
|
|
74774
|
+
for (const name of ["ref", "unref", "hasRef", "close", "on", "once", "addListener", "off", "removeListener", "removeAllListeners", "addEventListener", "removeEventListener"]) {
|
|
74775
|
+
Object.defineProperty(MessagePort22.prototype, name, { configurable: true, writable: true, value: function(...args) {
|
|
74776
|
+
return track(process22, this)[name](...args);
|
|
74777
|
+
} });
|
|
74778
|
+
}
|
|
74779
|
+
MessageChannel22.prototype = Channel.prototype;
|
|
74780
|
+
Object.defineProperty(MessagePort22, Symbol.hasInstance, { value: (value) => value instanceof PortConstructor });
|
|
74781
|
+
Object.defineProperty(MessageChannel22, Symbol.hasInstance, { value: (value) => value instanceof Channel });
|
|
74782
|
+
return { MessageChannel: MessageChannel22, MessagePort: MessagePort22 };
|
|
74783
|
+
}
|
|
74784
|
+
function guestMessageGlobals(process22) {
|
|
74785
|
+
let result = globals.get(process22);
|
|
74786
|
+
if (!result) {
|
|
74787
|
+
result = classes(process22, globalThis.MessageChannel, globalThis.MessagePort);
|
|
74788
|
+
globals.set(process22, result);
|
|
74789
|
+
}
|
|
74790
|
+
return result;
|
|
74791
|
+
}
|
|
74792
|
+
function guestMessageModule(process22, original, hostTransport = false) {
|
|
74793
|
+
let cache2 = modules.get(process22);
|
|
74794
|
+
if (!cache2) {
|
|
74795
|
+
cache2 = /* @__PURE__ */ new WeakMap();
|
|
74796
|
+
modules.set(process22, cache2);
|
|
74797
|
+
}
|
|
74798
|
+
let result = cache2.get(original);
|
|
74799
|
+
if (!result) {
|
|
74800
|
+
result = { ...original, ...hostTransport ? guestMessageGlobals(process22) : classes(process22, original.MessageChannel, original.MessagePort) };
|
|
74801
|
+
result.default = result;
|
|
74802
|
+
cache2.set(original, result);
|
|
74803
|
+
}
|
|
74804
|
+
return result;
|
|
74805
|
+
}
|
|
74587
74806
|
var __substratePendingTimers = /* @__PURE__ */ new WeakMap();
|
|
74588
74807
|
function pendingGuestTimers(process22) {
|
|
74589
74808
|
var _a22;
|
|
74590
|
-
return ((_a22 = __substratePendingTimers.get(process22)) == null ? void 0 : _a22.size) ?? 0;
|
|
74809
|
+
return (((_a22 = __substratePendingTimers.get(process22)) == null ? void 0 : _a22.size) ?? 0) + pendingGuestPorts(process22);
|
|
74591
74810
|
}
|
|
74592
74811
|
function stopGuestTimers(process22) {
|
|
74812
|
+
stopGuestPorts(process22);
|
|
74593
74813
|
const held = __substratePendingTimers.get(process22);
|
|
74594
74814
|
if (!held) return;
|
|
74595
74815
|
const host2 = globalThis;
|
|
@@ -74626,7 +74846,7 @@ function guestTimerFunctions(process22, host2) {
|
|
|
74626
74846
|
if (!__reportUncaughtException(process22, error)) throw error;
|
|
74627
74847
|
}
|
|
74628
74848
|
};
|
|
74629
|
-
const
|
|
74849
|
+
const track2 = (id2) => {
|
|
74630
74850
|
held.add(id2);
|
|
74631
74851
|
if (id2 && typeof id2 === "object" && typeof id2.unref === "function") {
|
|
74632
74852
|
const handle = id2;
|
|
@@ -74651,10 +74871,10 @@ function guestTimerFunctions(process22, host2) {
|
|
|
74651
74871
|
held.delete(id2);
|
|
74652
74872
|
call(...args);
|
|
74653
74873
|
}, ms2, ...rest));
|
|
74654
|
-
return
|
|
74874
|
+
return track2(id2);
|
|
74655
74875
|
},
|
|
74656
74876
|
setInterval(fn2, ms2, ...rest) {
|
|
74657
|
-
return
|
|
74877
|
+
return track2(nodeTimeout(hostSetInterval.call(host2, inProcess(fn2), ms2, ...rest)));
|
|
74658
74878
|
},
|
|
74659
74879
|
clearTimeout(id2) {
|
|
74660
74880
|
held.delete(id2);
|
|
@@ -77742,8 +77962,8 @@ function treeForRun() {
|
|
|
77742
77962
|
}
|
|
77743
77963
|
function shellOf(tree2) {
|
|
77744
77964
|
if (tree2) {
|
|
77745
|
-
const
|
|
77746
|
-
if (
|
|
77965
|
+
const owned2 = shells.get(tree2);
|
|
77966
|
+
if (owned2) return owned2;
|
|
77747
77967
|
}
|
|
77748
77968
|
return bashInstance && vfsAdapter ? { bash: bashInstance, adapter: vfsAdapter } : null;
|
|
77749
77969
|
}
|
|
@@ -82180,7 +82400,14 @@ function __substrateGuestGlobal(process22) {
|
|
|
82180
82400
|
Worker: { value: void 0, writable: true, configurable: true, enumerable: true },
|
|
82181
82401
|
self: { value: void 0, writable: true, configurable: true, enumerable: true }
|
|
82182
82402
|
});
|
|
82183
|
-
const
|
|
82403
|
+
const browserTransportGlobals = ["postMessage", "onmessage", "onmessageerror", "close", "addEventListener", "removeEventListener", "dispatchEvent"];
|
|
82404
|
+
for (const key of browserTransportGlobals) Object.defineProperty(localGlobals, key, {
|
|
82405
|
+
value: void 0,
|
|
82406
|
+
writable: true,
|
|
82407
|
+
configurable: true,
|
|
82408
|
+
enumerable: true
|
|
82409
|
+
});
|
|
82410
|
+
const isLocalGlobal = (key) => ["Promise", "navigator", "Navigator", "Worker", "self", ...browserTransportGlobals].includes(key);
|
|
82184
82411
|
guest = new Proxy(localGlobals, {
|
|
82185
82412
|
get(target, key) {
|
|
82186
82413
|
var _a22, _b22, _c22;
|
|
@@ -82191,6 +82418,7 @@ function __substrateGuestGlobal(process22) {
|
|
|
82191
82418
|
if (isLocalGlobal(key)) return Reflect.get(target, key, guest);
|
|
82192
82419
|
if (key === "globalThis" || key === "global") return guest;
|
|
82193
82420
|
if (shadowed(target, key)) return Reflect.get(target, key, guest);
|
|
82421
|
+
if (key === "MessageChannel" || key === "MessagePort") return guestMessageGlobals(process22)[key];
|
|
82194
82422
|
const value = Reflect.get(host2, key, host2);
|
|
82195
82423
|
if (["setTimeout", "clearTimeout", "setInterval", "clearInterval"].includes(key) && typeof value === "function") {
|
|
82196
82424
|
if (((_a22 = boundGlobals.get(key)) == null ? void 0 : _a22.original) !== value) {
|
|
@@ -83571,7 +83799,7 @@ function createRequire(vfs2, fsShim, process22, currentDir, moduleCache, options
|
|
|
83571
83799
|
const importMetaUrl = resolvedPath.startsWith("data:") ? resolvedPath : "file://" + resolvedPath;
|
|
83572
83800
|
const strictBody = code22.startsWith(__substrateModuleMarker);
|
|
83573
83801
|
if (!scoped) code22 = __substrateScopeGlobalCalls(code22);
|
|
83574
|
-
const wrappedCode = `(function($exports, $require, $module, $filename, $dirname, $process, $console, $importMeta, $dynamicImport, __substrateGuestGlobal, __substrateGuestConstructor) { var exports = $exports; var require = $require; var module = $module; var __filename = $filename; var __dirname = $dirname; var process = $process; var console = $console; var import_meta = $importMeta; var __dynamicImport = $dynamicImport; var document = void 0, window = void 0, location = void 0; var globalThis = __substrateGuestGlobal($process); var global = globalThis; var Buffer = globalThis.Buffer; var queueMicrotask = globalThis.queueMicrotask, atob = globalThis.atob, btoa = globalThis.btoa, structuredClone = globalThis.structuredClone, setTimeout = globalThis.setTimeout, clearTimeout = globalThis.clearTimeout, setInterval = globalThis.setInterval, clearInterval = globalThis.clearInterval; globalThis.process = $process; global.process = $process; with ({ __proto__: null, get Worker() { return globalThis.Worker; }, set Worker(value) { globalThis.Worker = value; }, get self() { return globalThis.self; }, set self(value) { globalThis.self = value; }, get navigator() { return globalThis.navigator; }, set navigator(value) { globalThis.navigator = value; }, get Navigator() { return globalThis.Navigator; }, set Navigator(value) { globalThis.Navigator = value; }, get Promise() { return globalThis.Promise; }, set Promise(value) { globalThis.Promise = value; }, get fetch() { return globalThis.fetch; }, set fetch(value) { globalThis.fetch = value; } }) { return (function() {${code22}
|
|
83802
|
+
const wrappedCode = `(function($exports, $require, $module, $filename, $dirname, $process, $console, $importMeta, $dynamicImport, __substrateGuestGlobal, __substrateGuestConstructor) { var exports = $exports; var require = $require; var module = $module; var __filename = $filename; var __dirname = $dirname; var process = $process; var console = $console; var import_meta = $importMeta; var __dynamicImport = $dynamicImport; var document = void 0, window = void 0, location = void 0; var globalThis = __substrateGuestGlobal($process); var global = globalThis; var Buffer = globalThis.Buffer; var queueMicrotask = globalThis.queueMicrotask, atob = globalThis.atob, btoa = globalThis.btoa, structuredClone = globalThis.structuredClone, setTimeout = globalThis.setTimeout, clearTimeout = globalThis.clearTimeout, setInterval = globalThis.setInterval, clearInterval = globalThis.clearInterval; globalThis.process = $process; global.process = $process; with ({ __proto__: null, get MessageChannel() { return globalThis.MessageChannel; }, set MessageChannel(value) { globalThis.MessageChannel = value; }, get MessagePort() { return globalThis.MessagePort; }, set MessagePort(value) { globalThis.MessagePort = value; }, get Worker() { return globalThis.Worker; }, set Worker(value) { globalThis.Worker = value; }, get self() { return globalThis.self; }, set self(value) { globalThis.self = value; }, get postMessage() { return globalThis.postMessage; }, set postMessage(value) { globalThis.postMessage = value; }, get onmessage() { return globalThis.onmessage; }, set onmessage(value) { globalThis.onmessage = value; }, get onmessageerror() { return globalThis.onmessageerror; }, set onmessageerror(value) { globalThis.onmessageerror = value; }, get close() { return globalThis.close; }, set close(value) { globalThis.close = value; }, get addEventListener() { return globalThis.addEventListener; }, set addEventListener(value) { globalThis.addEventListener = value; }, get removeEventListener() { return globalThis.removeEventListener; }, set removeEventListener(value) { globalThis.removeEventListener = value; }, get dispatchEvent() { return globalThis.dispatchEvent; }, set dispatchEvent(value) { globalThis.dispatchEvent = value; }, get navigator() { return globalThis.navigator; }, set navigator(value) { globalThis.navigator = value; }, get Navigator() { return globalThis.Navigator; }, set Navigator(value) { globalThis.Navigator = value; }, get Promise() { return globalThis.Promise; }, set Promise(value) { globalThis.Promise = value; }, get fetch() { return globalThis.fetch; }, set fetch(value) { globalThis.fetch = value; } }) { return (function() {${code22}
|
|
83575
83803
|
}).call(${strictBody ? "void 0" : "$module.exports"}); }
|
|
83576
83804
|
})${__substrateSourceURL(resolvedPath)}`;
|
|
83577
83805
|
let bodyKind = code22.includes(__substrateTopLevelAwaitMarker) ? "async" : code22.includes(__substrateAwaitMarker) ? "generator" : "sync";
|
|
@@ -83695,7 +83923,7 @@ function createRequire(vfs2, fsShim, process22, currentDir, moduleCache, options
|
|
|
83695
83923
|
if (id2 === "worker_threads") {
|
|
83696
83924
|
const bridge = globalThis[/* @__PURE__ */ Symbol.for("@volter/browser-node/threads")];
|
|
83697
83925
|
const module = bridge && typeof bridge.module === "function" ? bridge.module(vfs2, process22, builtinModules.worker_threads) : void 0;
|
|
83698
|
-
|
|
83926
|
+
return guestMessageModule(process22, module ?? workerThreadsShim, !module);
|
|
83699
83927
|
}
|
|
83700
83928
|
if (id2 === "module") {
|
|
83701
83929
|
return __substrateModule();
|
|
@@ -83941,7 +84169,7 @@ var Runtime = class {
|
|
|
83941
84169
|
const importMetaUrl = "file://" + filename;
|
|
83942
84170
|
const strictBody = code22.startsWith(__substrateModuleMarker);
|
|
83943
84171
|
code22 = __substrateScopeGlobalCalls(code22);
|
|
83944
|
-
const wrappedCode = `(function($exports, $require, $module, $filename, $dirname, $process, $console, $importMeta, $dynamicImport, __substrateGuestGlobal, __substrateGuestConstructor) { var exports = $exports; var require = $require; var module = $module; var __filename = $filename; var __dirname = $dirname; var process = $process; var console = $console; var import_meta = $importMeta; var __dynamicImport = $dynamicImport; var document = void 0, window = void 0, location = void 0; var globalThis = __substrateGuestGlobal($process); var global = globalThis; var Buffer = globalThis.Buffer; var queueMicrotask = globalThis.queueMicrotask, atob = globalThis.atob, btoa = globalThis.btoa, structuredClone = globalThis.structuredClone, setTimeout = globalThis.setTimeout, clearTimeout = globalThis.clearTimeout, setInterval = globalThis.setInterval, clearInterval = globalThis.clearInterval; globalThis.process = $process; global.process = $process; with ({ __proto__: null, get Worker() { return globalThis.Worker; }, set Worker(value) { globalThis.Worker = value; }, get self() { return globalThis.self; }, set self(value) { globalThis.self = value; }, get navigator() { return globalThis.navigator; }, set navigator(value) { globalThis.navigator = value; }, get Navigator() { return globalThis.Navigator; }, set Navigator(value) { globalThis.Navigator = value; }, get Promise() { return globalThis.Promise; }, set Promise(value) { globalThis.Promise = value; }, get fetch() { return globalThis.fetch; }, set fetch(value) { globalThis.fetch = value; } }) { return (function() {${code22}
|
|
84172
|
+
const wrappedCode = `(function($exports, $require, $module, $filename, $dirname, $process, $console, $importMeta, $dynamicImport, __substrateGuestGlobal, __substrateGuestConstructor) { var exports = $exports; var require = $require; var module = $module; var __filename = $filename; var __dirname = $dirname; var process = $process; var console = $console; var import_meta = $importMeta; var __dynamicImport = $dynamicImport; var document = void 0, window = void 0, location = void 0; var globalThis = __substrateGuestGlobal($process); var global = globalThis; var Buffer = globalThis.Buffer; var queueMicrotask = globalThis.queueMicrotask, atob = globalThis.atob, btoa = globalThis.btoa, structuredClone = globalThis.structuredClone, setTimeout = globalThis.setTimeout, clearTimeout = globalThis.clearTimeout, setInterval = globalThis.setInterval, clearInterval = globalThis.clearInterval; globalThis.process = $process; global.process = $process; with ({ __proto__: null, get MessageChannel() { return globalThis.MessageChannel; }, set MessageChannel(value) { globalThis.MessageChannel = value; }, get MessagePort() { return globalThis.MessagePort; }, set MessagePort(value) { globalThis.MessagePort = value; }, get Worker() { return globalThis.Worker; }, set Worker(value) { globalThis.Worker = value; }, get self() { return globalThis.self; }, set self(value) { globalThis.self = value; }, get postMessage() { return globalThis.postMessage; }, set postMessage(value) { globalThis.postMessage = value; }, get onmessage() { return globalThis.onmessage; }, set onmessage(value) { globalThis.onmessage = value; }, get onmessageerror() { return globalThis.onmessageerror; }, set onmessageerror(value) { globalThis.onmessageerror = value; }, get close() { return globalThis.close; }, set close(value) { globalThis.close = value; }, get addEventListener() { return globalThis.addEventListener; }, set addEventListener(value) { globalThis.addEventListener = value; }, get removeEventListener() { return globalThis.removeEventListener; }, set removeEventListener(value) { globalThis.removeEventListener = value; }, get dispatchEvent() { return globalThis.dispatchEvent; }, set dispatchEvent(value) { globalThis.dispatchEvent = value; }, get navigator() { return globalThis.navigator; }, set navigator(value) { globalThis.navigator = value; }, get Navigator() { return globalThis.Navigator; }, set Navigator(value) { globalThis.Navigator = value; }, get Promise() { return globalThis.Promise; }, set Promise(value) { globalThis.Promise = value; }, get fetch() { return globalThis.fetch; }, set fetch(value) { globalThis.fetch = value; } }) { return (function() {${code22}
|
|
83945
84173
|
}).call(${strictBody ? "void 0" : "$module.exports"}); }
|
|
83946
84174
|
})${__substrateSourceURL(filename)}`;
|
|
83947
84175
|
const dynamicImport = createDynamicImport(require2, this.process, filename.startsWith("data:") ? filename : `file://${filename}`);
|
|
@@ -84000,8 +84228,18 @@ var Runtime = class {
|
|
|
84000
84228
|
real = this.vfs.realpathSync(filename);
|
|
84001
84229
|
} catch {
|
|
84002
84230
|
}
|
|
84003
|
-
const
|
|
84004
|
-
|
|
84231
|
+
const require2 = createRequire(
|
|
84232
|
+
this.vfs,
|
|
84233
|
+
this.fsShim,
|
|
84234
|
+
this.process,
|
|
84235
|
+
dirname(real),
|
|
84236
|
+
this.moduleCache,
|
|
84237
|
+
this.options,
|
|
84238
|
+
this.processedCodeCache
|
|
84239
|
+
);
|
|
84240
|
+
if (!this.process.mainModule) this.process.__substrateMainPending = real;
|
|
84241
|
+
const exports$1 = require2(real);
|
|
84242
|
+
return { exports: exports$1, module: this.moduleCache[real] };
|
|
84005
84243
|
}
|
|
84006
84244
|
/**
|
|
84007
84245
|
* Run a file from the virtual file system (async - for IRuntime interface)
|
|
@@ -84159,7 +84397,7 @@ forGuestRealm(() => {
|
|
|
84159
84397
|
promise.then(void 0, () => {
|
|
84160
84398
|
});
|
|
84161
84399
|
const source = args[0];
|
|
84162
|
-
const
|
|
84400
|
+
const track2 = (controller) => {
|
|
84163
84401
|
const close2 = controller.close;
|
|
84164
84402
|
const error = controller.error;
|
|
84165
84403
|
if (typeof close2 === "function") controller.close = function(...rest) {
|
|
@@ -84179,7 +84417,7 @@ forGuestRealm(() => {
|
|
|
84179
84417
|
const wrapped = Object.create(source ?? null);
|
|
84180
84418
|
wrapped.start = (controller) => {
|
|
84181
84419
|
var _a22;
|
|
84182
|
-
|
|
84420
|
+
track2(controller);
|
|
84183
84421
|
try {
|
|
84184
84422
|
return (_a22 = source == null ? void 0 : source.start) == null ? void 0 : _a22.call(source, controller);
|
|
84185
84423
|
} catch (cause) {
|
|
@@ -84446,7 +84684,7 @@ var WorkerRuntime = class {
|
|
|
84446
84684
|
this.worker = new Worker(
|
|
84447
84685
|
new URL(
|
|
84448
84686
|
/* @vite-ignore */
|
|
84449
|
-
"/assets/runtime-worker-
|
|
84687
|
+
"/assets/runtime-worker-DbsIaU2Q.js",
|
|
84450
84688
|
import.meta.url
|
|
84451
84689
|
),
|
|
84452
84690
|
{ type: "module" }
|
|
@@ -86634,11 +86872,11 @@ var NativeStreamScope = class {
|
|
|
86634
86872
|
const sent = sentId === void 0 ? void 0 : (_b22 = this.entry(sentId)) == null ? void 0 : _b22.handle;
|
|
86635
86873
|
if (sentId !== void 0 && !sent) return Promise.resolve(UV_EBADF);
|
|
86636
86874
|
if (sent && (!(handle instanceof Pipe) || sent.listening || bytes2.byteLength === 0)) return Promise.resolve(UV_ENOTSUP);
|
|
86637
|
-
const
|
|
86638
|
-
|
|
86875
|
+
const owned2 = new Uint8Array(bytes2.byteLength);
|
|
86876
|
+
owned2.set(bytes2);
|
|
86639
86877
|
const retained = sent == null ? void 0 : sent.duplicate();
|
|
86640
86878
|
if (retained) __adoptHandle(retained, null);
|
|
86641
|
-
this.pendingWriteBytes +=
|
|
86879
|
+
this.pendingWriteBytes += owned2.byteLength;
|
|
86642
86880
|
return new Promise((resolve2, reject) => {
|
|
86643
86881
|
let ended = false;
|
|
86644
86882
|
let unsubscribe = () => {
|
|
@@ -86648,7 +86886,7 @@ var NativeStreamScope = class {
|
|
|
86648
86886
|
ended = true;
|
|
86649
86887
|
unsubscribe();
|
|
86650
86888
|
this.writes.delete(id2);
|
|
86651
|
-
this.pendingWriteBytes -=
|
|
86889
|
+
this.pendingWriteBytes -= owned2.byteLength;
|
|
86652
86890
|
try {
|
|
86653
86891
|
retained == null ? void 0 : retained.close();
|
|
86654
86892
|
} catch (cause) {
|
|
@@ -86668,10 +86906,10 @@ var NativeStreamScope = class {
|
|
|
86668
86906
|
finish(UV_EPIPE);
|
|
86669
86907
|
return;
|
|
86670
86908
|
}
|
|
86671
|
-
if (handle.peerQueuedBytes +
|
|
86909
|
+
if (handle.peerQueuedBytes + owned2.byteLength > this.limits.maxQueuedBytes) return;
|
|
86672
86910
|
if (retained && handle.peerQueuedHandles >= this.limits.maxQueuedHandles) return;
|
|
86673
86911
|
try {
|
|
86674
|
-
finish(handle.writeBuffer(new WriteWrap(),
|
|
86912
|
+
finish(handle.writeBuffer(new WriteWrap(), owned2, retained));
|
|
86675
86913
|
} catch (cause) {
|
|
86676
86914
|
finish(UV_ECANCELED, cause);
|
|
86677
86915
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"format":1,"pyodide":"314.0.6","engine":"sha256-OgoA3+qjSKwg+e8JkEIz0y0z9kQzlmLUrzaPiiAQ83o=","preparation":"d64861bb5d9bea8cdb89529e582a04e52b0cd43b2f9a5817a375e232b2fe6bd3","integrity":"sha256-
|
|
1
|
+
{"format":1,"pyodide":"314.0.6","engine":"sha256-OgoA3+qjSKwg+e8JkEIz0y0z9kQzlmLUrzaPiiAQ83o=","preparation":"d64861bb5d9bea8cdb89529e582a04e52b0cd43b2f9a5817a375e232b2fe6bd3","integrity":"sha256-3DFKWuTlWP/tIiPJLzXDdyPejd9vTTsu85HunY9YtUk=","bytes":6080376}
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"catalog":"sha256:
|
|
1
|
+
{"catalog":"sha256:a7e4bdef4c3af03ea7ef7cca846dbaa7e02995c90dd1a24f5357669bccffeed4","kind":"browser-substrate.pack-catalog-pointer","version":1}
|