@supraio/client-daemon-js 0.0.1-master.7 → 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.
Binary file
package/wasm_exec.js CHANGED
@@ -566,9 +566,9 @@
566
566
 
567
567
  // The linker guarantees global data starts from at least wasmMinDataAddr.
568
568
  // Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
569
- const wasmMinDataAddr = 4096 + 4096;
569
+ const wasmMinDataAddr = 4096 + 8192;
570
570
  if (offset >= wasmMinDataAddr) {
571
- throw new Error("command line too long");
571
+ throw new Error("total length of command line and environment variables exceeds limit");
572
572
  }
573
573
 
574
574
  this._inst.exports.run(argc, argv);