Socket
Socket
Sign inDemoInstall

dart-sass

Package Overview
Dependencies
15
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
10Next

1.22.4

Diff

Changelog

Source

1.22.4

  • Fix a bug where at-rules imported from within a style rule would appear within that style rule rather than at the root of the document.
sassbot
published 1.22.3 •

Changelog

Source

1.22.3

  • Potentially breaking bug fix: The argument name for the saturate() function is now $amount, to match the name in LibSass and originally in Ruby Sass.

  • Potentially breaking bug fix: The invert() function now properly returns #808080 when passed $weight: 50%. This matches the behavior in LibSass and originally in Ruby Sass, as well as being consistent with other nearby values of $weight.

  • Potentially breaking bug fix: The invert() function now throws an error if it's used as a plain CSS function and the Sass-only $weight parameter is passed. This never did anything useful, so it's considered a bug fix rather than a full breaking change.

  • Potentially breaking bug fix: The str-insert() function now properly inserts at the end of the string if the $index is -1. This matches the behavior in LibSass and originally in Ruby Sass.

  • Potentially breaking bug fix: An empty map returned by map-remove() is now treated as identical to the literal value (), rather than being treated as though it had a comma separator. This matches the original behavior in Ruby Sass.

  • The adjust-color() function no longer throws an error when a large $alpha value is combined with HSL adjustments.

  • The alpha() function now produces clearer error messages when the wrong number of arguments are passed.

  • Fix a bug where the str-slice() function could produce invalid output when passed a string that contains characters that aren't represented as a single byte in UTF-16.

  • Improve the error message for an unknown separator name passed to the join() or append() functions.

  • The zip() function no longer deadlocks if passed no arguments.

  • The map-remove() function can now take a $key named argument. This matches the signature in LibSass and originally in Ruby Sass.

sassbot
published 1.22.2 •

Changelog

Source

1.22.2

JavaScript API

  • Avoid re-assigning the require() function to make the code statically analyzable by Webpack.
sassbot
published 1.22.1 •

Changelog

Source

1.22.1

JavaScript API

  • Expand the dependency on chokidar to allow 3.x.
sassbot
published 1.22.0 •

Changelog

Source

1.22.0

  • Produce better stack traces when importing a file that contains a syntax error.

  • Make deprecation warnings for !global variable declarations that create new variables clearer, especially in the case where the !global flag is unnecessary because the variables are at the top level of the stylesheet.

Dart API

  • Add a Value.realNull getter, which returns Dart's null if the value is Sass's null.
sassbot
published 1.21.0 •

Changelog

Source

1.21.0

Dart API

  • Add a sass executable when installing the package through pub.

  • Add a top-level warn() function for custom functions and importers to print warning messages.

sassbot
published 1.20.3 •

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.

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