To install Sass 1.54.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Properly consider a ~ c to be a superselector of a ~ b ~ c and a + b + c.
Properly consider b > c to be a superselector of a > b > c, and similarly for other combinators.
Properly calculate specificity for selector pseudoclasses.
Deprecate use of random() when $limit has units to make it explicit that random() currently ignores units. A future version will no longer ignore units.
Don't throw an error when the same module is @forwarded multiple times through a configured module.
Embedded Sass
Rather than downloading the embedded compiler for the local platform on install, the sass-embedded npm package now declares optional dependencies on platform-specific embedded compiler packages.
Properly consider a ~ c to be a superselector of a ~ b ~ c and a + b + c.
Properly consider b > c to be a superselector of a > b > c, and similarly
for other combinators.
Properly calculate specificity for selector pseudoclasses.
Deprecate use of random() when $limit has units to make it explicit that
random() currently ignores units. A future version will no longer ignore
units.
Don't throw an error when the same module is @forwarded multiple times
through a configured module.
Embedded Sass
Rather than downloading the embedded compiler for the local platform on
install, the sass-embedded npm package now declares optional dependencies on
platform-specific embedded compiler packages.
1.54.4
Improve error messages when passing incorrect units that are also
out-of-bounds to various color functions.
1.54.3
Release a native ARM64 executable for Mac OS.
1.54.2
No user-visible changes.
1.54.1
When unifying selectors for @extend and selector.unify(), ensure that
:root, :scope, :host, and :host-context only appear at the beginning
of complex selectors.
1.54.0
Deprecate selectors with leading or trailing combinators, or with multiple
combinators in a row. If they're included in style rules after nesting is
resolved, Sass will now produce a deprecation warning and, in most cases, omit
the selector. Leading and trailing combinators can still be freely used for
nesting purposes.
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)
Bumps sass from 1.52.3 to 1.54.5.
Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
6df3497
Release 1.54.5 (#1785)98f326b
Convert visitor classes to mixins (#1784)7695332
Update specificity calculation for selector pseudos (#1781)c850501
Allow a module loaded multiple times by the same configuration (#1739)3f98441
Deprecate math.random() when $limit has units (#1779)0b8a0f6
Transform all enum-like classes to dart enums (#1777)a987352
Improve combinator superselector logic (#1778)6fd25ae
Improve error messages for incorrect units in color functions (#1772)ba88dd6
Revert "Run qemu in tmpfs (#1707)" (#1757)4de6ebe
Merge pull request #1758 from sass/macos-arm64Dependabot 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)