@willbooster/web-tree-sitter 2.0.24 → 2.0.26

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.
@@ -2674,6 +2674,7 @@ var TreeCursor = class _TreeCursor {
2674
2674
  }
2675
2675
  /** Creates a deep copy of the tree cursor. This allocates new memory. */
2676
2676
  copy() {
2677
+ marshalTreeCursor(this);
2677
2678
  const copy = new _TreeCursor(INTERNAL, this.tree);
2678
2679
  C._ts_tree_cursor_copy_wasm(this.tree[0]);
2679
2680
  unmarshalTreeCursor(copy);