dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

Backport deprecation API to legacy JS API

Open jathak opened this issue 1 year ago • 0 comments

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]

jathak avatar Jul 29 '24 20:07 jathak