dart-sass
dart-sass copied to clipboard
Backport deprecation API to legacy JS API
See https://github.com/sass/sass/pull/3907. See https://github.com/sass/sass-spec/pull/2006.
This also fixes a bug where the deprecation flags would not always be respected when using embedded Sass, as ImportCaches could be created with an unwrapped logger, meaning any parse-time deprecation warnings (e.g. @import) couldn't be controlled. ImportCache now wraps the logger it gets in a DeprecationProcessingLogger to fix this.
[skip sass-embedded]