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

deprecation warning with dart-sass

Open tim-lai opened this issue 3 years ago • 7 comments

Hello, I just switched from node-sass to (dart)sass, and now I see this warning in my Cypress tests:

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

   ╷
98 │   .w-two-thirds-ns { width: (100% / 1.5); }
   │                              ^^^^^^^^^^
   ╵
    node_modules/tachyons-sass/scss/_widths.scss 98:30  @import
    node_modules/tachyons-sass/tachyons.scss 72:10      @import
    src/style/main.scss 3:13                            root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(100%, 3)

There's actually quite a few warnings of similar nature.

Context: Libsass/Node Sass is deprecated

tim-lai avatar Jun 22 '21 21:06 tim-lai

@tim-lai I fix this issue in the PR but it keep long open so you can use alternative reference to the following repository by installing as yarn add --dev kedarvijaykulkarni/tachyons-sass#fix/deprecation-warning-with-dart-sass

kedarvijaykulkarni avatar Aug 07 '21 06:08 kedarvijaykulkarni

@tim-lai my PR is get merged you can take latest now

kedarvijaykulkarni avatar Oct 06 '21 19:10 kedarvijaykulkarni

The Github Repo is fixed, but it seems that the npm module still has not been updated, isn't it? Could someone do so?

fabianmarcus avatar Jan 20 '22 23:01 fabianmarcus

@johno Please make a new release :)

RouL avatar Sep 20 '22 09:09 RouL

Seems like the project is dead :/ I hope Swagger considers changing to a different framework.

RouL avatar Nov 23 '22 10:11 RouL

A new version would be great--thanks!

l3ender avatar Dec 05 '22 00:12 l3ender

@mrmrs This issue is fixed on main branch but not published to npm, could we publish it? Thanks!

ledenis avatar Apr 14 '23 13:04 ledenis