domelementtype breaking changes
domelementtype 3.0.0 (March 17, 2026) is its newest release with breaking changes, 11 of them. The first: Package is now ESM-only in domelementtype 3.0.0. Every breaking API change we have recorded in domelementtype on npm: 11 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.0.0, released March 17, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
domelementtype 3.0.0 breaking changes
- Configuration changed
domelementtype no longer ships CommonJS builds, so code using require() must switch to ES module imports. github.com - Signature changed
CDATA
Was const CDATA; now const CDATA: ElementType.CDATA. npmjs.com - Signature changed
Comment
Was const Comment; now const Comment: ElementType.Comment. npmjs.com - Signature changed
Directive
Was const Directive; now const Directive: ElementType.Directive. npmjs.com - Signature changed
Doctype
Was const Doctype; now const Doctype: ElementType.Doctype. npmjs.com - Signature changed
isTag
Was function isTag(elem: {type: ElementType;}): boolean; now function isTag(element: {type: ElementType;}): boolean. npmjs.com - Signature changed
Root
Was const Root; now const Root: ElementType.Root. npmjs.com - Signature changed
Script
Was const Script; now const Script: ElementType.Script. npmjs.com - Signature changed
Style
Was const Style; now const Style: ElementType.Style. npmjs.com - Signature changed
Tag
Was const Tag; now const Tag: ElementType.Tag. npmjs.com - Signature changed
Text
Was const Text; now const Text: ElementType.Text. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.