Ryuichi Okumura
Ryuichi Okumura
`Buffer` is implemented only for Node.js. I think supporting `TypedArray` is better.
Please provide a repro for your problem.
This is the serialize-javascript project not related to the mongoose. You have to write a minimum example code can reproduce your problem of usage serialize-javascript library.
What object did you try to serialize?
It's too difficult to confirm the problem from screenshot. Please write up a reproducible code.
I'm ok on this. Please add tests and update a description for this option.
Do you have any repro? I guess `_asyncToGenerator2` is generated code by Babel not `serialize-javascript`. The `serialize-javascript` supports `async` functions as follows. ``` > serialize(async function(){}) 'async function(){}' ```
test.js: ```js const serialize = require('serialize-javascript') const options = { file: 'test5.js', input: '/******/ function hello(a) {console.log(a)}', terserOptions: { output: { comments: 'all', }, }, extractComments: { condition: 'should be...
Hmm. it seems to be a bug. I'll try to fix it, but it may take some time. Your cooperation is always welcome.
I personally haven't heard any products using them. As it becomes realistic as a standard in the future (e.g. TC39 Stage 3) and increases in demand and users, I think...