Socket
Socket
Sign inDemoInstall

sass

Package Overview
Dependencies
17
Maintainers
4
Versions
250
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
2022
25Next

1.14.2

Diff

Changelog

Source

1.14.2

  • Fix a bug where loading the same stylesheet from two different import paths could cause its imports to fail to resolve.

  • Properly escape U+001F INFORMATION SEPARATOR ONE in unquoted strings.

Command-Line Interface

  • Don't crash when using @debug in a stylesheet passed on standard input.

Dart API

  • AsyncImporter.canonicalize() and Importer.canonicalize() must now return absolute URLs. Relative URLs are still supported, but are deprecated and will be removed in a future release.
sassbot
published 1.14.1 •

Changelog

Source

1.14.1

  • Canonicalize escaped digits at the beginning of identifiers as hex escapes.

  • Properly parse property declarations that are both in content blocks and written after content blocks.

Command-Line Interface

  • Print more readable paths in --watch mode.
sassbot
published 1.14.0 •

Changelog

Source

1.14.0

BREAKING CHANGE

In accordance with our [compatibility policy][], breaking changes made for CSS compatibility reasons are released as minor version revision after a three-month deprecation period.

  • Tokens such as #abcd that are now interpreted as hex colors with alpha channels, rather than unquoted ID strings.
sassbot
published 1.13.4 •

Changelog

Source

1.13.4

Node JS

  • Tweak JS compilation options to substantially improve performance.
sassbot
published 1.13.3 •

Changelog

Source

1.13.3

  • Properly generate source maps for stylesheets that emit @charset declarations.

Command-Line Interface

  • Don't error out when passing --embed-source-maps along with --embed-sources for stylesheets that contain non-ASCII characters.
sassbot
published 1.13.2 •

Changelog

Source

1.13.2

  • Properly parse :nth-child() and :nth-last-child() selectors with whitespace around the argument.

  • Don't emit extra whitespace in the arguments for :nth-child() and :nth-last-child() selectors.

  • Fix support for CSS hacks in plain CSS mode.

sassbot
published 1.13.1 •

Changelog

Source

1.13.1

  • Allow an IE-style single equals operator in plain CSS imports.
sassbot
published 1.13.0 •

Changelog

Source

1.13.0

  • Allow @extend to be used with multiple comma-separated simple selectors. This is already supported by other implementations, but fell through the cracks for Dart Sass until now.

  • Don't crash when a media rule contains another media rule followed by a style rule.

sassbot
published 1.12.0 •

Changelog

Source

1.12.0

Dart API

  • Add a SassException type that provides information about Sass compilation failures.

Node JS API

  • Remove the source map comment from the compiled JS. We don't ship with the source map, so this pointed to nothing.
sassbot
published 1.11.0 •

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.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc