Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NaturalIntelligence/fast-xml-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.1.0
Choose a base ref
...
head repository: NaturalIntelligence/fast-xml-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.2.0
Choose a head ref
  • 3 commits
  • 20 files changed
  • 2 contributors

Commits on Apr 3, 2025

  1. fix #593: support metadata on nodes (5.x edition) (#729)

    * fix #593: support line numbers
    
    - add a new symbol, accessible via XMLParser.getStartIndexSymbol() which reflects the start index of a tag
    - copy that start index in the compressed form as well
    
    (cherry picked from commit d7601c3)
    
    * fix #593: support line numbers
    
    - correct .d.ts
    
    * fix #593: support line numbers
    
    - add a preserveStartIndex option, off by default
    - use an ordinary property if Symbol is not available
    - update tests and docs
    
    * feat #593: add metadata
    
    - add a captureMetaData which adds a metadata object
    - update tests and typings
    
    * feat #593: add metadata test
    
    - add test for captureMetadata && isArray && stopNodes && unpairedTags && updateTag
    
    * feat #593: update docs for metadata
    
    - update documentation
    - update fxp.d.ts for metadata
    
    * feat #593: update .cts and .ts for metadata
    
    - remove duplicate X2jMetadata class
    - update .cts file with metadata
    srl295 authored Apr 3, 2025
    Configuration menu
    Copy the full SHA
    ab8d40a View commit details
    Browse the repository at this point in the history
  2. update docs

    amitguptagwl committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    e9c4883 View commit details
    Browse the repository at this point in the history
  3. update package detail

    amitguptagwl committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    7741da3 View commit details
    Browse the repository at this point in the history
Loading