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

Deprecation warnings for Sass global built-in functions #1255

Open
ethancrawford opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1256
Open

Deprecation warnings for Sass global built-in functions #1255

ethancrawford opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1256

Comments

@ethancrawford
Copy link

ethancrawford commented Oct 24, 2024

When building the css for a project that makes use of the tabler-icons webfont and the sass javascript package, several warnings are generated about deprecated functions:

yarn build:css --watch
Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

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

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │           ^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:11  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.insert instead.

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

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:33  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

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

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:25  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet

Deprecation Warning: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

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

   ╷
36 │   @return unquote("\"")+unquote(str-insert($str, "\\", 1))+unquote("\"")
   │                                                            ^^^^^^^^^^^^^
   ╵
    @tabler/icons-webfont/dist/tabler-icons.scss 36:60  unicode()
    @tabler/icons-webfont/dist/tabler-icons.scss 40:15  @use
    app/assets/stylesheets/application.sass.scss 18:1   root stylesheet
@ethancrawford ethancrawford linked a pull request Oct 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants
@ethancrawford and others