Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stylelint-csstree-validator

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylelint-csstree-validator - npm Package Versions

23

3.0.0

Diff

Changelog

Source

3.0.0 (June 12, 2023)

  • Added support for stylelint 15 (#53)
  • Dropped support for Node.js below 14.13
lahmatiy
published 2.1.0 •

Changelog

Source

2.1.0 (January 29, 2023)

  • Bumped css-tree to ^2.3.1
  • Extended ignoreAtrules and ignoreProperties options to accept RegExp patterns (#19, #45)
  • Fixed Sass's @else at-rule to allow have no a prelude (#46)
  • Changed at-rule prelude validation to emit no warnings when a prelude contains Sass/Less syntax extensions (#44)
lahmatiy
published 2.0.0 •

Changelog

Source

2.0.0 (December 14, 2021)

  • Added syntaxExtensions option to specify syntax extensions, i.e. sass or/and less. For now the plugin validates CSS only by default
  • Added at-rule validation for name, prelude and descriptors
  • Added atrules option to extend or alter at-rule syntax definition dictionary or disable at-rule validation when false is passed as a value for the option
  • Added ignoreAtrules option to specify at-rule names which should not be validated
  • Used isStandardSyntax*() helpers from stylelint to reduce failures for non-standard syntax (e.g. Less or Sass)
  • Added support for Less & Sass namespaces, a value with such constructions are ignored now instead of failure (#39)
  • Added a column to mismatch error details
  • Renamed ignore option into ignoreProperties to be more clear what is ignoring; ignore option is still work but cause to a deprecation warning
  • Fixed ignoreValue option to apply for parse errors either (#43)
  • Fixed failure on a declaration with a Less variable reference, i.e. ignore such declarations for now
  • Package
    • Changed supported versions of Node.js to ^12.20.0, ^14.13.0 and >=15.0.0
    • Converted to ES modules. However, CommonJS is supported as well (dual module)
    • Bumped css-tree to 2.0 and latest mdn-data dictionaries
lahmatiy
published 1.9.0 •

Changelog

Source

1.9.0 (October 27, 2020)

  • Bumped CSSTree to ^1.0.0 (mdn-data is bumped to 2.0.12)
  • Added properties and types options to extend syntax dictionary
  • Added ignoreValue option (#14)
lahmatiy
published 1.8.0 •

Changelog

Source

1.8.0 (January 24, 2020)

  • Added support for stylelint 13 (#25, thanks to @limonte)
lahmatiy
published 1.7.0 •

Changelog

Source

1.7.0 (November 25, 2019)

  • Added support for stylelint 12 (#24, #23, thanks to @limonte & @gforcada)
  • Bumped CSSTree to 1.0.0-alpha.38 (mdn-data is bumped to 2.0.6)
lahmatiy
published 1.6.1 •

Changelog

Source

1.6.1 (October 6, 2019)

  • Fixed regression after CSSTree bump to 1.0.0-alpha.34
lahmatiy
published 1.6.0 •

Changelog

Source

1.6.0 (October 6, 2019)

  • Added support for stylelint 11 (#21, thanks to @ntwb)
  • Bumped CSSTree to 1.0.0-alpha.34
lahmatiy
published 1.5.2 •

Changelog

Source

1.5.2 (July 11, 2019)

lahmatiy
published 1.5.1 •

Changelog

Source

1.5.1 (July 11, 2019)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc