@willbooster/web-tree-sitter 1.0.37 → 1.0.39

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.
@@ -2742,7 +2742,7 @@ async function Module2(moduleArg = {}) {
2742
2742
  return (async () => {
2743
2743
  var instance2;
2744
2744
  if (binary instanceof WebAssembly.Module) {
2745
- instance2 = new WebAssembly.Instance(binary, info);
2745
+ instance2 = await WebAssembly.instantiate(binary, info);
2746
2746
  } else {
2747
2747
  ({ module: binary, instance: instance2 } = await WebAssembly.instantiate(binary, info));
2748
2748
  }