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.
- package/dist/index-no-eval.cjs +1 -1
- package/dist/index-no-eval.cjs.map +1 -1
- package/dist/index-no-eval.min.js +1 -1
- package/dist/index-no-eval.min.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/test.js +28 -1
- package/dist/test.js.map +1 -1
- package/index.d.cts +1 -0
- package/index.d.ts +1 -0
- package/pack.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
let safeEnd;
|
|
1079
1079
|
let bundledStrings = null;
|
|
1080
1080
|
let writeStructSlots;
|
|
1081
|
-
const MAX_BUNDLE_SIZE =
|
|
1081
|
+
const MAX_BUNDLE_SIZE = 0x5500; // maximum characters such that the encoded bytes fits in 16 bits.
|
|
1082
1082
|
const hasNonLatin = /[\u0080-\uFFFF]/;
|
|
1083
1083
|
const RECORD_SYMBOL = Symbol('record-id');
|
|
1084
1084
|
class Packr extends Unpackr {
|