kamilmielnik / scrabble-solver

Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Super Scrabble, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles. Available in English, French, German, Persian, Polish, Romanian, Spanish, and Turkish.
https://scrabble-solver.org
Other
96 stars 21 forks source link

Deal with Dart Sass deprecations #360

Open kamilmielnik opened 1 week ago

kamilmielnik commented 1 week ago

run npm run build


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

./src/components/Board/components/Cell/Cell.module.scss
Deprecation Warning on line 19, column 30 of file:///home/kamil/projects/scrabble-solver/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss:19:30:
Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(100%, 3) or calc(100% / 3)

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

19 |         clip-path: polygon(0 (100% / 3), (100% / 3) (100% / 3), (100% / 3) (200% / 3), 0 (200% / 3));

Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.

./src/components/Board/components/InputPrompt/InputPrompt.module.scss
Deprecation Warning on line 0, column 8 of file:///home/kamil/projects/scrabble-solver/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.module.scss:0:8:

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

0 | @import 'styles/mixins';
kamilmielnik commented 2 hours ago

https://github.com/vercel/next.js/discussions/67931