You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
When I try to use csv-stringify/lib/es5 to stringify an array, there is an error happened and csvStringify couldn't catch the error.
The error message:
_stream_readable.js:824 Uncaught (in promise) ReferenceError: process is not defined
at Stringifier.push.../../node_modules/.pnpm/readable-stream@3.6.0/node_modules/readable-stream/lib/_stream_readable.js.Readable.on (_stream_readable.js:824)
at stringify (index.js:737)
To Reproduce
I just use the code below: csvStringify( [{a: '1'}], { header: true, columns: [{key: 'a'}] }, (e,output) => { console.log(e+output) } )
It will directly throw the error, csvStringify couldn't catch the error and put it in the csvStringify.Callback
Additional context
IE11 didn't support csv-stringify/lib/browser, that's why I used csv-stringify/lib/es5;
Package version: 5.6.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When I try to use csv-stringify/lib/es5 to stringify an array, there is an error happened and csvStringify couldn't catch the error.
The error message:
_stream_readable.js:824 Uncaught (in promise) ReferenceError: process is not defined
at Stringifier.push.../../node_modules/.pnpm/readable-stream@3.6.0/node_modules/readable-stream/lib/_stream_readable.js.Readable.on (_stream_readable.js:824)
at stringify (index.js:737)
To Reproduce
I just use the code below:
csvStringify( [{a: '1'}], { header: true, columns: [{key: 'a'}] }, (e,output) => { console.log(e+output) } )
It will directly throw the error, csvStringify couldn't catch the error and put it in the csvStringify.Callback
Additional context
The text was updated successfully, but these errors were encountered: