Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Avoid bidirectional characters in source code #440

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

karfau
Copy link
Member

@karfau karfau commented Oct 11, 2022

by replacing it with the related /uXXXX unicode escape sequence.
Added an eslint rule to prevent future additions.

This should resolve the last supply chain risk that is currently mentioned on
https://socket.dev/npm/package/@xmldom/xmldom
image

https://trojansource.codes/

@karfau karfau changed the title style: Use unicode escape sequence for bidirectional chars fix: Avoid bidirectional charachters in source code Oct 11, 2022

Verified

This commit was signed with the committer’s verified signature.
KinectTheUnknown David-Joseph Xayavong
and add eslint rule to prevent future additions.

https://trojansource.codes/
@karfau karfau changed the title fix: Avoid bidirectional charachters in source code fix: Avoid bidirectional characters in source code Oct 11, 2022
@karfau karfau merged commit 8c675ff into master Oct 11, 2022
@karfau karfau deleted the encode-bidirectional-chars branch October 11, 2022 04:44
@karfau karfau added this to the 0.9.0 milestone Oct 18, 2022
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.

None yet

1 participant