Skip to content

Conversation

brettz9
Copy link

@brettz9 brettz9 commented Sep 22, 2025

The reason I updated the lock file was for some vulnerabilities fixed by npm audit fix.

The reason I updated ava was because its engines were not supporting Node 22 which I was using.

I added a snapshots script to package.json to update snapshots since this was not a transparent process and required for fixing changed test expectations.

The reason I changed the replacement from * / to *\/ rather than making a normalizer rule per this suggestion is because I think the default behavior should be to work as intended in TypeScript; namely, with the proper escaping, TypeScript will interpret the sequence as the termination of a comment block.

If you go to this snippet and hover the mouse over the function a () {} block, you can see the comment is well-formed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Escape /* */ in comments
1 participant