Skip to content

fix: Avoid bidirectional characters in source code#440

Merged
karfau merged 1 commit into
masterfrom
encode-bidirectional-chars
Oct 11, 2022
Merged

fix: Avoid bidirectional characters in source code#440
karfau merged 1 commit into
masterfrom
encode-bidirectional-chars

Conversation

@karfau

@karfau karfau commented Oct 11, 2022

Copy link
Copy Markdown
Member

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
@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.

1 participant