sass/dart-sass
### [`v1.36.0`](https://togithub.com/sass/dart-sass/blob/master/CHANGELOG.md#1360)
[Compare Source](https://togithub.com/sass/dart-sass/compare/1.35.2...1.36.0)
##### Dart API
- Added `compileToResult()`, `compileStringToResult()`,
`compileToResultAsync()`, and `compileStringToResultAsync()` methods. These
are intended to replace the existing `compile*()` methods, which are now
deprecated. Rather than returning a simple string, these return a
`CompileResult` object, which will allow us to add additional information
about the compilation without having to introduce further deprecations.
- Instead of passing a `sourceMaps` callback to `compile*()`, pass
`sourceMaps: true` to `compile*ToResult()` and access
`CompileResult.sourceMap`.
- The `CompileResult` object exposes a `loadedUrls` object which lists the
canonical URLs accessed during a compilation. This information was
previously unavailable except through the JS API.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
1.35.2
->1.36.0
Release Notes
sass/dart-sass
### [`v1.36.0`](https://togithub.com/sass/dart-sass/blob/master/CHANGELOG.md#1360) [Compare Source](https://togithub.com/sass/dart-sass/compare/1.35.2...1.36.0) ##### Dart API - Added `compileToResult()`, `compileStringToResult()`, `compileToResultAsync()`, and `compileStringToResultAsync()` methods. These are intended to replace the existing `compile*()` methods, which are now deprecated. Rather than returning a simple string, these return a `CompileResult` object, which will allow us to add additional information about the compilation without having to introduce further deprecations. - Instead of passing a `sourceMaps` callback to `compile*()`, pass `sourceMaps: true` to `compile*ToResult()` and access `CompileResult.sourceMap`. - The `CompileResult` object exposes a `loadedUrls` object which lists the canonical URLs accessed during a compilation. This information was previously unavailable except through the JS API.Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.