@willbooster/web-tree-sitter 1.0.37 → 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.
@@ -2488,7 +2488,7 @@ async function Module2(moduleArg = {}) {
2488
2488
  return (async () => {
2489
2489
  var instance2;
2490
2490
  if (binary instanceof WebAssembly.Module) {
2491
- instance2 = new WebAssembly.Instance(binary, info);
2491
+ instance2 = await WebAssembly.instantiate(binary, info);
2492
2492
  } else {
2493
2493
  ({ module: binary, instance: instance2 } = await WebAssembly.instantiate(binary, info));
2494
2494
  }