@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.
@@ -1203,7 +1203,7 @@ var require_web_tree_sitter = __commonJS({
1203
1203
  return (async () => {
1204
1204
  var instance2;
1205
1205
  if (binary instanceof WebAssembly.Module) {
1206
- instance2 = new WebAssembly.Instance(binary, info);
1206
+ instance2 = await WebAssembly.instantiate(binary, info);
1207
1207
  } else {
1208
1208
  ({ module: binary, instance: instance2 } = await WebAssembly.instantiate(binary, info));
1209
1209
  }