postcss-selector-parser breaking changes
Every breaking API change we have recorded in postcss-selector-parser on npm: 19 breaking changes in 8 versions. Below are its newest 6 versions, removals and renames first, each with its source.
Newest change October 19, 2026

On this page
7.1.2
- Signature changed
Base.toString
Was toString(): string; now toString(options?: StringifyOptions): string. npmjs.com
6.1.5
- Configuration changed
The 6.x line now receives only security fixes, with no features, other bug fixes or type changes. Users who want continued development should move to 7.x; 6.1.5 is published under the legacy-v6 dist-tag so plain npm install resolves to 7.x. github.com
6.1.3
- Behavior changed
insertAfter
Inserting nodes while iterating a container with each now changes the next callback position, so code relying on the old visiting order must be updated. github.com - Behavior changed
insertBefore
Inserting nodes while iterating a container with each now changes the next callback position, so code relying on the old visiting order must be updated. github.com - Behavior changed
prepend
Inserting nodes while iterating a container with each now changes the next callback position, so code relying on the old visiting order must be updated. github.com - Signature changed
Base.toString
Was toString(): string; now toString(options?: StringifyOptions): string. npmjs.com
6.1.1
- Signature changed
id
Was function id(opts: any): any; now function id(opts: any): Identifier. npmjs.com - Signature changed
nesting
Was function nesting(opts: any): any; now function nesting(opts?: any): Nesting. npmjs.com - Signature changed
universal
Was function universal(opts?: NamespaceOptions): any; now function universal(opts?: NamespaceOptions): Universal. npmjs.com
6.0.16
- Signature changed
Container.each
Was each(callback: (node: Child) => boolean | void): boolean | undefined; now each(callback: (node: Child, index: number) => boolean | void): boolean | undefined. npmjs.com - Signature changed
Container.walk
Was walk(callback: (node: Node) => boolean | void): boolean | undefined; now walk(callback: (node: Node, index: number) => boolean | void): boolean | undefined. npmjs.com
6.0.15
- Signature changed
Base.next
Was next(): Node; now next(): Node | undefined. npmjs.com - Signature changed
Base.prev
Was prev(): Node; now prev(): Node | undefined. 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, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous management.
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/mcp