@willbooster/web-tree-sitter 1.0.36 → 1.0.38

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.
@@ -2456,7 +2456,7 @@ async function Module2(moduleArg = {}) {
2456
2456
  return (async () => {
2457
2457
  var instance2;
2458
2458
  if (binary instanceof WebAssembly.Module) {
2459
- instance2 = new WebAssembly.Instance(binary, info);
2459
+ instance2 = await WebAssembly.instantiate(binary, info);
2460
2460
  } else {
2461
2461
  ({ module: binary, instance: instance2 } = await WebAssembly.instantiate(binary, info));
2462
2462
  }