json-stream-lite 1.0.19 → 1.1.0

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.
@@ -88,7 +88,7 @@ export declare class ByteBuffer {
88
88
  compact(): void;
89
89
  /**
90
90
  * Override to customize when to compact the buffer
91
- * By default, compacts when more than 1000 items have been consumed
91
+ * By default, compacts when more than maxBufferSize bytes have been consumed
92
92
  *
93
93
  * @returns boolean indicating whether to compact the buffer
94
94
  */
@@ -224,7 +224,7 @@ export class ByteBuffer {
224
224
  }
225
225
  /**
226
226
  * Override to customize when to compact the buffer
227
- * By default, compacts when more than 1000 items have been consumed
227
+ * By default, compacts when more than maxBufferSize bytes have been consumed
228
228
  *
229
229
  * @returns boolean indicating whether to compact the buffer
230
230
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "json-stream-lite",
3
- "version": "1.0.19",
3
+ "version": "1.1.0",
4
4
  "description": "A lightweight, memory-efficient, zero-dependency streaming JSON parser and stringifier for JavaScript and TypeScript. It works in both Node.js and browser environments.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",