@willbooster/web-tree-sitter 1.0.28 → 1.0.30

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.
@@ -3570,7 +3570,6 @@ function marshalRange(address, range) {
3570
3570
  C.setValue(address, range.startIndex, "i32");
3571
3571
  address += SIZE_OF_INT;
3572
3572
  C.setValue(address, range.endIndex, "i32");
3573
- address += SIZE_OF_INT;
3574
3573
  }
3575
3574
  __name(marshalRange, "marshalRange");
3576
3575
  function unmarshalRange(address) {
@@ -3597,13 +3596,12 @@ function marshalEdit(edit, address = TRANSFER_BUFFER) {
3597
3596
  C.setValue(address, edit.oldEndIndex, "i32");
3598
3597
  address += SIZE_OF_INT;
3599
3598
  C.setValue(address, edit.newEndIndex, "i32");
3600
- address += SIZE_OF_INT;
3601
3599
  }
3602
3600
  __name(marshalEdit, "marshalEdit");
3603
3601
  function unmarshalLanguageMetadata(address) {
3604
3602
  const major_version = C.getValue(address, "i32");
3605
3603
  const minor_version = C.getValue(address += SIZE_OF_INT, "i32");
3606
- const patch_version = C.getValue(address += SIZE_OF_INT, "i32");
3604
+ const patch_version = C.getValue(address + SIZE_OF_INT, "i32");
3607
3605
  return { major_version, minor_version, patch_version };
3608
3606
  }
3609
3607
  __name(unmarshalLanguageMetadata, "unmarshalLanguageMetadata");