Created by: dependabot[bot]
Bumps sass from 1.32.13 to 1.33.0.
Release notes
Sourced from sass's releases.
Dart Sass 1.33.0
To install Sass 1.33.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Deprecate the use of
/for division. The newmath.div()function should be used instead. See this page for details.
Add a
list.slash()function that returns a slash-separated list.Potentially breaking bug fix: The heuristics around when potentially slash-separated numbers are converted to slash-free numbers—for example, when
1/2will be printed as0.5rather than1/2—have been slightly expanded. Previously, a number would be made slash-free if it was passed as an argument to a user-defined function, but not to a built-in function. Now it will be made slash-free in both cases. This is a behavioral change, but it's unlikely to affect any real-world stylesheets.
:is()now behaves identically to:matches().
Fix a bug where non-integer numbers that were very close to integer values would be incorrectly formatted in CSS.
Fix a bug where very small number and very large negative numbers would be incorrectly formatted in CSS.
JS API
- The
thiscontext for importers now has afromImportfield, which istrueif the importer is being invoked from an@importandfalseotherwise. Importers should only use this to determine whether to load import-only files.Dart API
- Add an
Importer.fromImportgetter, which istrueif the currentImporter.canonicalize()call comes from an@importrule andfalseotherwise. Importers should only use this to determine whether to load import-only files.See the full changelog for changes in earlier releases.
Changelog
Sourced from sass's changelog.
1.33.0
- Deprecate the use of
/for division. The newmath.div()function should be used instead. See this page for details.
Add a
list.slash()function that returns a slash-separated list.Potentially breaking bug fix: The heuristics around when potentially slash-separated numbers are converted to slash-free numbers—for example, when
1/2will be printed as0.5rather than1/2—have been slightly expanded. Previously, a number would be made slash-free if it was passed as an argument to a user-defined function, but not to a built-in function. Now it will be made slash-free in both cases. This is a behavioral change, but it's unlikely to affect any real-world stylesheets.
:is()now behaves identically to:matches().
Fix a bug where non-integer numbers that were very close to integer values would be incorrectly formatted in CSS.
Fix a bug where very small number and very large negative numbers would be incorrectly formatted in CSS.
JS API
- The
thiscontext for importers now has afromImportfield, which istrueif the importer is being invoked from an@importandfalseotherwise. Importers should only use this to determine whether to load import-only files.Dart API
- Add an
Importer.fromImportgetter, which istrueif the currentImporter.canonicalize()call comes from an@importrule andfalseotherwise. Importers should only use this to determine whether to load import-only files.
Commits
-
112aaa6Fix the broken CI (#1317) -
ba805f1Release 1.33.0 (#1316) -
efe680eMake :is() behave like :matches() (#1315) -
c247890Re-enable Node tests for Dart dev (#1313) -
f33b934Fix some edge cases when serializing edge-case numbers (#1312) -
3849165Merge pull request #1306 from sass/slash-separator -
3a5d28fMark this as a dev version -
47920adMerge branch 'master' into slash-separator -
9caa0f3Merge pull request #1309 from sass/fromImport -
818d0d1Fix context.options.context - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)