Repository navigation
build(deps): bump image-size and svgdom in /bbb-export-annotations - #25857
Merged
antobinary merged 1 commit intoSep 29, 2026
Conversation
Bumps [image-size](https://github.com/image-size/image-size) to 2.0.4 and updates ancestor dependency [svgdom](https://github.com/svgdotjs/svgdom). These dependencies need to be updated together. Updates `image-size` from 1.0.2 to 2.0.4 - [Release notes](https://github.com/image-size/image-size/releases) - [Commits](https://github.com/image-size/image-size/commits) Updates `svgdom` from 0.1.20 to 0.1.29 - [Release notes](https://github.com/svgdotjs/svgdom/releases) - [Changelog](https://github.com/svgdotjs/svgdom/blob/master/changelog.md) - [Commits](svgdotjs/svgdom@0.1.20...0.1.29) --- updated-dependencies: - dependency-name: image-size dependency-version: 2.0.4 dependency-type: indirect - dependency-name: svgdom dependency-version: 0.1.29 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚨 Automated tests failed |
antobinary
deleted the
dependabot/npm_and_yarn/bbb-export-annotations/multi-b76ee3d31f
branch
September 29, 2026 00:16
This was referenced Oct 1, 2026
antobinary
added a commit
that referenced
this pull request
Oct 1, 2026
Exporting a presentation that carries a text annotation crashes the export service on v3.0.x-develop since svgdom was bumped from 0.1.20 to 0.1.29 (#25857). The process worker dies with an uncaught Error: Invalid State Error at ensureXMLSerializableName (svgdom/src/utils/tagUtils.js) the service exits and is restarted by systemd, and the job is lost: the "Sending to chat" toast stays on "Extracting slide N of N..." and no download link ever reaches the chat. svgdom 0.1.29 refuses to serialize an attribute whose local name contains a colon, which is what a namespace-unaware setAttribute creates. TextShape set xml:space that way. Pass the XML namespace so svg.js uses setAttributeNS and the attribute gets the xml prefix with the local name "space". The serialized element is unchanged (<text ... xml:space="preserve">) on both svgdom 0.1.20 and 0.1.29, so the rendered text is the same. Found through the "Exported text annotations do not overlap" test added by the #25722 backport (#25917), which times out in CI on the missing download link. With develop's dependencies installed on a 3.0 server the test reproduces that timeout and the crash above; with this change the export completes and the test passes (4 of 4 runs).
antobinary
added a commit
that referenced
this pull request
Oct 2, 2026
Exporting a presentation that carries a text annotation crashes the export service on v3.0.x-develop since svgdom was bumped from 0.1.20 to 0.1.29 (#25857). The process worker dies with an uncaught Error: Invalid State Error at ensureXMLSerializableName (svgdom/src/utils/tagUtils.js) the service exits and is restarted by systemd, and the job is lost: the "Sending to chat" toast stays on "Extracting slide N of N..." and no download link ever reaches the chat. svgdom 0.1.29 refuses to serialize an attribute whose local name contains a colon, which is what a namespace-unaware setAttribute creates. TextShape set xml:space that way. Pass the XML namespace so svg.js uses setAttributeNS and the attribute gets the xml prefix with the local name "space". The serialized element is unchanged (<text ... xml:space="preserve">) on both svgdom 0.1.20 and 0.1.29, so the rendered text is the same. Found through the "Exported text annotations do not overlap" test added by the #25722 backport (#25917), which times out in CI on the missing download link. With develop's dependencies installed on a 3.0 server the test reproduces that timeout and the crash above; with this change the export completes and the test passes (4 of 4 runs). (cherry picked from commit 206b2d7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps image-size to 2.0.4 and updates ancestor dependency svgdom. These dependencies need to be updated together.
Updates
image-sizefrom 1.0.2 to 2.0.4Release notes
Sourced from image-size's releases.
Commits
Updates
svgdomfrom 0.1.20 to 0.1.29Release notes
Sourced from svgdom's releases.
Changelog
Sourced from svgdom's changelog.
... (truncated)
Commits
7cc22abrelease 0.1.2966f2393Merge pull request #143 from svgdotjs/fix/plain-xmlns-attribute4203a0fci: replace the broken pnpm pin of the svg.js checkoutc9eccbdci: use the working pnpm release in the svg.js job too47996e7ci: pin a working pnpm release93da461fix: accept xmlns attributes set via setAttribute when serializing5da64f8release 0.1.2846a8d96ci: verify supported Node versions and invariantsebfb3eechore: remove obsolete Reify test hookb99e385chore: remove obsolete implementation scaffoldingDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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.