@willbooster/web-tree-sitter 2.0.25 → 2.0.27

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.
@@ -429,6 +429,7 @@ var TreeCursor = class _TreeCursor {
429
429
  }
430
430
  /** Creates a deep copy of the tree cursor. This allocates new memory. */
431
431
  copy() {
432
+ marshalTreeCursor(this);
432
433
  const copy = new _TreeCursor(INTERNAL, this.tree);
433
434
  C._ts_tree_cursor_copy_wasm(this.tree[0]);
434
435
  unmarshalTreeCursor(copy);