Socket
Socket
Sign inDemoInstall

sass

Package Overview
Dependencies
Maintainers
4
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass - npm Package Versions

1
26

1.20.3

Diff

Changelog

Source

1.20.3

  • No user-visible changes.
sassbot
published 1.20.1 •

Changelog

Source

1.20.1

  • No user-visible changes.
sassbot
published 1.19.0 •

Changelog

Source

1.19.0

  • Allow ! in url()s without quotes.

Dart API

  • FilesystemImporter now doesn't change its effective directory if the working directory changes, even if it's passed a relative argument.
sassbot
published 1.18.0 •

Changelog

Source

1.18.0

  • Avoid recursively listing directories when finding the canonical name of a file on case-insensitive filesystems.

  • Fix importing files relative to package:-imported files.

  • Don't claim that "package:" URLs aren't supported when they actually are.

Command-Line Interface

  • Add a --no-charset flag. If this flag is set, Sass will never emit a @charset declaration or a byte-order mark, even if the CSS file contains non-ASCII characters.

Dart API

  • Add a charset option to compile(), compileString(), compileAsync() and compileStringAsync(). If this option is set to false, Sass will never emit a @charset declaration or a byte-order mark, even if the CSS file contains non-ASCII characters.

  • Explicitly require that importers' canonicalize() methods be able to take paths relative to their outputs as valid inputs. This isn't considered a breaking change because the importer infrastructure already required this in practice.

sassbot
published 1.17.4 •

Changelog

Source

1.17.4

  • Consistently parse U+000C FORM FEED, U+000D CARRIAGE RETURN, and sequences of U+000D CARRIAGE RETURN followed by U+000A LINE FEED as individual newlines.

JavaScript API

  • Add a sass.types.Error constructor as an alias for Error. This makes our custom function API compatible with Node Sass's.
sassbot
published 1.17.3 •

Changelog

Source

1.17.3

  • Fix an edge case where slash-separated numbers were written to the stylesheet with a slash even when they're used as part of another arithmetic operation, such as being concatenated with a string.

  • Don't put style rules inside empty @keyframes selectors.

sassbot
published 1.17.2 •

Changelog

Source

1.17.2

  • Deprecate !global variable assignments to variables that aren't yet defined. This deprecation message can be avoided by assigning variables to null at the top level before globally assigning values to them.

Dart API

  • Explicitly mark classes that were never intended to be subclassed or implemented as "sealed".
sassbot
published 1.17.1 •

Changelog

Source

1.17.1

  • Properly quote attribute selector values that start with identifiers but end with a non-identifier character.
sassbot
published 1.17.0 •

Changelog

Source

1.17.0

  • Improve error output, particularly for errors that cover multiple lines.

  • Improve source locations for some parse errors. Rather than pointing to the next token that wasn't what was expected, they point after the previous token. This should generally provide more context for the syntax error.

  • Produce a better error message for style rules that are missing the closing }.

  • Produce a better error message for style rules and property declarations within @function rules.

Command-Line Interface

  • Passing a directory on the command line now compiles all Sass source files in the directory to CSS files in the same directory, as though dir:dir were passed instead of just dir.

  • The new error output uses non-ASCII Unicode characters by default. Add a --no-unicode flag to disable this.

sassbot
published 1.16.1 •

Changelog

Source

1.16.1

  • Fix a performance bug where stylesheet evaluation could take a very long time when many binary operators were used in sequence.
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc