dai-shi / dai-shi/proxy-compare
Minifiers break code with the `in` operator
Open
- Dominant language
- TypeScript
- Stars
- 311
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
We use the `trackMemo` function to mark an object as tracked.
Some code minifiers, such as: terser and swc (https://github.com/swc-project/swc/issues/11246)
remove the `in` operator, which leads to incorrect behavior.
https://github.com/dai-shi/proxy-compare/blob/main/src/index.ts#L342
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.