Detalhes do pacote

postcss-safe-parser

postcss29.3mMIT7.0.1

Fault-tolerant CSS parser for PostCSS

css, postcss, postcss-syntax, parser

readme (leia-me)

PostCSS Safe Parser

A fault-tolerant CSS parser for PostCSS, which will find & fix syntax errors, capable of parsing any input. It is useful for:

  • Parse legacy code with many hacks. For example, it can parse all examples from Browserhacks.
  • Works with demo tools with live input like Autoprefixer demo.

Sponsored by Evil Martians

Docs

Read full docs here.

changelog (log de mudanças)

Change Log

This project adheres to Semantic Versioning.

7.0.1

  • Fixed JSON inside CSS support (by @dengelke).

7.0

  • Removed Node.js 16, 14, and 12 support.
  • Added Root#source.end.

6.0

  • Removed Node.js 10 support.
  • Moved postcss to peerDependencies.

5.0.2

  • Added funding links.

5.0.1

  • Fixed parsing missed semicolon.

5.0

  • Removed support for Node.js 6.x, 8.x, 11.x, and 13.x versions.
  • Moved to PostCSS 8.0.

4.0.2

  • Fix parsing :;.

4.0.1

  • Remove development file from npm package.

4.0

  • Remove Node.js 9 and Node.js 4 support.
  • Remove IE and “dead” browsers from Babel.
  • Use PostCSS 7.0.

3.0.1

  • Fix parsing IE filter with missed semicolon.

3.0

  • Use PostCSS 6.0.
  • Use babel-preset-env.

2.0.1

  • Do not fall on colon instead of semicolon in the declaration end.

2.0

  • Use PostCSS 5.2 core tokenizer.

1.0.7

  • Parse new lines according W3C CSS syntax specification.

1.0.6

  • Fix package dependencies.

1.0.5

  • Fix CSS syntax error position on unclosed quotes.

1.0.4

  • Fix wrong main in package.json.

1.0.3

  • Remove Babel from dependencies (by Jonny Buchanan).

1.0.2

  • Clean code for PostCSS 5.0.13 internal changes.
  • Use Babel 6.

1.0.1

  • Fix url() parsing.

1.0

  • Initial release from PostCSS sources.