postcss-value-parser

Transforms css values into the tree

MIT License

Downloads
169.6M
Stars
142
Committers
15
postcss-value-parser - Latest Release

Published by alexander-akait almost 3 years ago

4.2.0 (2021-11-29)

Features

  • report end indices for nodes
postcss-value-parser - v4.1.0

Published by alexander-akait over 4 years ago

4.1.0 (2020-04-28)

Features

  • apply custom stringification to values within functions

Fixes

  • (types) improve types
postcss-value-parser - v4.0.3

Published by alexander-akait over 4 years ago

4.0.3 (2020-02-18)

Fixes

  • (types) stringify accepts a single Node as well
postcss-value-parser - v4.0.2

Published by alexander-akait about 5 years ago

4.0.2 (2019-08-07)

Fixes

  • unit helper doesn't return invalid number
postcss-value-parser - v4.0.1

Published by alexander-akait about 5 years ago

4.0.1 (2019-08-05)

Fixes

  • scientific notation with + and - (i.e. 10.1e-1px)
  • doesn't lose spaces when division used in calc function
postcss-value-parser - v4.0.0

Published by alexander-akait over 5 years ago

4.0.0 (2019-06-04)

Fixes

  • Respect whitespace in empty url function
  • Invalidate values starting with 'e' + digit

Features

  • Allow certain calc() operations to be parsed according to the spec
  • New unicode range node

BREAKING CHANGE

  • minimum supported node version is 8
postcss-value-parser - Little Monster

Published by TrySound over 8 years ago

  • Add custom stringify feature
postcss-value-parser - Grand Minion

Published by TrySound almost 9 years ago

  • Add comment node support (/* ... */).
  • Comment is not parsed in url functions.
  • Fix unclosed property processing in stringify function

Thanks to @MohammadYounes for this.

postcss-value-parser - Brave new world

Published by TrySound almost 9 years ago

Thanks a lot to @davidtheclark for new documentation.

postcss-value-parser - Stark

Published by TrySound about 9 years ago

  • Added sourceIndex prop for every node
postcss-value-parser - Leprechaun

Published by TrySound about 9 years ago

Changelog

  • Function node contains before and after properties with spaces around arguments
  • Removed trim helper
  • walk no longer supports a filter as the first argument
  • Url function parses differently unlike generic functions
  • Added walk helper
  • Added many tests (more here)