Results 440 comments of Jack Works

The import assertions proposal requires a string `asserts "str"` at first, but changed to the JSON object later. Should this proposal also support the JSON object form? e.g. `as {...

I'm wondering if this can help TypeScript users. Nowadays if you use an asset like this: > src/index.ts ```ts const u = new URL('./x.png', import.meta.url) await readFile(u) ``` And the...

The problem is that you cannot know how many in total it will need to resolve

Note: we're currently using https://www.npmjs.com/package/z-schema to validate JSON schemas in runtime.

> It's caused by the new version of Android GeckoView Curious the reason

It deliberated hard-coded on Facebook but I'm not clear why. @guanbinrui left a comment in the code says: > // ! the color image cannot compression resistance in Facebook

https://github.com/DimensionDev/Maskbook/blob/7390500ffe0c5de9beb04f8f9cf3e67841558554/packages/maskbook/src/social-network-provider/facebook.com/tasks/uploadToPostBox.ts#L24-L24

can you give this pr a meaningful name about what is it doing?

Without the source, the host cannot implement the following CSP: ``` Content-Security-Policy: script-src 'sha256-0X/mXwSMKUkzUfv+VIF49SFUDL0crPAnC532AAN4J74=' 'sha256-85Tr60VsxQkO/J0dtiQqqhbd1LXNQ/Mwu1wDTDY9jVo=' 'sha256-dRXLIytYygaF4gDr8/bnkhxCVOOZIXq6TsUYkPu2COM=' 'sha256-FtWtxCFT2E9x4YfsMlTkUyFn0iWdCkat4/Ug6ESriuo='; ``` ``` eval(` // External script, using by test 12, 8, 26, 135,...

And the link to the definition of `Type` (it links to https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values) doesn't explain what it will return very clearly. (e.g. I don't know if `Type(null)` is `null` or `object`...