NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3595 most downloaded on npm
A CSS property value parser for use with PostCSS
Latest stable
8.0.0
Last release 6 months ago
18 May 2026
Ships unpredictably
gaps range from 5 weeks to 3.5 years
Some releases are documented
notes for 14 of 42 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
46 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Major rewrite: parser now builds on css-tree for correctness and performance.
css-tree for correctness and performance.exports; no CommonJS output.registerWalkers() and can enable walk* methods like walkWords.require('postcss-values-parser') is no longer supported. Use import.engines).root.walkWords(...) in v6, call registerWalkers(Container) once to add the walk* methods.Word, Numeric, Func, etc., remain.Replace CommonJS with ESM imports.
Register walker helpers before using any walk* APIs:
import { parse, Container, registerWalkers } from 'postcss-values-parser'; registerWalkers(Container);
const root = parse('var(--foo)'); root.walkWords((word) => { if (word.isVariable) console.log(word.value); });
Review docs for updated node shapes and stringifier behavior.
Full Changelog: https://github.com/shellscape/postcss-values-parser/compare/v6.0.2...v7.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: support parsing */ expressions without surrounding spaces
Nothing published for this version
feat!: update PostCSS, use NodeErrorOptions directly from PostCSS types
Nothing published for this version
chore!: upgrade is-url-superb to ^4.0.0
Node v10+ now required
Nothing published for this version
fix: comma separated funcs with no spaces. fixes #91 fix: wonky function names. fixes #92 fix: numeric parsing
fix: comma separated funcs with no spaces. fixes #91 fix: wonky function names. fixes #92 fix: numeric parsing (#109)
feat: add hwb, lab, and lch to functions matching isColor (#111) …
test: add test for #104 test: add tests for #106
Nothing published for this version
Nothing published for this version
## Bugfixes - fix: add time value units
Dependency updates and npm audit update
npm audit updatefix: quater milimeters not detected
fix: toString should stringify node
Nothing published for this version
This is a major rewrite from top to bottom and contains many breaking changes. The rewrite leverages PostCSS itself under the hood. That means it uses…
This is a major rewrite from top to bottom and contains many breaking changes. The rewrite leverages PostCSS itself under the hood. That means it uses the same tokenizer and parser, with some modifications. The last major update to PostCSS provided consumers with an outstanding model to inherit and extend from the base classes to create derived parsers. That means we now benefit from the rock-solid tokenizing in PostCSS without having to reinvent the wheel, and without introducing new bugs.
This also allows for use of the base PostCSS Node classes, without redefining or duplicating their functionality. Tasks like walking nodes, or inspecting Node properties you'd expect in PostCSS are now identical.
Some Node types have changed. Most notably, all characters which can be considered "punctuation" have been moved into the Punctuation Node. Additionally, decorative property names on Nodes have changed in some instances. The full API documentation has more details.
| Old Node Type | New Node Type |
|---|---|
| AtWord | AtWord |
| Colon | Punctuation |
| Comma | Punctuation |
| Comment | Comment |
| Func | Func |
| Numbr | Numeric |
| Operator | Operator |
| Paren | Punctuation |
| Str | Quoted |
| UnicodeRange | UnicodeRange |
| Word | Word |
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix: double slash comments inside Sass maps
Protect constructors from empty opts
The module now only supports Node v6.14.4+. This change follows the Node LTS schedule.
## Features - feat: double slash comments
Nothing published for this version
fix: hexadecimal notation with 4 characters
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.