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
2345
10Next

1.25.0

Diff

Changelog

Source

1.25.0

  • Add functions to the built-in "sass:math" module.

    • clamp($min, $number, $max). Clamps $number in between $min and $max.

    • hypot($numbers...). Given n numbers, outputs the length of the n-dimensional vector that has components equal to each of the inputs.

    • Exponential. All inputs must be unitless.

      • log($number) or log($number, $base). If no base is provided, performs a natural log.
      • pow($base, $exponent)
      • sqrt($number)
    • Trigonometric. The input must be an angle. If no unit is given, the input is assumed to be in rad.

      • cos($number)
      • sin($number)
      • tan($number)
    • Inverse trigonometric. The output is in deg.

      • acos($number). Input must be unitless.
      • asin($number). Input must be unitless.
      • atan($number). Input must be unitless.
      • atan2($y, $x). $y and $x must have compatible units or be unitless.
  • Add the variables $pi and $e to the built-in "sass:math" module.

JavaScript API

  • constructor.value fields on value objects now match their Node Sass equivalents.
sassbot
published 1.24.5 •

Changelog

Source

1.24.5

  • Highlight contextually-relevant sections of the stylesheet in error messages, rather than only highlighting the section where the error was detected.
sassbot
published 1.24.4 •

Changelog

Source

1.24.4

JavaScript API

  • Fix a bug where source map generation would crash with an absolute source map path and a custom importer that returns string file contents.
sassbot
published 1.24.3 •

Changelog

Source

1.24.3

Command Line Interface

  • Fix a bug where sass --version would crash for certain executable distributions.
sassbot
published 1.24.2 •

Changelog

Source

1.24.2

JavaScript API

  • Fix a bug introduced in the previous release that prevented custom importers in Node.js from loading import-only files.
sassbot
published 1.24.1 •

Changelog

Source

1.24.1

  • Fix a bug where the wrong file could be loaded when the same URL is used by both a @use rule and an @import rule.
sassbot
published 1.24.0 •

Changelog

Source

1.24.0

  • Add an optional with clause to the @forward rule. This works like the @use rule's with clause, except that @forward ... with can declare variables as !default to allow downstream modules to reconfigure their values.

  • Support configuring modules through @import rules.

sassbot
published 1.23.7 •

Changelog

Source

1.23.7

  • No user-visible changes
sassbot
published 1.23.6 •

Changelog

Source

1.23.6

  • No user-visible changes.
sassbot
published 1.23.5 •

Changelog

Source

1.23.5

  • Support inline comments in the indented syntax.

  • When an overloaded function receives the wrong number of arguments, guess which overload the user actually meant to invoke, and display the invalid argument error for that overload.

  • When @error is used in a function or mixin, print the call site rather than the location of the @error itself to better match the behavior of calling a built-in function that throws an error.

2345
10Next
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