Skip to content

Conversation

@not-matt
Copy link

@not-matt not-matt commented Oct 13, 2025

I wanted to get this library working in ESM for V6. Apologies for large PR - I needed to get the v6 library working for me asap.

  • Added new subpath exports in package.json for fast-xml-parser/v6, enabling direct ESM and type-safe imports for v6 classes and types.
  • Updated documentation (docs/v6/1.GettingStarted.md, docs/v6/3.Options.md, docs/v6/4.OutputBuilders.md) to provide usage examples for new types and ESM imports
  • Added and improved TypeScript typings for v6, including V6ParserOptions and V6BuilderOptions
  • Use ESM import/export style across v6 source files
  • Bumped strnum version

Bug Fixes:

New Features:

  • Implemented skip tags functionality. Tags in the options.skip list will be completely ignored, which speeds up parsing in some situations.

Type

  • Bug Fix
  • Refactoring / Technology upgrade
  • New Feature

Note : Please ensure that you've read contribution guidelines before raising this PR. If your PR is in progress, please prepend [WIP] in PR title. Your PR will be reviewed when [WIP] will be removed from the PR title.

@guardrails
Copy link

guardrails bot commented Oct 13, 2025

⚠️ We detected 2 security issues in this pull request:

Vulnerable Libraries (2)
Severity Details
High publish-please@5.5.2 upgrade to: >=2.4.1
Low pkg:npm/eslint@8.57.0 (t) upgrade to: > 8.57.0

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@not-matt not-matt changed the title V6 ESM & Types V6 ESM, Types, Skip tags Oct 14, 2025
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.

Can't use v6 from ESM

1 participant