npm / css-select
css-select
What changed in css-select 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
8 breaking2 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcss-select 710 changes
Breaking changes 8
The deprecated aliases re-export was removed.
The deprecated _compileToken export was removed; use _compileUnsafe instead.
The :enabled pseudo-class now only matches form elements.
The deprecated filters re-export was removed.
The minimum supported Node.js version is now 20.19.0.
The ./package.json subpath export was removed.
The deprecated pseudos re-export was removed; use the pseudos option instead.
The package now sets "type": "module"; CommonJS require() is only supported in modern environments.
New APIs and options 2
The :lang() pseudo-class is now supported.
The nth-* pseudo-classes now support the of clause, such as :nth-last-child(3n+2 of .a).