@supraio/client-daemon-js 0.0.1-master.4 → 0.0.1-master.8
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/package.json +1 -1
- package/supra-client-daemon.js +431 -356
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +439 -364
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
- package/wasm_exec.js +7 -0
package/supra-client-screen.wasm
CHANGED
|
Binary file
|
package/wasm_exec.js
CHANGED
|
@@ -564,6 +564,13 @@
|
|
|
564
564
|
offset += 8;
|
|
565
565
|
});
|
|
566
566
|
|
|
567
|
+
// The linker guarantees global data starts from at least wasmMinDataAddr.
|
|
568
|
+
// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
|
|
569
|
+
const wasmMinDataAddr = 4096 + 8192;
|
|
570
|
+
if (offset >= wasmMinDataAddr) {
|
|
571
|
+
throw new Error("total length of command line and environment variables exceeds limit");
|
|
572
|
+
}
|
|
573
|
+
|
|
567
574
|
this._inst.exports.run(argc, argv);
|
|
568
575
|
if (this.exited) {
|
|
569
576
|
this._resolveExitPromise();
|