Skip to content

Bump sass from 1.72.0 to 1.74.1

Imanuel Ulbricht requested to merge dependabot-npm_and_yarn-sass-1.74.1 into main

Bumps sass from 1.72.0 to 1.74.1.

Release notes

Sourced from sass's releases.

Dart Sass 1.74.1

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

Changes

  • No user-visible changes.

See the full changelog for changes in earlier releases.

Changelog

Sourced from sass's changelog.

1.74.1

  • No user-visible changes.

1.74.0

JS API

  • Add a new top-level deprecations object, which contains various Deprecation objects that define the different types of deprecation used by the Sass compiler and can be passed to the options below.

  • Add a new fatalDeprecations compiler option that causes the compiler to error if any deprecation warnings of the provided types are encountered. You can also pass in a Version object to treat all deprecations that were active in that Dart Sass version as fatal.

  • Add a new futureDeprecations compiler option that allows you to opt-in to certain deprecations early (currently just import).

  • Add a new silenceDeprecations compiler option to ignore any deprecation warnings of the provided types.

Command-Line Interface

  • Add a new --silence-deprecation flag, which causes the compiler to ignore any deprecation warnings of the provided types.

  • Previously, if a future deprecation was passed to --fatal-deprecation but not --future-deprecation, it would be treated as fatal despite not being enabled. Both flags are now required to treat a future deprecation as fatal with a warning emitted if --fatal-deprecation is passed without --future-deprecation, matching the JS API's behavior.

Dart API

  • The compile methods now take in a silenceDeprecations parameter, which causes the compiler to ignore any deprecation warnings of the provided types.

  • Add Deprecation.obsoleteIn to match the JS API. This is currently null for all deprecations, but will be used once some deprecations become obsolete in Dart Sass 2.0.0.

  • Potentially breaking bug fix: Fix a bug where compileStringToResultAsync ignored fatalDeprecations and futureDeprecations.

  • The behavior around making future deprecations fatal mentioned in the CLI section above has also been changed in the Dart API.

1.73.0

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading