@types/css-tree breaking changes
@types/css-tree 3.2.0 (August 3, 2026) is its newest release with breaking changes, 26 of them. The first: Removed DefinitionSyntax.syntaxError. Every breaking API change we have recorded in @types/css-tree on npm: 32 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.2.0, released August 3, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@types/css-tree 3.2.0 breaking changes
- Removed
DefinitionSyntax.syntaxError
DefinitionSyntax.syntaxError was removed in @types/css-tree 3.2.0 npmjs.com - Removed
GenerateHandlers.children
GenerateHandlers.children was removed in @types/css-tree 3.2.0 npmjs.com - Removed
GenerateHandlers.chunk
GenerateHandlers.chunk was removed in @types/css-tree 3.2.0 npmjs.com - Removed
MediaFeature
MediaFeature was removed in @types/css-tree 3.2.0 npmjs.com - Removed
MediaQuery.children
MediaQuery.children was removed in @types/css-tree 3.2.0 npmjs.com - Removed
MediaQueryPlain.children
MediaQueryPlain.children was removed in @types/css-tree 3.2.0 npmjs.com - Removed
SyntaxParseError.input
SyntaxParseError.input was removed in @types/css-tree 3.2.0 npmjs.com - Removed
SyntaxParseError.rawMessage
SyntaxParseError.rawMessage was removed in @types/css-tree 3.2.0 npmjs.com - Signature changed
CssNode
Was type CssNode = | AnPlusB | Atrule | AtrulePrelude | AttributeSelector | Block | Brackets | CDC | CDO | ClassSelector | Combinator | Comment | Declaration | DeclarationList | Dimension | FunctionNode | Hash | IdSelector | Identifier |... npmjs.com - Signature changed
CssNodePlain
Was type CssNodePlain = | AnPlusB | AtrulePlain | AtrulePreludePlain | AttributeSelector | BlockPlain | BracketsPlain | CDC | CDO | ClassSelector | Combinator | Comment | DeclarationPlain | DeclarationListPlain | Dimension |... npmjs.com - Signature changed
DefinitionSyntax.generate
Was generate(node: DSNode, options?: DSGenerateOptions): string; now generate(node: DSNode, options?: DSGenerateOptions | DSGenerateDecorateFn): string. npmjs.com - Signature changed
DSGenerateOptions.decorate
Was decorate?: ((result: string, node: DSNode) => void) | undefined; now decorate?: DSGenerateDecorateFn | undefined. npmjs.com - Signature changed
DSNode
Was type DSNode = | DSNodeAtWord | DSNodeComma | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeMultiplier | DSNodeProperty | DSNodeString | DSNodeToken | DSNodeType; now type DSNode = | DSNodeAtWord | DSNodeBoolean | DSNodeComma |... npmjs.com - Signature changed
DSNodeMultiplied
Was type DSNodeMultiplied = | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeProperty | DSNodeString | DSNodeType; now type DSNodeMultiplied = | DSNodeFunction | DSNodeGroup | DSNodeKeyword | DSNodeProperty | DSNodeString |... npmjs.com - Signature changed
fork
Was function fork(extension: {atrules?: Record<string, string> | undefined; properties?: Record<string, string> | undefined; types?: Record<string, string> | undefined; cssWideKeywords?: Array<string> | undefined;}): {lexer: Lexer}; now... npmjs.com - Signature changed
GenerateHandlers.node
Was node: (node: CssNode) => void; now node(node: CssNode): void. npmjs.com - Signature changed
GenerateHandlers.result
Was result: () => string; now result(): string. npmjs.com - Signature changed
List.insert
Was insert(item: ListItem<TData>, before: ListItem<TData>): List<TData>; now insert(item: ListItem<TData>, before?: ListItem<TData> | null): List<TData>. npmjs.com - Signature changed
List.pop
Was pop(): ListItem<TData> | undefined; now pop(): ListItem<TData> | null. npmjs.com - Signature changed
List.replace
Was replace(oldItem: ListItem<TData>, newItemOrList: List<TData> | ListItem<TData>): List<TData>; now replace(oldItem: ListItem<TData>, newItemOrList: List<TData> | ListItem<TData>): void. npmjs.com - Signature changed
List.shift
Was shift(): ListItem<TData> | undefined; now shift(): ListItem<TData> | null. npmjs.com - Signature changed
Ratio.left
Was left: string; now left: NumberNode | FunctionNode. npmjs.com - Signature changed
Ratio.right
Was right: string; now right: NumberNode | FunctionNode | null. npmjs.com - Signature changed
SyntaxMatchError
Was class SyntaxMatchError extends SyntaxError; now interface SyntaxMatchError extends SyntaxError. npmjs.com - Signature changed
SyntaxReferenceError
Was class SyntaxReferenceError extends SyntaxError; now interface SyntaxReferenceError extends SyntaxError. npmjs.com - Signature changed
WalkOptions
Was type WalkOptions = | WalkOptionsVisit<AnPlusB> | WalkOptionsVisit<Atrule> | WalkOptionsVisit<AtrulePrelude> | WalkOptionsVisit<AttributeSelector> | WalkOptionsVisit<Block> | WalkOptionsVisit<Brackets> | WalkOptionsVisit<CDC> |... npmjs.com
@types/css-tree 2.0.0 breaking changes
- Removed
List.each
List.each was removed in @types/css-tree 2.0.0 npmjs.com - Removed
List.eachRight
List.eachRight was removed in @types/css-tree 2.0.0 npmjs.com - Removed
List.getSize
List.getSize was removed in @types/css-tree 2.0.0 npmjs.com - Signature changed
List.first
Was first(): TData | null; now readonly first: TData|null. npmjs.com - Signature changed
List.isEmpty
Was isEmpty(): boolean; now readonly isEmpty: boolean. npmjs.com - Signature changed
List.last
Was last(): TData | null; now readonly last: TData|null. npmjs.com
Related packages
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.