unstale

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 init

@unstale/cli on npm

css-select 710 changes

Breaking changes 8

  • The deprecated aliases re-export was removed.

    7.0.0release notes

  • The deprecated _compileToken export was removed; use _compileUnsafe instead.

    7.0.0release notes

  • The :enabled pseudo-class now only matches form elements.

    7.0.0release notes

  • The deprecated filters re-export was removed.

    7.0.0release notes

  • The minimum supported Node.js version is now 20.19.0.

    7.0.0release notes

  • The ./package.json subpath export was removed.

    7.0.0release notes

  • The deprecated pseudos re-export was removed; use the pseudos option instead.

    7.0.0release notes

  • The package now sets "type": "module"; CommonJS require() is only supported in modern environments.

    7.0.0release notes

New APIs and options 2

  • The :lang() pseudo-class is now supported.

    7.0.0release notes

  • The nth-* pseudo-classes now support the of clause, such as :nth-last-child(3n+2 of .a).

    7.0.0release notes