@lad-tech/nsc-toolkit 1.17.1 → 1.17.2
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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [1.17.
|
|
1
|
+
## [1.17.2](https://github.com/lad-tech/nsc-toolkit/compare/v1.17.1...v1.17.2) (2023-11-13)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* JavaScript heap out of memory in BufferToJsonTransform.ts ([71ca579](https://github.com/lad-tech/nsc-toolkit/commit/71ca57990a2f25a1707cc43dbd7c10398de518e7))
|
|
@@ -13,6 +13,7 @@ class BufferToJsonTransform extends stream_1.Transform {
|
|
|
13
13
|
tail = Buffer.concat([this.head, Buffer.from(tail)]);
|
|
14
14
|
const jsonData = JSON.parse(tail.toString());
|
|
15
15
|
cb(null, jsonData);
|
|
16
|
+
this.head = Buffer.from('');
|
|
16
17
|
}
|
|
17
18
|
catch (error) {
|
|
18
19
|
if (error instanceof SyntaxError) {
|