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.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the npm-minor group with 2 updates: postcss and sass.
Updates
postcss
from 8.4.35 to 8.4.38Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
a69d45e
Release 8.4.38 version64e35d9
Update dependenciesc1ad8fb
Merge pull request #1932 from romainmenke/fix-warning-end-index--inventive-nu...b45e7e9
fix endIndex1bea246
failing test: for endIndex 0 in rangeBy0fd1d86
Add changelog auto release on Github49c906e
Release 8.4.37 versionb5bd92c
Fix another broken prev source map issue2882039
Update dependenciese5ad939
Release 8.4.36 versionUpdates
sass
from 1.71.1 to 1.74.1Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
1137797
Fix bulma and release 1.74.1 (#2210)d9220d9
Complete implementation the deprecations API (#2207)783c248
Fix typo in function documentation (#2205)c8d0643
Better handle filesystem importers when load paths aren't necessary (#2203)9302b35
Add support for nesting in plain CSS (#2198)772280a
Support linux-riscv64 and windows-arm64 (#2201)ce16b35
Cut a release (#2194)9af6bbf
Properly handlepkg:
imports with args (#2193)0330491
Update to node 20 (#2192)48e2d0c
Preserve underscores inVariableExpression.toString()
(#2185)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 show