Socket
Socket
Sign inDemoInstall

dart-sass

Package Overview
Dependencies
12
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
46
10Next

1.15.1

Diff

Changelog

Source

1.15.1

  • Always add quotes to attribute selector values that begin with --, since IE 11 doesn't consider them to be identifiers.
sassbot
published 1.15.0 •

Changelog

Source

1.15.0

  • Add support for passing arguments to @content blocks. See [the proposal][content-args] for details.

  • Add support for the new rgb() and hsl() syntax introduced in CSS Colors Level 4, such as rgb(0% 100% 0% / 0.5). See [the proposal][color-4-rgb-hsl] for more details.

  • Add support for interpolation in at-rule names. See [the proposal][at-rule-interpolation] for details.

  • Add paths from the SASS_PATH environment variable to the load paths in the command-line interface, Dart API, and JS API. These load paths are checked just after the load paths explicitly passed by the user.

  • Allow saturation and lightness values outside of the 0% to 100% range in the hsl() and hsla() functions. They're now clamped to be within that range rather than producing an error if they're outside it.

  • Properly compile selectors that end in escaped whitespace.

JavaScript API

  • Always include the error location in error messages.
sassbot
published 1.14.3 •

Changelog

Source

1.14.3

  • Treat :before, :after, :first-line, and :first-letter as pseudo-elements for the purposes of @extend.

  • When running in compressed mode, remove spaces around combinators in complex selectors, so a selector like a > b is output as a>b.

  • Properly indicate the source span for errors involving binary operation expressions whose operands are parenthesized.

sassbot
published 1.14.2 •

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.
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