strip-comments
strip-comments copied to clipboard
Infinity loop in jsx file
Simple repro
<span>{a ?? ''}</span>;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
/^(\d\d)$/;
thanks for the heads up, and sorry for the late reply!!! I'll look into this ASAP.
FWIW, technically .jsx
is not officially supported yet, but it's reasonable and probably common for ppl to want to use this with react, so I'm marking this as a bug.