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 aCompileResultobject, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Instead of passing a
sourceMapscallback tocompile*(), passsourceMaps: truetocompile*ToResult()and accessCompileResult.sourceMap.The
CompileResultobject exposes aloadedUrlsobject 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 aCompileResultobject, which will allow us to add additional information about the compilation without having to introduce further deprecations.
Instead of passing a
sourceMapscallback tocompile*(), passsourceMaps: truetocompile*ToResult()and accessCompileResult.sourceMap.The
CompileResultobject exposes aloadedUrlsobject which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.
Commits
-
87e93a1Merge pull request #1398 from sass/compile-to-result -
10ac094Resynchronize -
5d65c11Code review changes -
cbd1f6eMerge remote-tracking branch 'origin/main' into compile-to-result -
426277eCast value correctly inputIfAbsentAsync(#1404) -
1565b9cRename includedUrls to loadedUrls -
558ca0aExpose CompileResult publicly, along with methods that return it -
43b69e6Change CompileResult.includedFiles to CompileResult.includedUrls -
0e42a09Remove CompileResult.sourceFiles -
acdea51Exclude 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 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)