Results 440 comments of Jack Works

FYI Node 20 has made a breaking change: > Custom ESM loader hooks run on dedicated thread > ESM hooks supplied via loaders (--experimental-loader=foo.mjs) now run in a dedicated thread,...

> > Should we use eslint autofix this? > > Some conditions could fail at runtime. this means the type information is incorrect, IMO we should fix the type and...

> External APIs are not 100 percents promising. Can you give an example? Does that type come from npm? In that case, I agree it's hard to fix, but if...

> There comes a live issue [mask.atlassian.net/browse/MF-6056](https://mask.atlassian.net/browse/MF-6056) I think we should stop casting types in our code like this: ```js const data = await fetchJSON(url) ``` but like this: ```js...

I think you can merge this if you think this PR is ready, but I still hope we can enable the eslint rule to enforce it.

looks like there is some race condition... cc @guanbinrui

https://github.com/Jack-Works/proposal-promise.delay-and-timeout

I didn't invent the notion of time, I leave it for the host to interpreter what does the time parameter means. I also didn't add something like "event loop" to...

It seems like no one is working on this in whatwg for years. And I don't like it appears on the `AbortController`. If so, how can I use it in...

> Yes. So why don't you? I'm not familiar with the workflow of whatwg, I assume I need to find a champion to support the idea (tell me if I'm...