@asamuzakjp/dom-selector breaking changes
@asamuzakjp/dom-selector 9.2.0 (September 18, 2026) is its newest release with breaking changes, 5 of them. The first: Adds error field to check results and freezes default subjects in @asamuzakjp/dom-selector 9.2.0. Every breaking API change we have recorded in @asamuzakjp/dom-selector on npm: 21 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 10.0.9, released December 5, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@asamuzakjp/dom-selector 9.2.0 breaking changes
- Behavior changed
Check results now include an error field. DEFAULT_SUBJECT is frozen and subjects returned are copies, so code that mutates them may need changes. github.com - Signature changed
CheckResult
Was type CheckResult = {match: boolean; pseudoElement: string | null; ast: import('css-tree').CssNode | null;}; now type CheckResult = {match: boolean; pseudoElement: string | null; ast: import('css-tree').CssNode | null; error... npmjs.com - Signature changed
DOMSelector.check
Was check(selector: string, node: Element, opt?: {requireAst?: boolean;}): CheckResult | null; now check(selector: string, node: Element, opt?: {requireAst?: boolean;}): CheckResult. npmjs.com - Signature changed
DOMSelector.constructor
Was constructor(window: Window, document: Document, opt?: {cacheSize?: number; idlUtils?: object;}); now constructor(window: Window, document: Document, opt?: {cacheSize?: number; idlUtils?: object; maxLength?: number;}). npmjs.com - Signature changed
DOMSelector.extractSubjects
Was extractSubjects(selector: string, caseSensitive?: boolean): Array<{id: string | null; className: string | null; tag: string | null;}>; now extractSubjects(selector: string, caseSensitive?: boolean): Array<SelectorSubject>. npmjs.com
@asamuzakjp/dom-selector 9.1.3 breaking changes
- Signature changed
DOMSelector.closest
Was closest(selector: string, node: Element, opt?: object): Element | null; now closest(selector: string, node: Element, opt?: UserOptions): Element | null. npmjs.com - Signature changed
DOMSelector.constructor
Was constructor(window: Window, document: Document, opt?: object); now constructor(window: Window, document: Document, opt?: {cacheSize?: number; idlUtils?: object;}). npmjs.com - Signature changed
DOMSelector.matches
Was matches(selector: string, node: Element, opt?: object): boolean; now matches(selector: string, node: Element, opt?: UserOptions): boolean. npmjs.com - Signature changed
DOMSelector.querySelector
Was querySelector(selector: string, node: Document | DocumentFragment | Element, opt?: object): Element | null; now querySelector(selector: string, node: Document | DocumentFragment | Element, opt?: UserOptions): Element | null. npmjs.com - Signature changed
DOMSelector.querySelectorAll
Was querySelectorAll(selector: string, node: Document | DocumentFragment | Element, opt?: object): Array<Element>; now querySelectorAll(selector: string, node: Document | DocumentFragment | Element, opt?: UserOptions): Array<Element>. npmjs.com
@asamuzakjp/dom-selector 9.1.0 breaking changes
- Signature changed
CheckResult
Was type CheckResult = {match: boolean; pseudoElement: string | null; ast: object | null;}; now type CheckResult = {match: boolean; pseudoElement: string | null; ast: import('css-tree').CssNode | null;}. npmjs.com - Signature changed
CheckResult.ast
Was ast: object | null; now ast: import('css-tree').CssNode | null. npmjs.com - Signature changed
DOMSelector.check
Was check: (selector: string, node: Element, opt?: object) => CheckResult; now check(selector: string, node: Element, opt?: {requireAst?: boolean;}): CheckResult | null. npmjs.com - Signature changed
DOMSelector.clear
Was clear: (clearAll?: boolean) => void; now clear(clearAll?: boolean): void. npmjs.com - Signature changed
DOMSelector.closest
Was closest: (selector: string, node: Element, opt?: object) => Element | null; now closest(selector: string, node: Element, opt?: object): Element | null. npmjs.com - Signature changed
DOMSelector.extractSubjects
Was extractSubjects: (selector: string, caseSensitive?: boolean) => Array<{id: string | null; className: string | null; tag: string | null;}>; now extractSubjects(selector: string, caseSensitive?: boolean): Array<{id: string | null... npmjs.com - Signature changed
DOMSelector.matches
Was matches: (selector: string, node: Element, opt?: object) => boolean; now matches(selector: string, node: Element, opt?: object): boolean. npmjs.com - Signature changed
DOMSelector.querySelector
Was querySelector: (selector: string, node: Document | DocumentFragment | Element, opt?: object) => Element | null; now querySelector(selector: string, node: Document | DocumentFragment | Element, opt?: object): Element | null. npmjs.com - Signature changed
DOMSelector.querySelectorAll
Was querySelectorAll: (selector: string, node: Document | DocumentFragment | Element, opt?: object) => Array<Element>; now querySelectorAll(selector: string, node: Document | DocumentFragment | Element, opt?: object): Array<Element>. npmjs.com - Signature changed
DOMSelector.supports
Was supports: (selector: string) => boolean; now supports(selector: string): boolean. npmjs.com
@asamuzakjp/dom-selector 9.0.1 breaking changes
- Behavior changed
HTML attribute names are lowercased according to flags, which may change how attribute selectors match existing markup. Check selectors that depend on attribute name casing. github.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.