Skip to content

Update DOM Expressions to 0.40.12 - #3873

Merged
ryansolid merged 1 commit into
mainfrom
chore/dom-expressions-0.40.12
Oct 7, 2026
Merged

ryansolid merged 1 commit into
mainfrom
chore/dom-expressions-0.40.12

Conversation

@ryansolid

Copy link
Copy Markdown
Member

Picks up dom-expressions 0.40.12 (ryansolid/dom-expressions#592): SSR validates dynamic attribute and tag names, dropping spread keys the HTML parser would read as more than one name and throwing for an invalid tag name (as client document.createElement does, e.g. via <Dynamic component="...">), and escapes class and style names (plus ssrSpread class values) so a quote cannot end the quoted attribute. Output for valid names is unchanged.

  • Pins: dom-expressions, hyper-dom-expressions and lit-dom-expressions go from 0.40.11 to 0.40.12. babel-plugin-jsx-dom-expressions was not republished (it stays at 0.40.11), so babel-preset-solid is unchanged.
  • Lockfile: refreshed for the new pins. This also fixes the stale babel-preset-solid solid-js peer entry left by the 1.9.16 release (^1.9.15 → ^1.9.16) and prunes unused seroval 1.5.x entries; pnpm install --frozen-lockfile passes again.
  • Changeset: solid-js patch.
  • Tests: pnpm run build passes; solid-js client (487) and server (8) tests, test-types and babel-preset-solid tests all pass. The built web/dist/server.js / server.cjs drop invalid spread keys, escape ssrSpread class values, throw for an invalid <Dynamic> tag name, and render valid names exactly as before.

Prepared with Claude via Cursor

SSR validates dynamic attribute and tag names, and escapes class and
style names (ryansolid/dom-expressions#592). The lockfile is refreshed
for 0.40.12, which also updates the stale babel-preset-solid solid-js
peer entry left by the 1.9.16 release.

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: da5c337

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedhyper-dom-expressions@​0.40.11 ⏵ 0.40.1275 +11008995 +2100
Updatedlit-dom-expressions@​0.40.11 ⏵ 0.40.12781009795 +2100
Updateddom-expressions@​0.40.11 ⏵ 0.40.1285 +110099 +195 +2100
Updatedsolid-js@​1.9.15 ⏵ 1.9.16100 +110010096 +1100

View full report

@ryansolid
ryansolid merged commit 1f99069 into main Oct 7, 2026
5 checks passed
@ryansolid
ryansolid deleted the chore/dom-expressions-0.40.12 branch October 12, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant