Skip to content

chore(deps): bump bpmn-visualization from 0.45.0 to 0.46.0#386

Merged
tbouffard merged 2 commits into
mainfrom
dependabot/npm_and_yarn/bpmn-visualization-0.46.0
Mar 19, 2025
Merged

chore(deps): bump bpmn-visualization from 0.45.0 to 0.46.0#386
tbouffard merged 2 commits into
mainfrom
dependabot/npm_and_yarn/bpmn-visualization-0.46.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 19, 2025

Copy link
Copy Markdown
Contributor

Bumps bpmn-visualization from 0.45.0 to 0.46.0.

Release notes

Sourced from bpmn-visualization's releases.

0.46.0

This new release focuses on improving ESM support, reducing bundle size, and refining dependency management, along with updates to documentation, dependency bumps, and maintenance improvements. 🚀

Thanks to all the contributors of this release 🌈: @​tbouffard

See milestone 0.46.0 to get the list of issues covered by this release.

Dependency Changes

Improved ESM Support

fast-xml-parser and strnum now provide ESM support, improving tree shaking and overall performance.
This also eliminates a warning when integrating bpmn-visualization in Angular applications, which previously flagged CommonJS dependencies as potential issues.

For an example integration with Angular, see the TypeScript Angular example.

Bundle Size Reduction

The bundle size has slightly decreased, leading to improved efficiency:

  • The minified IIFE bundle is now ~978.9 kB (previously 985.8 kB in 0.45.1) → 7 kB reduction.
  • In the bpmn-visualization demo (built with Vite), the main.js script shrank from 130.57 kB to 122.73 kB.

Impact of Bundler Choice on Size Reduction

Because fast-xml-parser is not currently marked as "side effects" free, the actual size reduction may vary depending on the bundler used.
For example, in the JavaScript Webpack example:

  • With bpmn-visualization 0.45.1, the bundle size was 980.2 kB.
  • With bpmn-visualization 0.46.0, the bundle size is 980.1 kB → only 0.1 kB reduction.

This should improve in future releases. See NaturalIntelligence/fast-xml-parser#733 for updates.

Removal of strnum as a Direct Dependency

We no longer declare strnum as a direct dependency because:

  • It is a transitive dependency (not used directly in our code), so it’s easier to let fast-xml-parser manage it.
  • It was initially pinned due to stability concerns, but experience has shown that strnum is stable enough. The version guard is no longer necessary.

What's Changed

Full Changelog: process-analytics/bpmn-visualization-js@v0.45.1...v0.46.0

📝 Documentation

... (truncated)

Commits
  • 086a7aa chore(release): 0.46.0
  • d5c9be3 chore(release): prepare version for release
  • 9b8b4dd chore(deps-dev): bump the lint group with 3 updates (#3300)
  • 9696f8a chore(deps-dev): bump @​microsoft/api-extractor from 7.51.1 to 7.52.1 (#3301)
  • b98cfc7 chore(deps-dev): bump typescript from 5.4.5 to 5.8.2 (#3299)
  • 8d179f7 chore(deps-dev): bump typedoc from 0.27.6 to 0.27.9 (#3298)
  • 9ac42be chore(deps): bump es-toolkit from 1.31.0 to 1.33.0 (#3297)
  • c6a524f chore(deps): bump fast-xml-parser from 4.5.1 to 5.0.8 (#3295)
  • 9c4ee3d chore(deps-dev): bump vite from 6.0.11 to 6.2.1 (#3296)
  • 5a99aad chore(deps-dev): bump playwright from 1.50.0 to 1.51.0 (#3294)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by process-analytics-bot, a new releaser for bpmn-visualization since your current version.


Dependabot compatibility score

You 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot requested review from a team and tbouffard and removed request for a team March 19, 2025 06:54
@dependabot dependabot Bot added dependencies Pull requests that update a dependency (dev or runtime) javascript Pull requests that update Javascript code skip-changelog Do not include in Changelog and Release Notes labels Mar 19, 2025
@tbouffard tbouffard removed the skip-changelog Do not include in Changelog and Release Notes label Mar 19, 2025
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 19, 2025

Copy link
Copy Markdown

♻️ PR Preview 8772300 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@tbouffard tbouffard 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.

✔️ All checks pass
✔️ Changelog and release-notes reviewed. Nothing impactful for us.
✔️ Tested with the surge preview environment

@tbouffard tbouffard merged commit 5ffab0a into main Mar 19, 2025
@tbouffard tbouffard deleted the dependabot/npm_and_yarn/bpmn-visualization-0.46.0 branch March 19, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency (dev or runtime) javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant