sass
1.108.2 · 11 Nov 2026MIT44.8M / weekRepositorynpmAtom feed
Upgrading sass From 1.44.0 to 1.45.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
4 other lines we could not sort, mostly version bumps
- 1.45.0
compile()andcompileAsync()functions that take Sass file paths and return the result of compiling them to CSS. The async function returns aPromiserather than using a callback-based API. - 1.45.0
compileString()andcompileStringAsync()functions that take a string of Sass source and compiles it to CSS. As above, the async function returns aPromise. - 1.45.0
A new importer API that more closely matches the Sass specification's logic for resolving loads. This makes it much easier for Sass to cache information across
@importand@userules, which substantially improves performance for applications that rely heavily on repeated@imports. - 1.45.0
A new custom function API, including much more usable JS representations of Sass value types complete with type-assertion functions, easy map and list lookups, and compatibility with the [
immutable] package. Unlike in the legacy API, function callbacks now take one argument which contains an array of Sass values (rather than taking a separate JS argument for each Sass argument).
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.