sass
1.108.2 · 11 Nov 2026MIT44.5M / weekRepositorynpmAtom feed
1.108.2 is the newest release of 1.x.
In short
1 deprecated3 new1 fixed2 changed
- Deprecated
The
CalculationValue.interpolationfield is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent toCalculationValue.stringexcept that"("and")"will be added to the beginning and end of the string values.
Release note
To install Sass 1.68.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Fix the source spans associated with the
abs-percentdeprecation.
Js api
Non-filesystem importers can now set the
nonCanonicalSchemefield, which declares that one or more URL schemes (without:) will never be used for URLs returned by thecanonicalize()method.Add a
containingUrlfield to thecanonicalize()andfindFileUrl()methods of importers, which is set to the canonical URL of the stylesheet that contains the current load. For filesystem importers, this is always set; for other importers, it's set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer.
Dart API
Add
AsyncImporter.isNonCanonicalScheme, which importers (async or sync) can use to indicate that a certain URL scheme will never be used for URLs returned by thecanonicalize()method.Add
AsyncImporter.containingUrl, which is set during calls to thecanonicalize()method to the canonical URL of the stylesheet that contains the current load. This is set only if the current load has no URL scheme, or if its URL scheme is declared as non-canonical by the importer.
Embedded Sass
- Deprecated
The
CalculationValue.interpolationfield is deprecated and will be removed in a future version. It will no longer be set by the compiler, and if the host sets it it will be treated as equivalent toCalculationValue.stringexcept that"("and")"will be added to the beginning and end of the string values. Properly include TypeScript types in the
sass-embeddedpackage.
See the full changelog for changes in earlier releases.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.