mol_vary 0.0.56 → 0.0.58

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.
package/node.mjs CHANGED
@@ -2704,7 +2704,7 @@ var $;
2704
2704
  };
2705
2705
  const read_text = (kind) => {
2706
2706
  const len = read_unum(kind);
2707
- const [text, bytes] = $mol_charset_decode_from(array, buffer.byteOffset + pos, len);
2707
+ const [text, bytes] = $mol_charset_decode_from(array, pos, len);
2708
2708
  pos += bytes;
2709
2709
  stream.push(text);
2710
2710
  return text;
package/node.test.js CHANGED
@@ -2695,7 +2695,7 @@ var $;
2695
2695
  };
2696
2696
  const read_text = (kind) => {
2697
2697
  const len = read_unum(kind);
2698
- const [text, bytes] = $mol_charset_decode_from(array, buffer.byteOffset + pos, len);
2698
+ const [text, bytes] = $mol_charset_decode_from(array, pos, len);
2699
2699
  pos += bytes;
2700
2700
  stream.push(text);
2701
2701
  return text;