Packages

sass

1.108.2 · 11 Nov 2026MIT44.8M / weekRepositorynpmAtom feed

Your version

1.46.0

6 Jan 2022Where it was published

1.108.2 is the newest release of 1.x.

In short

3 new2 changed

Release note

To install Sass 1.46.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

Js api

  • Potentially breaking bug fix: Match the specification of the new JS API by passing undefined rather than null to Logger.warn() for an unset span.

TypeScript Declarations

  • Add a declaration for the LegacyPluginThis.options.context field.

  • Update the definition of LegacyAsyncFunction to include explicit definitions with zero through six arguments before the done parameter. This makes it possible for TypeScript users to pass in callbacks that take a specific number of arguments, rather than having to declare a callback that takes an arbitrary number.

  • Add a declaration for types.Error, a legacy API class that can be returned by asynchronous functions to signal asynchronous errors.

  • Add a LegacyAsyncFunctionDone type for the done callback that's passed to LegacyAsyncFunction.

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.