gulp-sass
gulp-sass copied to clipboard
deprecation notice coming after upgrading gulp-sass from 5.1.0 => 6.0.1
I am upgrading the gulp-sass from 5.1.0 to 6.0.1 and now its showing few deprecation in other external npm libraries Like below
Deprecation Warning [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(2em, 14) or calc(2em / 14)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
14 │ top: (2em / 14);
Deprecation Warning [color-functions]: lighten() is deprecated. Suggestions:
color.scale($color, $lightness: 40%)
color.adjust($color, $lightness: 20%)
More info: https://sass-lang.com/d/color-functions
╷
133 │ $custom-yellow-80: lighten($custom-yellow, 20%);
is there any option to suppress these deprecation warnings through the gulpfile.js file?
gulp-sass supports all the options of the modern Sass JS API as it now uses it.
See the quietDeps and silenceDeprecations options to control the reporting of deprecations during Sass compilations.