Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sass

Package Overview
Dependencies
Maintainers
4
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass - npm Package Versions

1
28

1.11.0

Diff

Changelog

Source

1.11.0

  • Add support for importing plain CSS files. They can only be imported without an extension—for example, @import "style" will import style.css. Plain CSS files imported this way only support standard CSS features, not Sass extensions.

    See [the proposal][css-import] for details.

  • Add support for CSS's min() and max() [math functions][]. A min() and max() call will continue to be parsed as a Sass function if it involves any Sass-specific features like variables or function calls, but if it's valid plain CSS (optionally with interpolation) it will be emitted as plain CSS instead.

    See [the proposal][css-min-max] for details.

  • Add support for range-format media features like (10px < width < 100px). See [the proposal][media-ranges] for details.

  • Normalize escape codes in identifiers so that, for example, éclair and \E9clair are parsed to the same value. See [the proposal][identifier-escapes] for details.

  • Don't choke on a [byte-order mark][] at the beginning of a document when running in JavaScript.

Command-Line Interface

  • The --watch command now continues to recompile a file after a syntax error has been detected.

Dart API

  • Added a Syntax enum to indicate syntaxes for Sass source files.

  • The compile() and compileAsync() functions now parse files with the .css extension as plain CSS.

  • Added a syntax parameter to compileString() and compileStringAsync().

  • Deprecated the indented parameter to compileString() and compileStringAsync().

  • Added a syntax parameter to new ImporterResult() and a ImporterResult.syntax getter to set the syntax of the source file.

  • Deprecated the indented parameter to new ImporterResult() and the ImporterResult.indented getter in favor of syntax.

sassbot
published 1.10.4 •

Changelog

Source

1.10.4

Command-Line Interface

  • Fix a Homebrew installation failure.
sassbot
published 1.10.3 •

Changelog

Source

1.10.3

Command-Line Interface

  • Run the Chocolatey script with the correct arguments so it doesn't crash.
sassbot
published 1.10.2 •

Changelog

Source

1.10.2

  • No user-visible changes.
sassbot
published 1.10.1 •

Changelog

Source

1.10.1

Node JS API

  • Don't crash when passing both includePaths and importer.
sassbot
published 1.10.0 •

Changelog

Source

1.10.0

  • When two @media rules' queries can't be merged, leave nested rules in place for browsers that support them.

  • Fix a typo in an error message.

nex3
published 1.9.2 •

Changelog

Source

1.9.2

Node JS API

  • Produce more readable filesystem errors, such as when a file doesn't exist.
sassbot
published 1.9.1 •

Changelog

Source

1.9.1

Command-Line Interface

  • Don't emit ANSI codes to Windows terminals that don't support them.

  • Fix a bug where --watch crashed on Mac OS.

sassbot
published 1.9.0 •

Changelog

Source

1.9.0

Node API

  • Add support for new sass.types.Color(argb) for creating colors from ARGB hex numbers. This was overlooked when initially adding support for Node Sass's JavaScript API.
sassbot
published 1.8.0 •

Changelog

Source

1.8.0

Command-Line Interface

  • Add a --poll flag to make --watch mode repeatedly check the filesystem for updates rather than relying on native filesystem notifications.

  • Add a --stop-on-error flag to stop compiling additional files once an error is encountered.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc