Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

postcss-scss

postcss17.6mMIT4.0.9TypeScript support: included

SCSS parser for PostCSS

css, postcss, postcss-syntax, parser, scss, sass

readme

PostCSS SCSS Syntax

A SCSS parser for PostCSS.

This module does not compile SCSS. It simply parses mixins as custom at-rules & variables as properties, so that PostCSS plugins can then transform SCSS source code alongside CSS.

Sponsored by Evil Martians

Docs

Read full docs here.

changelog

Change Log

This project adheres to Semantic Versioning.

4.0.9

  • Fixed \r parsing to fix CVE-2023-44270.

4.0.8

  • Fixed nodes positions (by Ido Rosenthal).

4.0.7

  • Fixed TypeScript support with moduleResulution: bundler (by Avi Vahl).

4.0.6

  • Fixed comma parsing (by Jerome Leclanche).

4.0.5

  • Fixed exports (by @phoenisx).

4.0.4

  • Fixed Custom Properties support.

4.0.3

  • Fixed types (by Daniel Manning).

4.0.2

  • Fixed at-rules with interpolated parsing (by Natalie Weizenbaum).

4.0.1

  • Fixed source start line and column (by Ivan Nikolić).

4.0

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

3.0.5

  • Fixed escape in interpolation (by Jennifer Thakar).

3.0.4

  • Reverted package.exports Node.js 15 fix.

3.0.3

  • Fixed Node.js 15 warning.

3.0.2

  • Added funding links.

3.0.1

  • Fix ES modules support.

3.0

  • Removed support for Node.js 6.x, 8.x, 11.x, and 13.x versions.
  • Moved to PostCSS 8.0.
  • Added ES modules support.
  • Fixed tokenizer API (by Jason Quense).

2.1.1

  • Add *.d.ts files to npm package.

2.1

  • Add TypeScript support (by Natalie Weizenbaum).
  • Reduce npm package size.

2.0

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

1.0.6

  • Fix parsing nested at-rules without semicolon, params, and spaces.
  • Fix parsing string in interpolation in string.

1.0.5

  • Fix parsing url( http://example.com ) with spaces inside.

1.0.4

  • Fix parsing inline cpmments inside selectors.

1.0.3

  • Remove development sections from published package.json.

1.0.2

  • Fix escape sequences parsing (by Oleh Kuchuk).

1.0.1

  • Fix position of multiline url().

1.0

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

0.4.1

  • Fix compatibility with PostCSS 5.2.13.

0.4

  • Add mixed comments support (// width: 5% /* width: 6% */)

0.3.1

  • Fix parsing selector with interpolation in pseudo-class.

0.3

  • Use PostCSS 5.2.

0.2.1

  • Fix nested prop parser for prefixed pseudo.

0.2

  • Add nested properties support (by dryoma).

0.1.9

  • Use PostCSS 5.1.
  • Add source maos to build JS files.
  • Fix interpolation in url().

0.1.8

  • Fix interpolation-in-interpolation parsing.
  • Fix at-rule with interpolation parsing.

0.1.7

  • Fix inline comments with Windows new lines.

0.1.6

  • Parse new lines according W3C CSS syntax specification.

0.1.5

  • Fix package dependencies.

0.1.4

  • Fix CSS syntax error position on unclosed quotes.

0.1.3

  • Fix ES2015 module export.

0.1.2

  • Fix interpolation inside string.

0.1.1

  • Fix url() parsing.

0.1

  • Initial release.