msgpackr 1.8.3 → 1.8.4

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.
@@ -1079,7 +1079,7 @@
1079
1079
  let safeEnd;
1080
1080
  let bundledStrings = null;
1081
1081
  let writeStructSlots;
1082
- const MAX_BUNDLE_SIZE = 0xf000;
1082
+ const MAX_BUNDLE_SIZE = 0x5500; // maximum characters such that the encoded bytes fits in 16 bits.
1083
1083
  const hasNonLatin = /[\u0080-\uFFFF]/;
1084
1084
  const RECORD_SYMBOL = Symbol('record-id');
1085
1085
  class Packr extends Unpackr {