Worms David

Results 251 comments of Worms David

If you provide me with a project example illustrating the issue inside the "demo" folder, then I'll be happy to generate the ".d.cts" files.

Validated, could you create a merge request with the demo folder, I'll merge it and make the changes in the mean time

Could we rename the demo with a short name, also, I don't think node 16 has anything to do with test, I tested the same behavior with Node 18 and...

The following packages were updated: - csv-generate: 4.2.1 => 4.2.2 - csv-parse: 5.3.4 => 5.3.5 - csv-stringify: 6.2.3 => 6.2.4 - csv: 6.2.6 => 6.2.7 - stream-transform: 3.2.1 => 3.2.2

> Sure, I can rename it. > > You are correct that the error isn't node version specific, it is from Typescript's "node16" resolver which was built to be compatible...

I [reproduce the behavior](https://github.com/adaltas/node-csv/commit/b14c3c9f3dc1bf221a2ec5d9350b8ff96886bab8). See the description of [`transform`](https://nodejs.org/api/stream.html#transform_transformchunk-encoding-callback) in the documentation. When a string is provided to `createWriteStream`, it is converted with `Buffer.from(str, encoding)`. However, `csv-stringify` doesn't provide a...

What do you mean by `max_buffer_size`, I don't find any reference to this parameter in the [Node.js stream API](https://nodejs.org/api/stream.html). Any option passed to the parser is also [passed to the...

Would you be able to share a reproducible script in JS (no TS) ?

Your have an await statement inside a function expecting a callback, this is not right. Note, I am not sure this cause any problem.

I didn't have the time to look at the issue yet.