Skip to content

refactor: Remove xml2js - #429

Merged
abmusse merged 1 commit into
masterfrom
remove-xml2js
Sep 22, 2026
Merged

abmusse merged 1 commit into
masterfrom
remove-xml2js

Conversation

@kadler

@kadler kadler commented Sep 15, 2026

Copy link
Copy Markdown
Member

This is no longer used for anything anymore so remove it. fast-xml-parser needs to be added as a dev dependency now that it's used for tests (since #401).

Fixes #350

@kadler
kadler requested a review from abmusse September 15, 2026 15:26

@abmusse abmusse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that #401 was merged I actually think we need fast-xml-parser as normal dependecy since we rely on it in

const { XMLParser, XMLValidator } = require('fast-xml-parser');

Once we drop these deperacted methods it shouldn't be needed in as a normal dependecy move it to dev dependency. I see its currently liisted as optional:

"fast-xml-parser": "^5.7.0",

we should move it to standard dependency for now.

@kadler

kadler commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

Ahh, yeah good catch.

@kadler

kadler commented Sep 22, 2026

Copy link
Copy Markdown
Member Author

And looks like depd is only needed for the deprecated functions too. I saw that and was wondering. Too bad we can't put comments in JSON...

This is no longer used for anything anymore so remove it.
fast-xml-parser needs to be added as a dependency now that it's used for
tests and deprecated functions (since #401).

Fixes #350

@abmusse abmusse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abmusse
abmusse merged commit dc85292 into master Sep 22, 2026
8 checks passed
@abmusse
abmusse deleted the remove-xml2js branch September 22, 2026 21:57
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.

Remove use of xml2js

2 participants