@lad-tech/nsc-toolkit 1.17.0 → 1.17.1
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
|
+
## [1.17.1](https://github.com/lad-tech/nsc-toolkit/compare/v1.17.0...v1.17.1) (2023-11-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* method transform not implemented ([a72e6b5](https://github.com/lad-tech/nsc-toolkit/commit/a72e6b5da0b5f934eb26b501135b263ebdbba76a))
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.JsonToBufferTransform = void 0;
|
|
4
4
|
const stream_1 = require("stream");
|
|
5
5
|
class JsonToBufferTransform extends stream_1.Transform {
|
|
6
|
-
|
|
6
|
+
_transform(chunk, encoding, cb) {
|
|
7
7
|
cb(null, Buffer.from(JSON.stringify(chunk)));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import { Transform, TransformCallback } from 'stream';
|
|
4
4
|
export declare class JsonToBufferTransform<T> extends Transform {
|
|
5
|
-
|
|
5
|
+
_transform(chunk: T, encoding: BufferEncoding, cb: TransformCallback): void;
|
|
6
6
|
}
|