Skip to content

Many deprecation warnings with Sass 1.80.x #7299

Description

@pjonsson

The only upper bound for sass is < 2, so sass 1.80 will happily install but gives many deprecation warnings in the form of:

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

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

    ╷
136 │   @if variable-exists(text-link) {
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
    lib/Sass/common/_mixins.scss 136:7                                 @import
    lib/ReactViews/ExplorerWindow/Tabs/MyDataTab/my-data-tab.scss 2:9  root stylesheet

and

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

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

  ╷
2 │ @import "mixins";
  │         ^^^^^^^^
  ╵
    lib/Sass/common/_base.scss 2:9  root stylesheet

I would run the auto-migrator myself and make a pull request, but I'm not sure how to get the terriajs-variables alias set up for it, so it would be nice if someone else could take a look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions