@willbooster/web-tree-sitter 16.0.0 → 16.0.1

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.
@@ -3081,8 +3081,8 @@ async function Module2(moduleArg = {}) {
3081
3081
  if (Module.currentProgressCallback) {
3082
3082
  return Module.currentProgressCallback({
3083
3083
  currentOffset,
3084
- hasError
3085
- });
3084
+ hasError: hasError !== 0
3085
+ }) === true;
3086
3086
  }
3087
3087
  return false;
3088
3088
  }
@@ -3091,7 +3091,7 @@ async function Module2(moduleArg = {}) {
3091
3091
  if (Module.currentQueryProgressCallback) {
3092
3092
  return Module.currentQueryProgressCallback({
3093
3093
  currentOffset
3094
- });
3094
+ }) === true;
3095
3095
  }
3096
3096
  return false;
3097
3097
  }