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

Resolve critical vulnerability in helper script #486

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

davidfurey
Copy link
Member

What does this change?

Switch from libxml2js to libxml2-wasm. libxml2js is no longer actively maintained and has a critical vulnerability.

Also adds some more type information and a script to check that the types are valid.

How to test

yarn check-types to show that Typescript is happy

node compare-rule-xml.js fixtures/example-rules-old.xml fixtures/example-rules-new.xml fixtures/example-rule-ids.txt to see that script still runs.

…y maintained and has a critical vulnerability.

Also adds some more type information and a script to check that the types are valid.
@davidfurey davidfurey requested a review from a team as a code owner December 5, 2024 16:15
@davidfurey davidfurey merged commit b2471f0 into main Dec 6, 2024
4 checks passed
@davidfurey davidfurey deleted the switch-from-libxml2js branch December 6, 2024 12:00
@prout-bot
Copy link

Seen on Rule Manager (merged by @davidfurey 9 minutes and 30 seconds ago) Please check your changes!

@prout-bot
Copy link

Overdue on Checker (merged by @davidfurey 15 minutes and 3 seconds ago) What's gone wrong?

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

Successfully merging this pull request may close these issues.

3 participants