New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csstree-validator

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csstree-validator - npm Package Versions

23

4.0.1

Diff

Changelog

Source

4.0.1 (October 11, 2024)

  • Fixed location properties on validation errors; all errors (excluding parse errors) now include offset, start, end, and loc properties
lahmatiy
published 4.0.0 •

Changelog

Source

4.0.0 (October 10, 2024)

  • Bumped csstree to ^3.0.0
  • Added default reporters into bundle entry points
  • Fixed the resolution of a path to a reporter by employing enhanced-resolve, which now considers the exports field in package.json
  • Fixed package.json for bundling for browser environments
lahmatiy
published 3.0.0 •

Changelog

Source

3.0.0 (December 13, 2021)

  • Added custom reporters support in CLI, e.g. csstree-validator --reporter path/to/reporter.js or csstree-validator --reporter reporter-package
  • Added Symbol.iterator for validateString(), validateDictionary(), validateFile(), validatePathList() and validatePath() result value, i.e. it now can be used with for ... of for example for (const [filename, errors] of result) ...
  • Bumped csstree to 2.0
  • 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)
    • Added bundle dist/csstree-validator.esm.js as ES module
lahmatiy
published 2.0.1 •

Changelog

Source

2.0.1 (March 31, 2021)

  • Fixed wrong require() in CLI that causes to crash
  • Bumped csstree to 1.1.3 to fix the issue with parsing that causes to a failure on a value with function/brackets and !important (#18)
lahmatiy
published 2.0.0 •

Changelog

Source

2.0.0 (November 18, 2020)

  • Droped support for Nodejs < 8
  • Bumped csstree to 1.1.1
  • CLI exits with code 1 and outputs messages to stderr when errors (#12)
  • Added built version for browsers: dist/csstree-validator.js (#11)
  • Added at-rule validation for name, prelude and descriptor
  • Added validateAtrule, validateAtrulePrelude, validateAtruleDescriptor, validateRule and validateDeclaration methods
lahmatiy
published 1.6.0 •

Changelog

Source

1.6.0 (October 27, 2020)

lahmatiy
published 1.5.1 •

Changelog

Source

1.5.1 (October 7, 2019)

lahmatiy
published 1.5.0 •

Changelog

Source

1.5.0 (July 11, 2019)

lahmatiy
published 1.4.0 •

Changelog

Source

1.4.0 (May 30, 2018)

lahmatiy
published 1.3.1 •

Changelog

Source

1.3.1 (February 19, 2018)

  • Updated csstree to 1.0.0-alpha.28
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