scss-parser icon indicating copy to clipboard operation
scss-parser copied to clipboard

A library to parse/stringify SCSS

Results 13 scss-parser issues
Sort by recently updated
recently updated
newest added

Thanks for all the work so far; looks like there are some issues with the handling of unquoted url values. Input: ```css .x {background: url(http://mysite.example.com/mycursor.png);} ``` Error: ``` Error: Expecting...

Parsing fails at the point when referring to a variable from an imported file with alias. Example SCSS to parse: ``` @use 'variables' as vars; body { background: vars.$background; }...

Fixes #5 The last argument in a @mixin can be an arbitrary keyword argument: https://sass-lang.com/documentation/at-rules/mixin#taking-arbitrary-keyword-arguments This change is the first implementation of an `arbitrary_keyword_argument` token in the token stream. Adds...

cla:missing

In your package.json the value of the license field/property is "SEE LICENSE IN README". This is not a valid SPDX expression. This prevents license compatibility checks from working correctly. Example:...

node: v16.10.0 scss-parser: 1.0.5 Trying to assign a new value to the `value` property of `Node` object, the same way as shown in the example in the README.md file, produces...

```bash npm i 'scss-parser' ``` Then ```javascript let { parse, stringify } = require('scss-parser') // Create an AST from a string of SCSS let ast = parse('.hello { color: $red;...

🚫 not working ```scss @use "~@quiz-ui/styles/mixin"; @use "~@quiz-ui/styles/media"; .button { @include mixin.until(media.$sm) { width: 100%; } } ``` `Error: Selector ("class") expected "identifier" or "interpolation" (1:23)` where `.` is from...

Hey folks, thanks for this library! I just experienced an error. When using the varargs syntax the following error occurs: ``` Error: Selector ("class") expected "identifier" or "interpolation" (1:28) at...

This SCSS compiles, but isn't parsed correcly by `scss-parser`. Final semi-colon is optional in SCSS as in CSS. ```scss .class { color: white; background-color: black } ```

scss-parser throws a parse error when a [mixin using a map for parameters](http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_arguments) (also see https://www.sitepoint.com/sass-multiple-arguments-lists-or-arglist/) is included. Input SCSS: ```scss .test { @include some-mixin(( param1: 2, param2: 100% )...);...

bug