Skip to content

Bump sass from 1.30.0 to 1.32.2

Bucknell, Mary S. requested to merge dependabot/npm_and_yarn/sass-1.32.2 into master

Created by: dependabot-preview[bot]

Bumps sass from 1.30.0 to 1.32.2.

Release notes

Sourced from sass's releases.

Dart Sass 1.32.2

To install Sass 1.32.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Print the actual number that was received in unit deprecation warnings for color functions.

See the full changelog for changes in earlier releases.

Dart Sass 1.32.1

To install Sass 1.32.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Don't emit permissions errors on Windows and OS X when trying to determine the real case of path names.

See the full changelog for changes in earlier releases.

Dart Sass 1.32.0

To install Sass 1.32.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.

Changes

  • Deprecate passing non-% numbers as lightness and saturation to hsl(), hsla(), color.adjust(), and color.change(). This matches the CSS specification, which also requires % for all lightness and saturation parameters. See [the Sass website][color-units] for more details.

  • Deprecate passing numbers with units other than deg as the hue to hsl(), hsla(), adjust-hue(), color.adjust(), and color.change(). Unitless numbers are still allowed here, since they're allowed by CSS. See [the Sass website][color-units] for more details.

  • Improve error messages about incompatible units.

  • Properly mark some warnings emitted by sass:color functions as deprecation warnings.

Dart API

  • Rename SassNumber.valueInUnits() to SassNumber.coerceValue(). The old name remains, but is now deprecated.

  • Rename SassNumber.coerceValueToUnit(), a shorthand for SassNumber.coerceValue() that takes a single numerator unit.

  • Add SassNumber.coerceToMatch() and SassNumber.coerceValueToMatch(), which work like SassNumber.coerce() and SassNumber.coerceValue() but take a SassNumber whose units should be matched rather than taking the units explicitly. These generate better error messages than SassNumber.coerce() and SassNumber.coerceValue().

  • Add SassNumber.convertToMatch() and SassNumber.convertValueToMatch(), which work like SassNumber.coerceToMatch() and SassNumber.coerceValueToMatch() except they throw exceptions when converting unitless values to or from units.

Changelog

Sourced from sass's changelog.

1.32.2

  • Print the actual number that was received in unit deprecation warnings for color functions.

1.32.1

  • Don't emit permissions errors on Windows and OS X when trying to determine the real case of path names.

1.32.0

  • Deprecate passing non-% numbers as lightness and saturation to hsl(), hsla(), color.adjust(), and color.change(). This matches the CSS specification, which also requires % for all lightness and saturation parameters. See [the Sass website][color-units] for more details.

  • Deprecate passing numbers with units other than deg as the hue to hsl(), hsla(), adjust-hue(), color.adjust(), and color.change(). Unitless numbers are still allowed here, since they're allowed by CSS. See [the Sass website][color-units] for more details.

  • Improve error messages about incompatible units.

  • Properly mark some warnings emitted by sass:color functions as deprecation warnings.

Dart API

  • Rename SassNumber.valueInUnits() to SassNumber.coerceValue(). The old name remains, but is now deprecated.

  • Rename SassNumber.coerceValueToUnit(), a shorthand for SassNumber.coerceValue() that takes a single numerator unit.

  • Add SassNumber.coerceToMatch() and SassNumber.coerceValueToMatch(), which work like SassNumber.coerce() and SassNumber.coerceValue() but take a SassNumber whose units should be matched rather than taking the units explicitly. These generate better error messages than SassNumber.coerce() and SassNumber.coerceValue().

  • Add SassNumber.convertToMatch() and SassNumber.convertValueToMatch(), which work like SassNumber.coerceToMatch() and SassNumber.coerceValueToMatch() except they throw exceptions when converting unitless values to or from units.

  • Add SassNumber.compatibleWithUnit(), which returns whether the number can be coerced to a single numerator unit.

1.31.0

Commits
  • 01231e2 Print the values of deprecated numbers passed to color functions (#1184)
  • f24a2b9 Avoid permissions errors in _realCasePath. (#1181)
  • 006e6aa Remove unnecessary imports (#1177)
  • 137794c Add social/support badges to the README (#1178)
  • 723dc69 Merge pull request #1175 from sass/angle-units
  • bae2968 Deprecate incorrect HSL units
  • f9a9373 Print the LHS first in incompatible unit errors
  • d532f01 Improve error reporting for incompatible units
  • 7ba7351 Mark deprecation warnings as such
  • 02c92aa Add support for clamp() as a special math function (#1168)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Merge request reports