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.
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
ImportCache
s 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 aDeprecationProcessingLogger
to fix this.[skip sass-embedded]