shellscape/postcss-values-parser

Parser chokes on non-ASCII characters

Closed this issue · 0 comments

nex3 commented
  • Operating System (or Browser): RunKit
  • Node Version: 13
  • postcss-values-parser Version: 3.0.5

How Do We Reproduce?

https://runkit.com/embed/z39uidmuaaa3

var {parse} = require("postcss-values-parser")

parse("☃")

Expected Behavior

All non-ASCII characters are valid identifiers according to the CSS spec. It should parse this like any other word.

Actual Behavior

The parser crashes with "unknown word".