A temporary fork of gonzales-pe, version 4.2.3, created specifically for sass-lint. It is a CSS parser that supports SCSS, Sass, and LESS syntaxes, producing a parse tree that can be traversed, modified, and serialized back to CSS. The package is unmaintained and intended only as a transitional dependency for sass-lint; newer projects should use postcss-scss or postcss-less instead. The release cadence is effectively frozen.
npm install gonzales-pe-slNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to require the package, parse SCSS with options, traverse the tree recursively finding selectors, and convert back to string.
Replace with postcss-scss (npm install postcss-scss) or postcss-less, and use postcss's AST API.
Use require() as shown in the quickstart, or consider switching to a modern parser.
Refer to the original gonzales-pe docs for node types; for TypeScript projects, consider using @types/gonzales-pe (if available) or switch to postcss.
Migrate to a maintained alternative like postcss-scss or gonzales-pe-dev (not recommended).
npm install gonzales-pe-sl
Change import gonzales from 'gonzales-pe-sl' to const gonzales = require('gonzales-pe-sl');Ensure you pass the correct syntax option (e.g., {syntax: 'scss'}) and valid CSS string.Simplify the input or switch to a more modern parser like postcss-scss.
No dependency data recorded yet.