Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass deprecation warning #100

Open
Akromangel opened this issue May 15, 2023 · 4 comments
Open

Sass deprecation warning #100

Akromangel opened this issue May 15, 2023 · 4 comments

Comments

@Akromangel
Copy link

After upgrading to Angular 15.2 we started to get warnings:

... line-awesome.scss - Warning: Module Warning (from ./node_modules/sass-loader/dist/cjs.js):
13:12:26  Deprecation Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
13:12:26  
13:12:26  
13:12:26  Build at: 2023-05-12T10:12:21.529Z - Hash: f9ec639a3f1a2f9a - Time: 63786ms
13:12:26  Recommendation: math.div(4em, 14) or calc(4em / 14)
13:12:26  
13:12:26  More info and automated migrator: https://sass-lang.com/d/slash-div
13:12:26  
13:12:26  node_modules/line-awesome/dist/line-awesome/scss/_list.scss 17:28       @import
13:12:26  node_modules/line-awesome/dist/line-awesome/scss/line-awesome.scss 7:9  root stylesheet

I kindly ask to fix these warnings.

@herlangga-pakar-it
Copy link

ooh so now it need to use calc() if divide

@Brain8torm
Copy link

Same issue.

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

Recommendation: math.div(4em, 14) or calc(4em / 14)

@simonhammes
Copy link

This was already fixed in db2d9fc, but there is no new release 🙁

See #107

@rcheetah
Copy link

rcheetah commented Apr 7, 2024

For everyone who's looking for a quick fix until this is resolved: You can actually depend directly on the GitHub version of this repository by changing the dependency in your package.json to:

"line-awesome": "icons8/line-awesome.git"

Keep in mind that this is not version-controlled and will always fetch the latest version from the main branch. So, keep an eye out for potential bugs or breaking changes that would not be captured by the default syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants