Created by: dependabot[bot]
Bumps sass from 1.35.2 to 1.36.0.
Release notes
Sourced from sass's releases.
Dart Sass 1.36.0
To install Sass 1.36.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Dart API
Added
compileToResult()
,compileStringToResult()
,compileToResultAsync()
, andcompileStringToResultAsync()
methods. These are intended to replace the existingcompile*()
methods, which are now deprecated. Rather than returning a simple string, these return aCompileResult
object, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Instead of passing a
sourceMaps
callback tocompile*()
, passsourceMaps: true
tocompile*ToResult()
and accessCompileResult.sourceMap
.The
CompileResult
object exposes aloadedUrls
object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.See the full changelog for changes in earlier releases.
Changelog
Sourced from sass's changelog.
1.36.0
Dart API
Added
compileToResult()
,compileStringToResult()
,compileToResultAsync()
, andcompileStringToResultAsync()
methods. These are intended to replace the existingcompile*()
methods, which are now deprecated. Rather than returning a simple string, these return aCompileResult
object, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Instead of passing a
sourceMaps
callback tocompile*()
, passsourceMaps: true
tocompile*ToResult()
and accessCompileResult.sourceMap
.The
CompileResult
object exposes aloadedUrls
object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.
Commits
-
87e93a1
Merge pull request #1398 from sass/compile-to-result -
10ac094
Resynchronize -
5d65c11
Code review changes -
cbd1f6e
Merge remote-tracking branch 'origin/main' into compile-to-result -
426277e
Cast value correctly inputIfAbsentAsync
(#1404) -
1565b9c
Rename includedUrls to loadedUrls -
558ca0a
Expose CompileResult publicly, along with methods that return it -
43b69e6
Change CompileResult.includedFiles to CompileResult.includedUrls -
0e42a09
Remove CompileResult.sourceFiles -
acdea51
Exclude build/ from static analysis - See full diff 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 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)