video-react icon indicating copy to clipboard operation
video-react copied to clipboard

Depreciation warning on scss files

Open gtwebsite opened this issue 3 years ago • 1 comments

I got this error:

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($height, $width) or calc($height / $width)

More info and automated migrator: https://sass-lang.com/d/slash-div

    ╷
103 │   padding-top: 100% * ($height/$width);
    │                        ^^^^^^^^^^^^^^
    ╵
    node_modules/video-react/styles/scss/mixins.scss 103:24    apply-aspect-ratio()
    node_modules/video-react/styles/scss/layout.scss 54:5      @import
    node_modules/video-react/styles/scss/video-react.scss 7:9  root stylesheet
  • Node 15.x.x
  • node-sass 6.x.x
  • React 17.0.1

gtwebsite avatar Jan 08 '23 23:01 gtwebsite

There is a fix in this PR for this.

bitboxer avatar Jan 25 '23 10:01 bitboxer