Ze-Zheng Wu

Results 145 comments of Ze-Zheng Wu

What's the `byteLength` of the `Int8Array`, i.e. `zxingInstance.HEAP8.byteLength`?

I mean, can you also log the `byteLength` of the `HEAP8` object in the console? So I can know the total available memory it holds. like this (add this line):...

That's some useful info and a good start. Apparently, for some reason, the memory is not successfully allocated, which brings us to this line of code: https://github.com/louie0086/test_Barcode/blob/5c7a69936a4649c5b860b405b6797ba5aef3456c/public/barcode-detector/dist/es/pure.js#L415-L416 Can you help...

Hmmm, that means `wasmMemory` is not initiated. Can you log `n`, `n.exports` and `n.exports.qa` in this function before the `return` statement? https://github.com/louie0086/test_Barcode/blob/2faebca6c2e0ed3626b7ebfa183937b76cc279fe/barcode-detector.pure_4.js#L564-L566

👍 Yes but currently I'm afraid I don't have the sufficient energy to maintain a well organized document. And many of the default identifiers or APIs may still be prone...

> I can raise a PR for it. You're more than welcome ❤️ > And I believe this plugin should be a standard and change to be an official prettier...

I'm not sure but I think the plugin resolution is handled by Prettier itself, not the project. So as long as you're using Prettier v3, this plugin should work as...

I'll need some help on this one. If anyone can offer a general solution, I'd be happy to merge.

> So it's not a Biome bug? I think it's still a Biome bug because [that override entry](https://github.com/getsentry/sentry/blob/83096ad786d1075d3a6fc49cdfe8d0bdbb12bbe4/biome.json#L162-L181) didn't enable the js formatter, so it should be kept disabled?

@kevinwolfcr Hello I don't think this should be closed because import aliases in `package.json` or `tsconfig.json` are still not supported yet.