chore(deps): bump fast-xml-parser from 5.4.2 to 5.5.7#3494
chore(deps): bump fast-xml-parser from 5.4.2 to 5.5.7#3494dependabot[bot] wants to merge 4 commits intomasterfrom
Conversation
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.4.2 to 5.5.7. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v5.4.2...v5.5.7) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.5.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
…re changed in v5.5.0
|
🎊 PR Preview 0483058 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-demo_preview-pr-3494.surge.sh 🕐 Build time: 0.011s 🤖 By surge-preview |
|
🎊 PR Preview 0483058 has been successfully built and deployed to https://process-analytics-bpmn-visualization-js-doc_preview-pr-3494.surge.sh 🕐 Build time: 0.011s 🤖 By surge-preview |
|
There was a problem hiding this comment.
Pull request overview
Updates the XML parsing dependency to a newer fast-xml-parser release and adapts the BPMN XML parsing configuration to keep numeric attribute handling working with the updated library behavior.
Changes:
- Bump
fast-xml-parserfrom5.4.2to5.5.7. - Update
BpmnXmlParseroptions to usejPath: falseand derive the node path from the new matcher argument inattributeValueProcessor. - Refresh
package-lock.jsonwith updated transitive dependencies (fast-xml-builder,strnum,path-expression-matcher).
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/component/parser/xml/BpmnXmlParser.ts | Adjusts parser options and attribute processing to remain compatible with fast-xml-parser@5.5.7 path/matcher behavior. |
| package.json | Bumps fast-xml-parser dependency version. |
| package-lock.json | Locks updated dependency tree, including new/updated transitive packages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Bundle size investigation: IIFE +9,350 bytes vs ESM +315 bytes(from Claude code) Root causeThe difference is explained by the bundling strategy (see
So when fast-xml-parser grows, the IIFE absorbs the entire increase, while the ESM only reflects changes in our own code. What was added in fast-xml-parser 5.5.x (visible in the IIFE bundle)The diff reveals 3 categories of new code in fxp 5.5.x:
The +315 bytes in ESMThe ESM diff only contains our ConclusionThe ~9.3 KB minified delta is structural — it comes from code added in fast-xml-parser itself (security hardening, advanced matching). There is no way to reduce it via rollup configuration without excluding fxp from the |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| const nodePath = | ||
| typeof nodePathOrMatcher === 'object' && nodePathOrMatcher !== null | ||
| ? String((nodePathOrMatcher as { toString(separator?: string, includeNs?: boolean): string }).toString('.', false)) | ||
| : String(nodePathOrMatcher); |
There was a problem hiding this comment.
nitpick: SonarQube complains about this line
'nodePathOrMatcher' will use Object's default stringification format ('[object Object]') when stringified.




Bumps fast-xml-parser from 5.4.2 to 5.5.7.
Release notes
Sourced from fast-xml-parser's releases.
Changelog
Sourced from fast-xml-parser's changelog.
... (truncated)
Commits
a21c441update package detail239b64acheck for min value for entity exapantion options61cb666restrict more properties to be unsafe41abd66performance improvement of reading DOCTYPE3dfcd20refactor: performance improvement870043eupdate release info6df401eupdate builder dependencybd26122check for entitiy expansion for lastEntities and html entities too7e70dd8fix incorrect regex to replace . in entity namee54155fupdate package infoYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.