unstale

npm / stylelint-csstree-validator

stylelint-csstree-validator

What changed in stylelint-csstree-validator 2 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.

7 breaking1 deprecations3 new APIs and options1 behavior and defaults3 tooling3 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

stylelint-csstree-validator 43 changes

Breaking changes 3

  • Node.js versions below 18.0 are no longer supported.

    4.0.0release notes

  • Support was migrated to stylelint 16.x–17.x.

    4.0.0release notes

  • Support for stylelint 15.x and below was dropped.

    4.0.0release notes

stylelint-csstree-validator 32 changes

Breaking changes 1

  • Support for Node.js versions below 14.13 was dropped.

    3.0.0release notes

Tooling 1

stylelint-csstree-validator 213 changes

Breaking changes 3

  • At-rule names, preludes, and descriptors are now validated.

    2.0.0release notes

  • Use ignoreProperties in place of the renamed ignore option.

    2.0.0release notes

  • Supported Node.js versions are now ^12.20.0, ^14.13.0, and >=15.0.0.

    2.0.0release notes

Deprecations 1

  • The option still works but now causes a deprecation warning; use ignoreProperties instead.

    2.0.0release notes

New APIs and options 3

  • Extend or alter the at-rule syntax definition dictionary, or disable at-rule validation by passing false.

    2.0.0release notes

  • Specify at-rule names that should not be validated.

    2.0.0release notes

  • Specify syntax extensions such as Sass or Less; CSS is validated by default.

    2.0.0release notes

Behavior and default changes 1

Tooling 2

  • The package is converted to ES modules while continuing to support CommonJS as a dual module.

    2.0.0release notes

  • Adds support for Stylelint 14.0.

    2.0.0release notes

Fixes and other changes 3

  • The option now applies to parse errors as well.

    2.0.0release notes

  • Values containing Less or Sass namespaces are ignored instead of causing a failure.

    2.0.0release notes

  • Declarations with a Less variable reference are now ignored instead of causing a failure.

    2.0.0release notes