Skip to content

Update magic-string to 1.1.0 and @eksml/xml to 0.2.0 - #10

Merged
evoactivity merged 2 commits into
mainfrom
update-deps
Jul 23, 2026
Merged

Update magic-string to 1.1.0 and @eksml/xml to 0.2.0#10
evoactivity merged 2 commits into
mainfrom
update-deps

Conversation

@evoactivity

@evoactivity evoactivity commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

What

Updates two runtime dependencies of @svg-jar/plugin:

Package From To
magic-string ^0.30.17 ^1.1.0
@eksml/xml ^0.1.2 ^0.2.0

Both are breaking version bumps, but the API surface the plugin uses is unchanged:

  • magic-string is only used in render-chunk.ts (new MagicString, .overwrite, .toString, .generateMap), all stable across 1.x.
  • @eksml/xml ./lossless and ./writer entry points and their signatures (lossless, write, LosslessEntry) are unchanged between 0.1.2 and 0.2.0.

Verification

  • typecheck clean
  • test:unit 123 passed
  • lint clean
  • e2e passes for every target that renders the shared eksml output

Incidental fixes needed to keep the branch green

  • Added isEmbedded to BASE_CTX in codegen.test.ts, a pre-existing typecheck failure on main.
  • Added test-results/ and playwright-report/ to .prettierignore so prettier stops flagging Playwright artifacts.

Both are breaking bumps (magic-string 0.30 to 1.x, eksml 0.1 to 0.2),
but the API surface we use is unchanged. Verified with typecheck and the
full unit suite (123 passed), plus the e2e targets that render the shared
eksml output.

Also includes two small fixes needed to keep the branch green:
- Add isEmbedded to BASE_CTX in codegen.test.ts, which was a pre-existing
  typecheck failure on main.
- Add test-results and playwright-report to .prettierignore so prettier
  stops flagging Playwright artifacts.
@evoactivity
evoactivity merged commit ada8a15 into main Jul 23, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant