From e70744b0c49147c2b797973a596a4b369f17facd Mon Sep 17 00:00:00 2001 From: Jennifer Thakar Date: Fri, 12 Jul 2024 16:05:06 -0700 Subject: [PATCH] Add warnings for @import --- spec/core_functions/meta/function_exists.hrx | 10 + .../meta/get_function/same_module.hrx | 10 + .../meta/get_mixin/same_module.hrx | 10 + .../meta/global_variable_exists.hrx | 10 + spec/core_functions/meta/load_css/with.hrx | 29 ++ spec/core_functions/meta/mixin_exists.hrx | 10 + spec/core_functions/meta/module_functions.hrx | 10 + spec/core_functions/meta/module_mixins.hrx | 10 + spec/core_functions/meta/module_variables.hrx | 10 + spec/core_functions/meta/variable_exists.hrx | 10 + .../custom_properties/name_interpolation.hrx | 10 + spec/css/font-face.hrx | 9 + spec/css/plain/error/statement/style_rule.hrx | 9 + spec/css/plain/functions.hrx | 10 + spec/css/plain/import/css_before_index.hrx | 10 + spec/css/plain/import/in_css.hrx | 10 + spec/css/plain/import/partial_conflict.hrx | 9 + .../plain/import/sass_takes_precedence.hrx | 10 + .../plain/import/scss_takes_precedence.hrx | 10 + spec/css/plain/style_rule.hrx | 30 ++ spec/directives/at_root.hrx | 20 + spec/directives/forward/css.hrx | 10 + spec/directives/forward/error/load.hrx | 9 + .../error/member/import_to_forward.hrx | 28 ++ spec/directives/forward/error/syntax.hrx | 9 + spec/directives/forward/extend.hrx | 10 + .../member/import/forward_to_import.hrx | 40 ++ .../import/import_to_forward/nested.hrx | 30 ++ .../import/import_to_forward/override.hrx | 57 +++ .../import/import_to_forward/top_level.hrx | 68 +++ .../import/import_to_forward/transitive.hrx | 57 +++ .../import/import_to_forward/use_to.hrx | 30 ++ .../member/import/import_to_forward/with.hrx | 30 ++ .../forward/member/import/precedence.hrx | 20 + .../forward/with/through_import.hrx | 29 ++ spec/directives/import/configuration.hrx | 165 +++++++ spec/directives/import/css.hrx | 19 + spec/directives/import/error/conflict.hrx | 54 +++ spec/directives/import/error/member.hrx | 28 ++ spec/directives/import/error/not_found.hrx | 36 ++ spec/directives/import/escaped.hrx | 10 + .../import/implicit_dependencies.hrx | 152 ++++++ spec/directives/import/load.hrx | 169 +++++++ spec/directives/import/nested.hrx | 107 ++++ spec/directives/use/css/import.hrx | 96 +++- .../use/css/order/use_and_import.hrx | 64 ++- spec/directives/use/error/load.hrx | 18 + .../use/error/member/inaccessible.hrx | 28 ++ spec/directives/use/error/syntax/after.hrx | 9 + spec/directives/use/extend/scope.hrx | 78 +++ .../use/member/nested_global_variable.hrx | 10 + spec/directives/use/member/use_to_import.hrx | 40 ++ spec/directives/use/with/through_import.hrx | 29 ++ spec/libsass-closed-issues/issue_1081.hrx | 9 + spec/libsass-closed-issues/issue_1103.hrx | 23 +- spec/libsass-closed-issues/issue_1766.hrx | 19 + .../issue_1801/import-cycle.hrx | 27 ++ .../libsass-closed-issues/issue_2106/test.hrx | 9 + spec/libsass-closed-issues/issue_2233.hrx | 10 + .../issue_2295/basic.hrx | 10 + .../issue_2295/original.hrx | 10 + spec/libsass-closed-issues/issue_2303.hrx | 10 + spec/libsass-closed-issues/issue_2304.hrx | 9 + spec/libsass-closed-issues/issue_279.hrx | 10 + spec/libsass-todo-issues/issue_1763.hrx | 10 + .../issue_1801/simple-import-loop.hrx | 18 + .../issue_2295/error/basic.hrx | 11 +- .../issue_2295/error/wrapped.hrx | 11 +- .../imported/at-root-alone-itpl.hrx | 9 + .../imported/at-root-alone.hrx | 9 + .../imported/at-root-postfix-itpl.hrx | 10 + .../imported/at-root-postfix.hrx | 9 + .../imported/at-root-prefix-itpl.hrx | 10 + .../imported/at-root-prefix.hrx | 9 + .../imported/basic-alone-itpl.hrx | 9 + .../imported/basic-alone.hrx | 9 + .../imported/basic-postfix-itpl.hrx | 10 + .../imported/basic-postfix.hrx | 9 + .../imported/basic-prefix-itpl.hrx | 10 + .../imported/basic-prefix.hrx | 9 + spec/libsass/bourbon.hrx | 459 ++++++++++++++++++ spec/non_conformant/basic/14_imports.hrx | 36 ++ .../errors/import/file/control-else.hrx | 11 +- .../errors/import/file/control-if.hrx | 11 +- .../errors/import/file/loop/each.hrx | 11 +- .../errors/import/file/loop/for.hrx | 11 +- .../errors/import/file/loop/while.hrx | 11 +- .../import/file/mixin/control-else/inside.hrx | 11 +- .../file/mixin/control-else/outside.hrx | 11 +- .../import/file/mixin/control-if/inside.hrx | 11 +- .../import/file/mixin/control-if/outside.hrx | 11 +- .../errors/import/miss/control-else.hrx | 11 +- .../errors/import/miss/control-if.hrx | 11 +- .../errors/import/miss/loop/each.hrx | 11 +- .../errors/import/miss/loop/for.hrx | 11 +- .../errors/import/miss/loop/while.hrx | 11 +- .../import/miss/mixin/control-else/inside.hrx | 11 +- .../miss/mixin/control-else/outside.hrx | 11 +- .../import/miss/mixin/control-if/inside.hrx | 11 +- .../import/miss/mixin/control-if/outside.hrx | 11 +- spec/non_conformant/sass/import/unquoted.hrx | 19 + spec/non_conformant/sass/imported.hrx | 10 + 102 files changed, 2796 insertions(+), 29 deletions(-) diff --git a/spec/core_functions/meta/function_exists.hrx b/spec/core_functions/meta/function_exists.hrx index d589849faf..91cec308b9 100644 --- a/spec/core_functions/meta/function_exists.hrx +++ b/spec/core_functions/meta/function_exists.hrx @@ -38,6 +38,16 @@ a { b: true; } +<===> same_module/through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> same_module/dash_insensitive/dash_to_underscore/input.scss diff --git a/spec/core_functions/meta/get_function/same_module.hrx b/spec/core_functions/meta/get_function/same_module.hrx index 796e25e182..5c46786886 100644 --- a/spec/core_functions/meta/get_function/same_module.hrx +++ b/spec/core_functions/meta/get_function/same_module.hrx @@ -69,6 +69,16 @@ a { b: 12; } +<===> through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> plain_css/input.scss diff --git a/spec/core_functions/meta/get_mixin/same_module.hrx b/spec/core_functions/meta/get_mixin/same_module.hrx index 288396a841..14d679090b 100644 --- a/spec/core_functions/meta/get_mixin/same_module.hrx +++ b/spec/core_functions/meta/get_mixin/same_module.hrx @@ -44,6 +44,16 @@ a { b: 12; } +<===> through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> dash_insensitive/dash_to_underscore/input.scss diff --git a/spec/core_functions/meta/global_variable_exists.hrx b/spec/core_functions/meta/global_variable_exists.hrx index 151d06821e..c3f76658fc 100644 --- a/spec/core_functions/meta/global_variable_exists.hrx +++ b/spec/core_functions/meta/global_variable_exists.hrx @@ -38,6 +38,16 @@ a { b: true; } +<===> same_module/through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> same_module/non_existent/input.scss diff --git a/spec/core_functions/meta/load_css/with.hrx b/spec/core_functions/meta/load_css/with.hrx index 6a2952ee59..602cbd9bc9 100644 --- a/spec/core_functions/meta/load_css/with.hrx +++ b/spec/core_functions/meta/load_css/with.hrx @@ -166,6 +166,16 @@ b { c: configured; } +<===> through_import/direct/warning +DEPRECATION WARNING on line 1, column 9 of _loaded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> through_import/transitive/input.scss @@ -187,6 +197,25 @@ b { c: configured; } +<===> through_import/transitive/warning +DEPRECATION WARNING on line 1, column 9 of _loaded.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> through_forward/bare/input.scss diff --git a/spec/core_functions/meta/mixin_exists.hrx b/spec/core_functions/meta/mixin_exists.hrx index 6b0b310ed5..d4c1e3b491 100644 --- a/spec/core_functions/meta/mixin_exists.hrx +++ b/spec/core_functions/meta/mixin_exists.hrx @@ -38,6 +38,16 @@ a { b: true; } +<===> same_module/through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> same_module/non_existent/input.scss diff --git a/spec/core_functions/meta/module_functions.hrx b/spec/core_functions/meta/module_functions.hrx index ff475aedba..5a37827c84 100644 --- a/spec/core_functions/meta/module_functions.hrx +++ b/spec/core_functions/meta/module_functions.hrx @@ -110,6 +110,16 @@ a { d: d value; } +<===> through_import/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> core_module/input.scss diff --git a/spec/core_functions/meta/module_mixins.hrx b/spec/core_functions/meta/module_mixins.hrx index 274f8288eb..2f0e67afed 100644 --- a/spec/core_functions/meta/module_mixins.hrx +++ b/spec/core_functions/meta/module_mixins.hrx @@ -138,6 +138,16 @@ a { d-d: value; } +<===> through_import/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> core_module/input.scss diff --git a/spec/core_functions/meta/module_variables.hrx b/spec/core_functions/meta/module_variables.hrx index 4192ddd29b..ce4a87bd1c 100644 --- a/spec/core_functions/meta/module_variables.hrx +++ b/spec/core_functions/meta/module_variables.hrx @@ -86,6 +86,16 @@ a { b: ("c": c value, "d": d value, "e": e value); } +<===> through_import/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> core_module/input.scss diff --git a/spec/core_functions/meta/variable_exists.hrx b/spec/core_functions/meta/variable_exists.hrx index 0b2372acd2..898eb898b9 100644 --- a/spec/core_functions/meta/variable_exists.hrx +++ b/spec/core_functions/meta/variable_exists.hrx @@ -64,6 +64,16 @@ a { b: true; } +<===> through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> through_use/input.scss diff --git a/spec/css/custom_properties/name_interpolation.hrx b/spec/css/custom_properties/name_interpolation.hrx index 06491fc77d..66bf90c792 100644 --- a/spec/css/custom_properties/name_interpolation.hrx +++ b/spec/css/custom_properties/name_interpolation.hrx @@ -62,3 +62,13 @@ a { #{--}: b c } a { --: b c; } + +<===> import_nesting_use/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 'foo'; + | ^^^^^ + ' diff --git a/spec/css/font-face.hrx b/spec/css/font-face.hrx index 1309231aea..a745649297 100644 --- a/spec/css/font-face.hrx +++ b/spec/css/font-face.hrx @@ -89,6 +89,15 @@ c { } <===> bubble/loaded/import/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 'upstream'; + | ^^^^^^^^^^ + ' + DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested diff --git a/spec/css/plain/error/statement/style_rule.hrx b/spec/css/plain/error/statement/style_rule.hrx index 89a50f02fd..f2695e1cd8 100644 --- a/spec/css/plain/error/statement/style_rule.hrx +++ b/spec/css/plain/error/statement/style_rule.hrx @@ -133,6 +133,15 @@ a {@import "plain"} > b {c: d} <===> leading_combinator/through_import/error +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "plain"} + | ^^^^^^^ + ' + Error: Top-level leading combinators aren't allowed in plain CSS. , 1 | > b {c: d} diff --git a/spec/css/plain/functions.hrx b/spec/css/plain/functions.hrx index e779334323..90bcb1fc12 100644 --- a/spec/css/plain/functions.hrx +++ b/spec/css/plain/functions.hrx @@ -11,6 +11,16 @@ c { d: a(); } +<===> defined_elsewhere/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "plain"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> hsl/input.scss diff --git a/spec/css/plain/import/css_before_index.hrx b/spec/css/plain/import/css_before_index.hrx index 7f4921233d..512d8d68e1 100644 --- a/spec/css/plain/import/css_before_index.hrx +++ b/spec/css/plain/import/css_before_index.hrx @@ -11,3 +11,13 @@ other {index: true} other { index: false; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import 'other'; + | ^^^^^^^ + ' diff --git a/spec/css/plain/import/in_css.hrx b/spec/css/plain/import/in_css.hrx index 8c902cac89..ab1fa85ffe 100644 --- a/spec/css/plain/import/in_css.hrx +++ b/spec/css/plain/import/in_css.hrx @@ -6,3 +6,13 @@ <===> output.css @import "whatever"; + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "plain"; + | ^^^^^^^ + ' diff --git a/spec/css/plain/import/partial_conflict.hrx b/spec/css/plain/import/partial_conflict.hrx index 12677314f5..ab8b082074 100644 --- a/spec/css/plain/import/partial_conflict.hrx +++ b/spec/css/plain/import/partial_conflict.hrx @@ -8,6 +8,15 @@ plain {partial: true} plain {partial: false} <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "plain"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: _plain.css plain.css diff --git a/spec/css/plain/import/sass_takes_precedence.hrx b/spec/css/plain/import/sass_takes_precedence.hrx index f7ee0817fd..8bd0502f3e 100644 --- a/spec/css/plain/import/sass_takes_precedence.hrx +++ b/spec/css/plain/import/sass_takes_precedence.hrx @@ -12,3 +12,13 @@ other other { syntax: sass; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' diff --git a/spec/css/plain/import/scss_takes_precedence.hrx b/spec/css/plain/import/scss_takes_precedence.hrx index cb4f5cd91a..153b78756b 100644 --- a/spec/css/plain/import/scss_takes_precedence.hrx +++ b/spec/css/plain/import/scss_takes_precedence.hrx @@ -11,3 +11,13 @@ other {syntax: scss} other { syntax: scss; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' diff --git a/spec/css/plain/style_rule.hrx b/spec/css/plain/style_rule.hrx index 1ae9d0e30a..fb795d2da6 100644 --- a/spec/css/plain/style_rule.hrx +++ b/spec/css/plain/style_rule.hrx @@ -239,6 +239,16 @@ a b { c: d; } +<===> nesting/through_import/one_level/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "plain"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> nesting/through_import/two_levels/input.scss @@ -254,6 +264,16 @@ a b { } } +<===> nesting/through_import/two_levels/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "plain"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> nesting/through_import/top_level_parent/input.scss @@ -269,6 +289,16 @@ a & { } } +<===> nesting/through_import/top_level_parent/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "plain"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> top_level_parent/input.scss diff --git a/spec/directives/at_root.hrx b/spec/directives/at_root.hrx index ddef1f01ee..caa08c01d2 100644 --- a/spec/directives/at_root.hrx +++ b/spec/directives/at_root.hrx @@ -46,6 +46,16 @@ b { c: d; } +<===> nested_import/with_no_use/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> nested_import/with_builtin_use/input.scss @@ -67,6 +77,16 @@ b { c: d; } +<===> nested_import/with_builtin_use/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> nested_import/with_user_use/options.yml diff --git a/spec/directives/forward/css.hrx b/spec/directives/forward/css.hrx index ddb4fc8176..87cab03585 100644 --- a/spec/directives/forward/css.hrx +++ b/spec/directives/forward/css.hrx @@ -106,3 +106,13 @@ in-forwarded { in-input { a: b; } + +<===> forward_into_import/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/forward/error/load.hrx b/spec/directives/forward/error/load.hrx index 4fc692b492..5cc65cb8e0 100644 --- a/spec/directives/forward/error/load.hrx +++ b/spec/directives/forward/error/load.hrx @@ -73,6 +73,15 @@ Error: Module loop: this module is already being loaded. @import "input"; <===> loop/forward_to_import/error +DEPRECATION WARNING on line 1, column 9 of other.scss: +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 + , +1 | @import "input"; + | ^^^^^^^ + ' + Error: This file is already being loaded. , 1 | @import "input"; diff --git a/spec/directives/forward/error/member/import_to_forward.hrx b/spec/directives/forward/error/member/import_to_forward.hrx index a86c7df638..315ad3975f 100644 --- a/spec/directives/forward/error/member/import_to_forward.hrx +++ b/spec/directives/forward/error/member/import_to_forward.hrx @@ -10,6 +10,15 @@ b {c: $d} $d: e; <===> nested/variable/error +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "midstream"} + | ^^^^^^^^^^^ + ' + Error: Undefined variable. , 3 | b {c: $d} @@ -31,6 +40,15 @@ b {@include c} @mixin c {d: e} <===> nested/mixin/error +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "midstream"} + | ^^^^^^^^^^^ + ' + Error: Undefined mixin. , 3 | b {@include c} @@ -55,3 +73,13 @@ b {c: d()} b { c: d(); } + +<===> nested/function/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "midstream"} + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/error/syntax.hrx b/spec/directives/forward/error/syntax.hrx index 569da63639..d11d5e9117 100644 --- a/spec/directives/forward/error/syntax.hrx +++ b/spec/directives/forward/error/syntax.hrx @@ -284,6 +284,15 @@ Error: @forward rules must be written before any other rules. @forward "b"; <===> after/at_rule/import/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "a"; + | ^^^ + ' + Error: @forward rules must be written before any other rules. , 2 | @forward "b"; diff --git a/spec/directives/forward/extend.hrx b/spec/directives/forward/extend.hrx index 8cc32b0dcd..27b4c414c0 100644 --- a/spec/directives/forward/extend.hrx +++ b/spec/directives/forward/extend.hrx @@ -61,3 +61,13 @@ in-imported {a: b} in-imported, in-input { a: b; } + +<===> forward_into_import/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/forward_to_import.hrx b/spec/directives/forward/member/import/forward_to_import.hrx index 2617c991da..ac157528ca 100644 --- a/spec/directives/forward/member/import/forward_to_import.hrx +++ b/spec/directives/forward/member/import/forward_to_import.hrx @@ -17,6 +17,16 @@ b { c: d; } +<===> mixin/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_assignment/input.scss @@ -42,6 +52,16 @@ b { c: new value; } +<===> variable_assignment/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_use/input.scss @@ -63,6 +83,16 @@ a { b: d; } +<===> variable_use/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> with/input.scss @@ -85,3 +115,13 @@ $c: old value !default; a { b: new value; } + +<===> with/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/nested.hrx b/spec/directives/forward/member/import/import_to_forward/nested.hrx index 898dc32c12..598f59209f 100644 --- a/spec/directives/forward/member/import/import_to_forward/nested.hrx +++ b/spec/directives/forward/member/import/import_to_forward/nested.hrx @@ -16,6 +16,16 @@ a { c: d; } +<===> mixin/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_assignment/input.scss @@ -39,6 +49,16 @@ a { c: new value; } +<===> variable_assignment/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_use/input.scss @@ -58,3 +78,13 @@ $c: d; a { b: d; } + +<===> variable_use/warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/override.hrx b/spec/directives/forward/member/import/import_to_forward/override.hrx index 039baa1b8f..321cf659fd 100644 --- a/spec/directives/forward/member/import/import_to_forward/override.hrx +++ b/spec/directives/forward/member/import/import_to_forward/override.hrx @@ -31,6 +31,25 @@ after-second { a: 2; } +<===> override/variable/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream1"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 9 of input.scss: +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 + , +4 | @import "midstream2"; + | ^^^^^^^^^^^^ + ' + <===> ================================================================================ <===> override/mixin/input.scss @@ -61,6 +80,25 @@ after-second { b: 2; } +<===> override/mixin/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream1"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 9 of input.scss: +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 + , +4 | @import "midstream2"; + | ^^^^^^^^^^^^ + ' + <===> ================================================================================ <===> override/function/input.scss @@ -90,3 +128,22 @@ after-first { after-second { a: 2; } + +<===> override/function/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream1"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 9 of input.scss: +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 + , +4 | @import "midstream2"; + | ^^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/top_level.hrx b/spec/directives/forward/member/import/import_to_forward/top_level.hrx index 3950fa2edc..00f3440642 100644 --- a/spec/directives/forward/member/import/import_to_forward/top_level.hrx +++ b/spec/directives/forward/member/import/import_to_forward/top_level.hrx @@ -14,6 +14,16 @@ b { c: d; } +<===> mixin/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_assignment/input.scss @@ -36,6 +46,16 @@ b { c: new value; } +<===> variable_assignment/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_use/input.scss @@ -54,6 +74,16 @@ a { b: d; } +<===> variable_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> post_facto/without_use/input.scss @@ -76,6 +106,25 @@ b { c: e; } +<===> post_facto/without_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> post_facto/with_use/input.scss @@ -99,3 +148,22 @@ $d: e; b { c: e; } + +<===> post_facto/with_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/transitive.hrx b/spec/directives/forward/member/import/import_to_forward/transitive.hrx index b805231340..4db7da1bf5 100644 --- a/spec/directives/forward/member/import/import_to_forward/transitive.hrx +++ b/spec/directives/forward/member/import/import_to_forward/transitive.hrx @@ -17,6 +17,25 @@ a { b: d; } +<===> transitive/variable/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "downstream"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _downstream.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> transitive/mixin/input.scss @@ -38,6 +57,25 @@ a { c: d; } +<===> transitive/mixin/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "downstream"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _downstream.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> transitive/function/input.scss @@ -58,3 +96,22 @@ a {b: c()} a { b: d; } + +<===> transitive/function/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "downstream"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _downstream.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/use_to.hrx b/spec/directives/forward/member/import/import_to_forward/use_to.hrx index f08f8cf156..33631cfdd9 100644 --- a/spec/directives/forward/member/import/import_to_forward/use_to.hrx +++ b/spec/directives/forward/member/import/import_to_forward/use_to.hrx @@ -17,6 +17,16 @@ b { c: d; } +<===> mixin/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_assignment/input.scss @@ -42,6 +52,16 @@ b { c: new value; } +<===> variable_assignment/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_use/input.scss @@ -62,3 +82,13 @@ $c: d; a { b: d; } + +<===> variable_use/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/import_to_forward/with.hrx b/spec/directives/forward/member/import/import_to_forward/with.hrx index 420751bcb9..7200c0c455 100644 --- a/spec/directives/forward/member/import/import_to_forward/with.hrx +++ b/spec/directives/forward/member/import/import_to_forward/with.hrx @@ -16,6 +16,16 @@ a { b: midstream; } +<===> default/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> non_overridable/input.scss @@ -38,6 +48,16 @@ b { c: midstream; } +<===> non_overridable/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> overridden/input.scss @@ -59,3 +79,13 @@ $a: upstream !default; b { c: input; } + +<===> overridden/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/member/import/precedence.hrx b/spec/directives/forward/member/import/precedence.hrx index 1f196f8ab8..ab037e30fd 100644 --- a/spec/directives/forward/member/import/precedence.hrx +++ b/spec/directives/forward/member/import/precedence.hrx @@ -22,6 +22,16 @@ b { c: in-upstream; } +<===> top_level/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> nested/input.scss @@ -43,3 +53,13 @@ $a: in-upstream; b { c: in-upstream; } + +<===> nested/warning +DEPRECATION WARNING on line 4, column 11 of input.scss: +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 + , +4 | @import "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/forward/with/through_import.hrx b/spec/directives/forward/with/through_import.hrx index 7c4d44b40f..5913c4eed0 100644 --- a/spec/directives/forward/with/through_import.hrx +++ b/spec/directives/forward/with/through_import.hrx @@ -16,6 +16,16 @@ b { c: configured; } +<===> direct/warning +DEPRECATION WARNING on line 1, column 9 of _midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> transitive/input.scss @@ -38,3 +48,22 @@ b {c: $a} b { c: configured; } + +<===> transitive/warning +DEPRECATION WARNING on line 1, column 9 of _forwarded.scss: +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 + , +1 | @import "imported_downstream"; + | ^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _imported_downstream.scss: +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 + , +1 | @import "imported_upstream"; + | ^^^^^^^^^^^^^^^^^^^ + ' diff --git a/spec/directives/import/configuration.hrx b/spec/directives/import/configuration.hrx index a1de8e378b..681f1922c0 100644 --- a/spec/directives/import/configuration.hrx +++ b/spec/directives/import/configuration.hrx @@ -14,6 +14,16 @@ b { c: configured; } +<===> same_file/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> nested/input.scss @@ -34,6 +44,16 @@ a b { c: configured; } +<===> nested/warning +DEPRECATION WARNING on line 3, column 11 of input.scss: +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 + , +3 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> prefixed_as/input.scss @@ -52,6 +72,16 @@ b { c: configured; } +<===> prefixed_as/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> separate_file/input.scss @@ -73,6 +103,25 @@ b { c: configured; } +<===> separate_file/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "config"; + | ^^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> unrelated_variable/input.scss @@ -92,6 +141,16 @@ b { c: configured; } +<===> unrelated_variable/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> midstream_definition/with_config/input.scss @@ -111,6 +170,16 @@ b { c: configured; } +<===> midstream_definition/with_config/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> midstream_definition/no_config/input.scss @@ -129,6 +198,16 @@ b { c: original; } +<===> midstream_definition/no_config/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_twice/no_change/input.scss @@ -152,6 +231,25 @@ b { c: configured; } +<===> import_twice/no_change/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> import_twice/with_change/input.scss @@ -176,6 +274,25 @@ b { c: configured; } +<===> import_twice/with_change/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 9 of input.scss: +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 + , +4 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> import_twice/still_changes_in_same_file/input.scss @@ -207,6 +324,25 @@ d { e: changed; } +<===> import_twice/still_changes_in_same_file/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> indirect/through_import/input.scss @@ -228,6 +364,25 @@ b { c: configured; } +<===> indirect/through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> indirect/through_forward/input.scss @@ -251,3 +406,13 @@ b {c: $a} b { c: configured; } + +<===> indirect/through_forward/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "midstream"; + | ^^^^^^^^^^^ + ' diff --git a/spec/directives/import/css.hrx b/spec/directives/import/css.hrx index 1d2be9254b..e19ff09949 100644 --- a/spec/directives/import/css.hrx +++ b/spec/directives/import/css.hrx @@ -23,3 +23,22 @@ a {b: c} a { b: c; } + +<===> css_import_after_style_rule/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "rule"; + | ^^^^^^ + ' + +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "import"; + | ^^^^^^^^ + ' diff --git a/spec/directives/import/error/conflict.hrx b/spec/directives/import/error/conflict.hrx index 3d6fac17b0..95fc01bdba 100644 --- a/spec/directives/import/error/conflict.hrx +++ b/spec/directives/import/error/conflict.hrx @@ -10,6 +10,15 @@ a {partial: true} a {partial: false} <===> partial/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: _other.scss other.scss @@ -34,6 +43,15 @@ a a {syntax: scss} <===> extension/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: other.sass other.scss @@ -67,6 +85,15 @@ a a {syntax: scss; partial: true} <===> all/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: _other.sass other.sass @@ -92,6 +119,15 @@ a {partial: true} a {partial: false} <===> index/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: other/_index.scss other/index.scss @@ -116,6 +152,15 @@ a syntax: sass <===> import_only/no_extension/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: It's not clear which file to import. Found: other.import.sass other.import.scss @@ -139,6 +184,15 @@ a {partial: false} a {partial: true} <===> import_only/with_extension/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other.scss"; + | ^^^^^^^^^^^^ + ' + Error: It's not clear which file to import. Found: _other.import.scss other.import.scss diff --git a/spec/directives/import/error/member.hrx b/spec/directives/import/error/member.hrx index 2d23e1734f..dc9e9c9deb 100644 --- a/spec/directives/import/error/member.hrx +++ b/spec/directives/import/error/member.hrx @@ -7,6 +7,15 @@ b {c: $d} $d: e; <===> inaccessible/nested/variable/error +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + Error: Undefined variable. , 3 | b {c: $d} @@ -25,6 +34,15 @@ b {@include c} @mixin c() {d: e}; <===> inaccessible/nested/mixin/error +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + Error: Undefined mixin. , 3 | b {@include c} @@ -46,3 +64,13 @@ b {c: d()} b { c: d(); } + +<===> inaccessible/nested/function/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' diff --git a/spec/directives/import/error/not_found.hrx b/spec/directives/import/error/not_found.hrx index 751d550172..228f3417ed 100644 --- a/spec/directives/import/error/not_found.hrx +++ b/spec/directives/import/error/not_found.hrx @@ -5,6 +5,15 @@ a {b: c} <===> no_extension/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + Error: Can't find stylesheet to import. , 1 | @import "other"; @@ -23,6 +32,15 @@ Error: Can't find stylesheet to import. a {b: c} <===> directory_dot_import/error +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + Error: Can't find stylesheet to import. , 3 | @import "other"; @@ -45,6 +63,24 @@ a {b: ""} @import "sibling" <===> parent_relative/error +DEPRECATION WARNING on line 4, column 9 of input.scss: +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 + , +4 | @import "dir/child" + | ^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of dir/child.scss: +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 + , +1 | @import "sibling" + | ^^^^^^^^^ + ' + Error: Can't find stylesheet to import. , 1 | @import "sibling" diff --git a/spec/directives/import/escaped.hrx b/spec/directives/import/escaped.hrx index 8a2688367f..8a29154d65 100644 --- a/spec/directives/import/escaped.hrx +++ b/spec/directives/import/escaped.hrx @@ -8,3 +8,13 @@ a {b: c} a { b: c; } + +<===> warning +DEPRECATION WARNING on line 1, column 11 of input.scss: +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 + , +1 | @impor\74 "other" + | ^^^^^^^ + ' diff --git a/spec/directives/import/implicit_dependencies.hrx b/spec/directives/import/implicit_dependencies.hrx index cd7352c9fe..da631f3cf9 100644 --- a/spec/directives/import/implicit_dependencies.hrx +++ b/spec/directives/import/implicit_dependencies.hrx @@ -15,6 +15,25 @@ a { b: value; } +<===> no_forward/no_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> no_forward/use_in_first/input.scss @@ -36,6 +55,25 @@ a { b: value; } +<===> no_forward/use_in_first/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> no_forward/use_in_second/input.scss @@ -57,6 +95,25 @@ a { b: value; } +<===> no_forward/use_in_second/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> no_forward/use_in_both/input.scss @@ -80,6 +137,25 @@ a { b: value; } +<===> no_forward/use_in_both/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> forwarded_first/no_use/input.scss @@ -102,6 +178,25 @@ a { b: value; } +<===> forwarded_first/no_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> forwarded_first/use_in_first/input.scss @@ -126,6 +221,25 @@ a { b: value; } +<===> forwarded_first/use_in_first/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> forwarded_first/use_in_second/input.scss @@ -150,6 +264,25 @@ a { b: value; } +<===> forwarded_first/use_in_second/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> forwarded_first/use_in_both/input.scss @@ -175,3 +308,22 @@ a { a { b: value; } + +<===> forwarded_first/use_in_both/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "first"; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "second"; + | ^^^^^^^^ + ' diff --git a/spec/directives/import/load.hrx b/spec/directives/import/load.hrx index bba6cbb5ac..b9c96b8a61 100644 --- a/spec/directives/import/load.hrx +++ b/spec/directives/import/load.hrx @@ -16,6 +16,16 @@ a { syntax: sass; } +<===> explicit_extension/sass/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other.sass" + | ^^^^^^^^^^^^ + ' + <===> ================================================================================ <===> explicit_extension/scss/input.scss @@ -36,6 +46,16 @@ a { syntax: scss; } +<===> explicit_extension/scss/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other.scss" + | ^^^^^^^^^^^^ + ' + <===> ================================================================================ <===> precedence/scss_before_css/input.scss @@ -52,6 +72,16 @@ a { syntax: scss; } +<===> precedence/scss_before_css/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/sass_before_css/input.scss @@ -69,6 +99,16 @@ a { syntax: sass; } +<===> precedence/sass_before_css/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/normal_before_index/input.scss @@ -85,6 +125,16 @@ a { index: false; } +<===> precedence/normal_before_index/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir"; + | ^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/implicit_extension/input.scss @@ -104,6 +154,16 @@ a { import-only: true; } +<===> precedence/import_only/implicit_extension/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/explicit_extension/input.scss @@ -120,6 +180,16 @@ a { import-only: true; } +<===> precedence/import_only/explicit_extension/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/partial_before_normal/input.scss @@ -137,6 +207,16 @@ a { import-only: true; } +<===> precedence/import_only/partial_before_normal/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/normal_before_partial/input.scss @@ -154,6 +234,16 @@ a { import-only: true; } +<===> precedence/import_only/normal_before_partial/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/before_index/input.scss @@ -171,6 +261,16 @@ a { import-only: true; } +<===> precedence/import_only/before_index/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/index/input.scss @@ -188,6 +288,16 @@ a { import-only: true; } +<===> precedence/import_only/index/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> precedence/import_only/index_after_normal/input.scss @@ -205,6 +315,16 @@ a { import-only: false; } +<===> precedence/import_only/index_after_normal/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "other"; + | ^^^^^^^ + ' + <===> ================================================================================ <===> index/scss/input.scss @@ -220,6 +340,16 @@ a { a: b; } +<===> index/scss/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir"; + | ^^^^^ + ' + <===> ================================================================================ <===> index/sass/input.scss @@ -234,6 +364,16 @@ a { a: b; } +<===> index/sass/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir"; + | ^^^^^ + ' + <===> ================================================================================ <===> index/partial/input.scss @@ -249,6 +389,16 @@ a { a: b; } +<===> index/partial/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir"; + | ^^^^^ + ' + <===> ================================================================================ <===> index/dir_dot_foo/input.scss @@ -264,6 +414,16 @@ a { a: b; } +<===> index/dir_dot_foo/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir.foo"; + | ^^^^^^^^^ + ' + <===> ================================================================================ <===> index/dir_dot_scss/input.scss @@ -275,6 +435,15 @@ a { } <===> index/dir_dot_scss/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "dir.scss"; + | ^^^^^^^^^^ + ' + Error: Can't find stylesheet to import. , 1 | @import "dir.scss"; diff --git a/spec/directives/import/nested.hrx b/spec/directives/import/nested.hrx index 9ef7e77066..e7ca694bfd 100644 --- a/spec/directives/import/nested.hrx +++ b/spec/directives/import/nested.hrx @@ -19,6 +19,16 @@ x { function: value; } +<===> scope/function/warning +DEPRECATION WARNING on line 8, column 11 of input.scss: +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 + , +8 | @import 'other'; + | ^^^^^^^ + ' + <===> ================================================================================ <===> scope/mixin/input.scss @@ -40,6 +50,16 @@ x { y: z; } +<===> scope/mixin/warning +DEPRECATION WARNING on line 8, column 11 of input.scss: +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 + , +8 | @import 'other'; + | ^^^^^^^ + ' + <===> ================================================================================ <===> scope/variable/input.scss @@ -60,6 +80,16 @@ x { var: value; } +<===> scope/variable/warning +DEPRECATION WARNING on line 5, column 11 of input.scss: +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 + , +5 | @import 'other'; + | ^^^^^^^ + ' + <===> ================================================================================ <===> at_rule/keyframes/input.scss @@ -79,6 +109,16 @@ a {@import "other"} } } +<===> at_rule/keyframes/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> at_rule/childless/input.scss @@ -92,6 +132,16 @@ a { @b c; } +<===> at_rule/childless/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> at_rule/declaration_child/input.scss @@ -107,6 +157,16 @@ a {@import "other"} } } +<===> at_rule/declaration_child/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> at_rule/rule_child/input.scss @@ -124,6 +184,16 @@ a {@import "other"} } } +<===> at_rule/rule_child/warning +DEPRECATION WARNING on line 1, column 12 of input.scss: +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 + , +1 | a {@import "other"} + | ^^^^^^^ + ' + <===> ================================================================================ <===> with_comment/input.scss @@ -142,3 +212,40 @@ a {@import "other"} <===> with_comment/output.css /* Y */ /* Y */ + +<===> with_comment/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import 'b'; + | ^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 'c'; + | ^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _b.scss: +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 + , +1 | @import 'a' + | ^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _c.scss: +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 + , +1 | @import 'a' + | ^^^ + ' diff --git a/spec/directives/use/css/import.hrx b/spec/directives/use/css/import.hrx index 4d54df8a44..62b398cb5f 100644 --- a/spec/directives/use/css/import.hrx +++ b/spec/directives/use/css/import.hrx @@ -24,6 +24,16 @@ in-input { a: b; } +<===> use_into_import/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_import_into_use/input.scss @@ -61,6 +71,16 @@ in-input { a: b; } +<===> use_into_import_into_use/warning +DEPRECATION WARNING on line 1, column 9 of _used-downstream.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_and_import_same/input.scss @@ -87,6 +107,15 @@ a { } <===> use_and_import_same/warning +DEPRECATION WARNING on line 5, column 9 of input.scss: +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 + , +5 | @import "other"; + | ^^^^^^^ + ' + _other.scss:3 DEBUG: evaluating other _other.scss:3 DEBUG: evaluating other @@ -118,6 +147,15 @@ a { } <===> use_module_used_by_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "imported"; + | ^^^^^^^^^^ + ' + _shared.scss:3 DEBUG: evaluating shared <===> @@ -148,6 +186,16 @@ in-input { a: b; } +<===> import_into_use/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> nested_import_into_use/input.scss @@ -170,11 +218,20 @@ in-used {parent: meta.inspect(&)} outer in-used { parent: (in-used,); } - outer in-imported { parent: (outer in-imported,); } +<===> nested_import_into_use/warning +DEPRECATION WARNING on line 1, column 16 of input.scss: +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 + , +1 | outer {@import "imported"} + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_into_use_into_import/input.scss @@ -212,6 +269,25 @@ in-input { a: b; } +<===> import_into_use_into_import/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "imported-downstream"; + | ^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported-upstream"; + | ^^^^^^^^^^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_module_imported_by_use/input.scss @@ -238,5 +314,23 @@ a { } <===> import_module_imported_by_use/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "shared"; + | ^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "shared"; + | ^^^^^^^^ + ' + _shared.scss:3 DEBUG: evaluating shared _shared.scss:3 DEBUG: evaluating shared diff --git a/spec/directives/use/css/order/use_and_import.hrx b/spec/directives/use/css/order/use_and_import.hrx index 1f940676ea..b2eae55eaf 100644 --- a/spec/directives/use/css/order/use_and_import.hrx +++ b/spec/directives/use/css/order/use_and_import.hrx @@ -83,7 +83,6 @@ a {file: imported} @import "imported.css"; @import "used.css"; @import "input.css"; - a { file: imported; } @@ -92,6 +91,16 @@ a { file: used; } +<===> use_into_import/css_import_above_rule/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_import/css_import_below_rule/input.scss @@ -115,7 +124,6 @@ a {file: imported} @import "imported.css"; @import "used.css"; @import "input.css"; - a { file: imported; } @@ -124,6 +132,16 @@ a { file: used; } +<===> use_into_import/css_import_below_rule/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_import/sass_import_below_css_import/input.scss @@ -144,6 +162,16 @@ a { @import "imported.css"; @import "input.css"; +<===> use_into_import/sass_import_below_css_import/warning +DEPRECATION WARNING on line 3, column 9 of _used.scss: +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 + , +3 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_into_use/css_import_above_rule/input.scss @@ -167,7 +195,6 @@ a {file: used} @import "used.css"; @import "imported.css"; @import "input.css"; - a { file: used; } @@ -176,6 +203,16 @@ a { file: imported; } +<===> import_into_use/css_import_above_rule/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_into_use/css_import_below_rule/input.scss @@ -199,7 +236,6 @@ a {file: used} @import "used.css"; @import "imported.css"; @import "input.css"; - a { file: used; } @@ -208,6 +244,16 @@ a { file: imported; } +<===> import_into_use/css_import_below_rule/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> import_into_use/sass_import_below_css_import/input.scss @@ -228,6 +274,16 @@ a { @import "used.css"; @import "imported.css"; +<===> import_into_use/sass_import_below_css_import/warning +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> comments_and_imports/input.scss diff --git a/spec/directives/use/error/load.hrx b/spec/directives/use/error/load.hrx index 97d3f4d449..106a591e2b 100644 --- a/spec/directives/use/error/load.hrx +++ b/spec/directives/use/error/load.hrx @@ -206,6 +206,15 @@ Error: Module loop: this module is already being loaded. @import "input"; <===> loop/use_to_import/error +DEPRECATION WARNING on line 1, column 9 of other.scss: +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 + , +1 | @import "input"; + | ^^^^^^^ + ' + Error: This file is already being loaded. , 1 | @import "input"; @@ -223,6 +232,15 @@ Error: This file is already being loaded. @use "input"; <===> loop/import_to_use/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other"; + | ^^^^^^^ + ' + Error: Module loop: this module is already being loaded. , 1 | @use "input"; diff --git a/spec/directives/use/error/member/inaccessible.hrx b/spec/directives/use/error/member/inaccessible.hrx index 81c7964e63..5dfa5de35e 100644 --- a/spec/directives/use/error/member/inaccessible.hrx +++ b/spec/directives/use/error/member/inaccessible.hrx @@ -72,6 +72,15 @@ a {b: $upstream}; $upstream: value; <===> transitive_from_import/variable/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + Error: Undefined variable. , 3 | a {b: $upstream}; @@ -99,6 +108,16 @@ a { b: upstream(); } +<===> transitive_from_import/function/warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + <===> ================================================================================ <===> transitive_from_import/mixin/input.scss @@ -113,6 +132,15 @@ a { @mixin upstream {a {b: c}} <===> transitive_from_import/mixin/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + Error: Undefined mixin. , 3 | @include upstream; diff --git a/spec/directives/use/error/syntax/after.hrx b/spec/directives/use/error/syntax/after.hrx index 6596ed5069..47ee838e42 100644 --- a/spec/directives/use/error/syntax/after.hrx +++ b/spec/directives/use/error/syntax/after.hrx @@ -31,6 +31,15 @@ Error: @use rules must be written before any other rules. @use "other2"; <===> at_rule/import/error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "other1"; + | ^^^^^^^^ + ' + Error: @use rules must be written before any other rules. , 2 | @use "other2"; diff --git a/spec/directives/use/extend/scope.hrx b/spec/directives/use/extend/scope.hrx index 7e3932306a..bcfb65f76e 100644 --- a/spec/directives/use/extend/scope.hrx +++ b/spec/directives/use/extend/scope.hrx @@ -120,6 +120,16 @@ shared, in-imported { x: y; } +<===> use_into_use_and_import_into_use/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_use_and_import_into_import/input.scss @@ -151,6 +161,25 @@ shared, in-imported { x: y; } +<===> use_into_use_and_import_into_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "imported"; + | ^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _imported.scss: +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 + , +1 | @import "shared"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_use_and_use_into_import/input.scss @@ -182,6 +211,16 @@ shared, in-importer { x: y; } +<===> use_into_use_and_use_into_import/warning +DEPRECATION WARNING on line 1, column 9 of _importer.scss: +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 + , +1 | @import "shared"; + | ^^^^^^^^ + ' + <===> ================================================================================ <===> use_into_use_and_use_into_import_into_use/input.scss @@ -216,6 +255,16 @@ shared, in-used { x: y; } +<===> use_into_use_and_use_into_import_into_use/warning +DEPRECATION WARNING on line 1, column 9 of _importer.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> use_and_import_into_diamond_extend/input.scss @@ -262,6 +311,25 @@ in-shared, right-extendee, left-extendee { x: y; } +<===> use_and_import_into_diamond_extend/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "downstream"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 3, column 9 of input.scss: +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 + , +3 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> isolated_through_import/input.scss @@ -295,3 +363,13 @@ in-shared, right-extendee, left-extendee { .in-shared, .in-used-by-imported { a: b; } + +<===> isolated_through_import/warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/use/member/nested_global_variable.hrx b/spec/directives/use/member/nested_global_variable.hrx index 41b9f8ebd9..d07a16f7e5 100644 --- a/spec/directives/use/member/nested_global_variable.hrx +++ b/spec/directives/use/member/nested_global_variable.hrx @@ -46,3 +46,13 @@ x { a { b: null; } + +<===> through_import/warning +DEPRECATION WARNING on line 1, column 9 of used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/use/member/use_to_import.hrx b/spec/directives/use/member/use_to_import.hrx index 985d6bb0a4..5aafd51076 100644 --- a/spec/directives/use/member/use_to_import.hrx +++ b/spec/directives/use/member/use_to_import.hrx @@ -14,6 +14,16 @@ a { b: value; } +<===> variable_use/warning +DEPRECATION WARNING on line 1, column 9 of midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> variable_assignment/input.scss @@ -36,6 +46,16 @@ a { b: new value; } +<===> variable_assignment/warning +DEPRECATION WARNING on line 1, column 9 of midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> function/input.scss @@ -54,6 +74,16 @@ a { b: value; } +<===> function/warning +DEPRECATION WARNING on line 1, column 9 of midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> mixin/input.scss @@ -71,3 +101,13 @@ a { a { b: c; } + +<===> mixin/warning +DEPRECATION WARNING on line 1, column 9 of midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' diff --git a/spec/directives/use/with/through_import.hrx b/spec/directives/use/with/through_import.hrx index f98c661c40..60abbcf6cd 100644 --- a/spec/directives/use/with/through_import.hrx +++ b/spec/directives/use/with/through_import.hrx @@ -13,6 +13,16 @@ b { c: configured; } +<===> direct/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "imported"; + | ^^^^^^^^^^ + ' + <===> ================================================================================ <===> transitive/input.scss @@ -32,3 +42,22 @@ b {c: $a} b { c: configured; } + +<===> transitive/warning +DEPRECATION WARNING on line 1, column 9 of _used.scss: +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 + , +1 | @import "midstream"; + | ^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _midstream.scss: +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 + , +1 | @import "upstream"; + | ^^^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_1081.hrx b/spec/libsass-closed-issues/issue_1081.hrx index 936a39c57f..05e88cb18a 100644 --- a/spec/libsass-closed-issues/issue_1081.hrx +++ b/spec/libsass-closed-issues/issue_1081.hrx @@ -39,6 +39,15 @@ after import-after { } <===> warning +DEPRECATION WARNING on line 10, column 11 of input.scss: +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 + , +10 | @import "import"; + | ^^^^^^^^ + ' + DEPRECATION WARNING: As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables. Since this assignment is at the root of the stylesheet, the !global flag is diff --git a/spec/libsass-closed-issues/issue_1103.hrx b/spec/libsass-closed-issues/issue_1103.hrx index 837389f569..76c1cdffd5 100644 --- a/spec/libsass-closed-issues/issue_1103.hrx +++ b/spec/libsass-closed-issues/issue_1103.hrx @@ -32,7 +32,6 @@ baz { foo { bar: baz; } - baz { bar: foo; } @@ -41,7 +40,6 @@ baz { foo { bar: baz; } - baz { bar: foo; } @@ -50,7 +48,6 @@ baz { foo { bar: baz; } - baz { bar: foo; } @@ -59,8 +56,26 @@ baz { foo { bar: baz; } - baz { bar: foo; } } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "import"; + | ^^^^^^^^ + ' + +DEPRECATION WARNING on line 9, column 13 of input.scss: +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 + , +9 | @import "import"; + | ^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_1766.hrx b/spec/libsass-closed-issues/issue_1766.hrx index 3b71015b88..43eb5953fd 100644 --- a/spec/libsass-closed-issues/issue_1766.hrx +++ b/spec/libsass-closed-issues/issue_1766.hrx @@ -16,3 +16,22 @@ foo { bar: baz } bar: baz; } } + +<===> warning +DEPRECATION WARNING on line 1, column 22 of input.scss: +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 + , +1 | @media all { @import "foo.scss" } + | ^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 22 of input.scss: +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 | @media all { @import "foo.scss"; } + | ^^^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_1801/import-cycle.hrx b/spec/libsass-closed-issues/issue_1801/import-cycle.hrx index 551d2d69cf..9dbb41351b 100644 --- a/spec/libsass-closed-issues/issue_1801/import-cycle.hrx +++ b/spec/libsass-closed-issues/issue_1801/import-cycle.hrx @@ -8,6 +8,33 @@ @import 'alpha'; <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import 'alpha'; + | ^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _alpha.scss: +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 + , +1 | @import 'beta'; + | ^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _beta.scss: +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 + , +1 | @import 'alpha'; + | ^^^^^^^ + ' + Error: This file is already being loaded. ,--> _beta.scss 1 | @import 'alpha'; diff --git a/spec/libsass-closed-issues/issue_2106/test.hrx b/spec/libsass-closed-issues/issue_2106/test.hrx index 1b9c878207..10f1f74d87 100644 --- a/spec/libsass-closed-issues/issue_2106/test.hrx +++ b/spec/libsass-closed-issues/issue_2106/test.hrx @@ -2,6 +2,15 @@ @import "../does-not-exist"; <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "../does-not-exist"; + | ^^^^^^^^^^^^^^^^^^^ + ' + Error: Can't find stylesheet to import. , 1 | @import "../does-not-exist"; diff --git a/spec/libsass-closed-issues/issue_2233.hrx b/spec/libsass-closed-issues/issue_2233.hrx index b15a6000ba..2bf27864d5 100644 --- a/spec/libsass-closed-issues/issue_2233.hrx +++ b/spec/libsass-closed-issues/issue_2233.hrx @@ -12,3 +12,13 @@ a { b: c; } b: c; } } + +<===> warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "foo" + | ^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_2295/basic.hrx b/spec/libsass-closed-issues/issue_2295/basic.hrx index a8de98ff8b..79f21aa3d6 100644 --- a/spec/libsass-closed-issues/issue_2295/basic.hrx +++ b/spec/libsass-closed-issues/issue_2295/basic.hrx @@ -10,3 +10,13 @@ .my-scope .foo { display: none; } + +<===> warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 'include.scss'; + | ^^^^^^^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_2295/original.hrx b/spec/libsass-closed-issues/issue_2295/original.hrx index 30f519ba95..8ba413c088 100644 --- a/spec/libsass-closed-issues/issue_2295/original.hrx +++ b/spec/libsass-closed-issues/issue_2295/original.hrx @@ -26,3 +26,13 @@ $include-foo: true !default; .my-scope .foo { display: none; } + +<===> warning +DEPRECATION WARNING on line 7, column 11 of input.scss: +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 + , +7 | @import 'input-bug'; + | ^^^^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_2303.hrx b/spec/libsass-closed-issues/issue_2303.hrx index 7f7b3ef90c..2dab906ca1 100644 --- a/spec/libsass-closed-issues/issue_2303.hrx +++ b/spec/libsass-closed-issues/issue_2303.hrx @@ -19,3 +19,13 @@ .wrapper-class .broken { background: red; } + +<===> warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 'module'; + | ^^^^^^^^ + ' diff --git a/spec/libsass-closed-issues/issue_2304.hrx b/spec/libsass-closed-issues/issue_2304.hrx index f98e47d8d3..63c711c2b2 100644 --- a/spec/libsass-closed-issues/issue_2304.hrx +++ b/spec/libsass-closed-issues/issue_2304.hrx @@ -9,6 +9,15 @@ background: red; } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "module"; + | ^^^^^^^^ + ' + Error: Top-level selectors may not contain the parent selector "&". , 1 | .foo, & { diff --git a/spec/libsass-closed-issues/issue_279.hrx b/spec/libsass-closed-issues/issue_279.hrx index 28845843fb..8c123a76bf 100644 --- a/spec/libsass-closed-issues/issue_279.hrx +++ b/spec/libsass-closed-issues/issue_279.hrx @@ -16,3 +16,13 @@ .theme .test-hello, .theme .test-world { color: red; } + +<===> warning +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 "foo.scss"; + | ^^^^^^^^^^ + ' diff --git a/spec/libsass-todo-issues/issue_1763.hrx b/spec/libsass-todo-issues/issue_1763.hrx index 000f1619ab..a27b93f920 100644 --- a/spec/libsass-todo-issues/issue_1763.hrx +++ b/spec/libsass-todo-issues/issue_1763.hrx @@ -15,3 +15,13 @@ a { b: c } foo { bar: baz; } + +<===> warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "first.scss", "second.scss" (max-width: 400px); + | ^^^^^^^^^^^^ + ' diff --git a/spec/libsass-todo-issues/issue_1801/simple-import-loop.hrx b/spec/libsass-todo-issues/issue_1801/simple-import-loop.hrx index c7edf02307..dd2528a38c 100644 --- a/spec/libsass-todo-issues/issue_1801/simple-import-loop.hrx +++ b/spec/libsass-todo-issues/issue_1801/simple-import-loop.hrx @@ -5,6 +5,24 @@ @import 'susy'; <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import 'susy'; + | ^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 9 of _susy.scss: +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 + , +1 | @import 'susy'; + | ^^^^^^ + ' + Error: This file is already being loaded. ,--> _susy.scss 1 | @import 'susy'; diff --git a/spec/libsass-todo-issues/issue_2295/error/basic.hrx b/spec/libsass-todo-issues/issue_2295/error/basic.hrx index 7091fcdd35..a619f4f3a0 100644 --- a/spec/libsass-todo-issues/issue_2295/error/basic.hrx +++ b/spec/libsass-todo-issues/issue_2295/error/basic.hrx @@ -6,9 +6,18 @@ display: none; <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 'include.scss'; + | ^^^^^^^^^^^^^^ + ' + Error: expected "{". , -1 | display: none; +1 | display: none; | ^ ' include.scss 1:14 @import diff --git a/spec/libsass-todo-issues/issue_2295/error/wrapped.hrx b/spec/libsass-todo-issues/issue_2295/error/wrapped.hrx index e00f73d386..2b47b95ed1 100644 --- a/spec/libsass-todo-issues/issue_2295/error/wrapped.hrx +++ b/spec/libsass-todo-issues/issue_2295/error/wrapped.hrx @@ -7,9 +7,18 @@ display: none; } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 'include.scss'; + | ^^^^^^^^^^^^^^ + ' + Error: expected "{". , -2 | display: none; +2 | display: none; | ^ ' include.scss 2:16 @import diff --git a/spec/libsass/base-level-parent/imported/at-root-alone-itpl.hrx b/spec/libsass/base-level-parent/imported/at-root-alone-itpl.hrx index b5694e8f8a..845831f759 100644 --- a/spec/libsass/base-level-parent/imported/at-root-alone-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-alone-itpl.hrx @@ -10,6 +10,15 @@ } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: expected selector. , 2 | #{&} { diff --git a/spec/libsass/base-level-parent/imported/at-root-alone.hrx b/spec/libsass/base-level-parent/imported/at-root-alone.hrx index 8d574c0f4d..b14e4a7356 100644 --- a/spec/libsass/base-level-parent/imported/at-root-alone.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-alone.hrx @@ -9,6 +9,15 @@ } } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: Top-level selectors may not contain the parent selector "&". , 2 | & { diff --git a/spec/libsass/base-level-parent/imported/at-root-postfix-itpl.hrx b/spec/libsass/base-level-parent/imported/at-root-postfix-itpl.hrx index 6f38ae56c5..68368741d4 100644 --- a/spec/libsass/base-level-parent/imported/at-root-postfix-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-postfix-itpl.hrx @@ -13,3 +13,13 @@ post foo { bar: baz; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' diff --git a/spec/libsass/base-level-parent/imported/at-root-postfix.hrx b/spec/libsass/base-level-parent/imported/at-root-postfix.hrx index 67710710cb..c1d0e1968f 100644 --- a/spec/libsass/base-level-parent/imported/at-root-postfix.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-postfix.hrx @@ -9,6 +9,15 @@ } } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: Top-level selectors may not contain the parent selector "&". , 2 | &post { diff --git a/spec/libsass/base-level-parent/imported/at-root-prefix-itpl.hrx b/spec/libsass/base-level-parent/imported/at-root-prefix-itpl.hrx index d8236ab955..7e35db9017 100644 --- a/spec/libsass/base-level-parent/imported/at-root-prefix-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-prefix-itpl.hrx @@ -13,3 +13,13 @@ pre foo { bar: baz; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' diff --git a/spec/libsass/base-level-parent/imported/at-root-prefix.hrx b/spec/libsass/base-level-parent/imported/at-root-prefix.hrx index d88b57cec7..234d34b4f4 100644 --- a/spec/libsass/base-level-parent/imported/at-root-prefix.hrx +++ b/spec/libsass/base-level-parent/imported/at-root-prefix.hrx @@ -9,6 +9,15 @@ } } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: "&" may only used at the beginning of a compound selector. , 2 | pre& { diff --git a/spec/libsass/base-level-parent/imported/basic-alone-itpl.hrx b/spec/libsass/base-level-parent/imported/basic-alone-itpl.hrx index 411eb6f74f..9347d89d92 100644 --- a/spec/libsass/base-level-parent/imported/basic-alone-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/basic-alone-itpl.hrx @@ -8,6 +8,15 @@ } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: expected selector. , 1 | #{&} { diff --git a/spec/libsass/base-level-parent/imported/basic-alone.hrx b/spec/libsass/base-level-parent/imported/basic-alone.hrx index e71ce731cf..9ade00457d 100644 --- a/spec/libsass/base-level-parent/imported/basic-alone.hrx +++ b/spec/libsass/base-level-parent/imported/basic-alone.hrx @@ -8,6 +8,15 @@ } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: Top-level selectors may not contain the parent selector "&". , 1 | & { diff --git a/spec/libsass/base-level-parent/imported/basic-postfix-itpl.hrx b/spec/libsass/base-level-parent/imported/basic-postfix-itpl.hrx index 9e5e73a93a..45a73e507e 100644 --- a/spec/libsass/base-level-parent/imported/basic-postfix-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/basic-postfix-itpl.hrx @@ -11,3 +11,13 @@ post foo { bar: baz; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' diff --git a/spec/libsass/base-level-parent/imported/basic-postfix.hrx b/spec/libsass/base-level-parent/imported/basic-postfix.hrx index cfaf2cd7f5..f11595bdd6 100644 --- a/spec/libsass/base-level-parent/imported/basic-postfix.hrx +++ b/spec/libsass/base-level-parent/imported/basic-postfix.hrx @@ -7,6 +7,15 @@ } } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: Top-level selectors may not contain the parent selector "&". , 1 | &post { diff --git a/spec/libsass/base-level-parent/imported/basic-prefix-itpl.hrx b/spec/libsass/base-level-parent/imported/basic-prefix-itpl.hrx index 1ea2ef4d63..575f41320e 100644 --- a/spec/libsass/base-level-parent/imported/basic-prefix-itpl.hrx +++ b/spec/libsass/base-level-parent/imported/basic-prefix-itpl.hrx @@ -11,3 +11,13 @@ pre#{&} { pre foo { bar: baz; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' diff --git a/spec/libsass/base-level-parent/imported/basic-prefix.hrx b/spec/libsass/base-level-parent/imported/basic-prefix.hrx index 41a4a999c4..2d95948dc4 100644 --- a/spec/libsass/base-level-parent/imported/basic-prefix.hrx +++ b/spec/libsass/base-level-parent/imported/basic-prefix.hrx @@ -7,6 +7,15 @@ pre& { } } <===> error +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "include.scss"; + | ^^^^^^^^^^^^^^ + ' + Error: "&" may only used at the beginning of a compound selector. , 1 | pre& { diff --git a/spec/libsass/bourbon.hrx b/spec/libsass/bourbon.hrx index 3b564ed606..fc41397779 100644 --- a/spec/libsass/bourbon.hrx +++ b/spec/libsass/bourbon.hrx @@ -1936,6 +1936,465 @@ div { } <===> warning +DEPRECATION WARNING on line 2, column 9 of input.scss: +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 "lib/_bourbon.scss"; + | ^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 2, column 9 of lib/_bourbon.scss: +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 "helpers/deprecated-webkit-gradient"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 3, column 9 of lib/_bourbon.scss: +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 + , +3 | @import "helpers/gradient-positions-parser"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 9 of lib/_bourbon.scss: +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 + , +4 | @import "helpers/linear-positions-parser"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 5, column 9 of lib/_bourbon.scss: +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 + , +5 | @import "helpers/radial-arg-parser"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 6, column 9 of lib/_bourbon.scss: +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 + , +6 | @import "helpers/radial-positions-parser"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 7, column 9 of lib/_bourbon.scss: +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 + , +7 | @import "helpers/render-gradients"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 8, column 9 of lib/_bourbon.scss: +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 + , +8 | @import "helpers/shape-size-stripper"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 11, column 9 of lib/_bourbon.scss: +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 + , +11 | @import "functions/compact"; + | ^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 12, column 9 of lib/_bourbon.scss: +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 + , +12 | @import "functions/flex-grid"; + | ^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 13, column 9 of lib/_bourbon.scss: +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 + , +13 | @import "functions/grid-width"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 14, column 9 of lib/_bourbon.scss: +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 + , +14 | @import "functions/linear-gradient"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 15, column 9 of lib/_bourbon.scss: +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 + , +15 | @import "functions/modular-scale"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 16, column 9 of lib/_bourbon.scss: +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 + , +16 | @import "functions/px-to-em"; + | ^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 17, column 9 of lib/_bourbon.scss: +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 + , +17 | @import "functions/radial-gradient"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 18, column 9 of lib/_bourbon.scss: +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 + , +18 | @import "functions/tint-shade"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 19, column 9 of lib/_bourbon.scss: +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 + , +19 | @import "functions/transition-property-name"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 22, column 9 of lib/_bourbon.scss: +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 + , +22 | @import "css3/animation"; + | ^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 23, column 9 of lib/_bourbon.scss: +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 + , +23 | @import "css3/appearance"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 24, column 9 of lib/_bourbon.scss: +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 + , +24 | @import "css3/backface-visibility"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 25, column 9 of lib/_bourbon.scss: +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 + , +25 | @import "css3/background"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 26, column 9 of lib/_bourbon.scss: +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 + , +26 | @import "css3/background-image"; + | ^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 27, column 9 of lib/_bourbon.scss: +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 + , +27 | @import "css3/border-image"; + | ^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 28, column 9 of lib/_bourbon.scss: +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 + , +28 | @import "css3/border-radius"; + | ^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 29, column 9 of lib/_bourbon.scss: +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 + , +29 | @import "css3/box-sizing"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 30, column 9 of lib/_bourbon.scss: +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 + , +30 | @import "css3/columns"; + | ^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 31, column 9 of lib/_bourbon.scss: +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 + , +31 | @import "css3/flex-box"; + | ^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 32, column 9 of lib/_bourbon.scss: +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 + , +32 | @import "css3/font-face"; + | ^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 33, column 9 of lib/_bourbon.scss: +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 + , +33 | @import "css3/hidpi-media-query"; + | ^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 34, column 9 of lib/_bourbon.scss: +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 + , +34 | @import "css3/image-rendering"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 35, column 9 of lib/_bourbon.scss: +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 + , +35 | @import "css3/inline-block"; + | ^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 36, column 9 of lib/_bourbon.scss: +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 + , +36 | @import "css3/keyframes"; + | ^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 37, column 9 of lib/_bourbon.scss: +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 + , +37 | @import "css3/linear-gradient"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 38, column 9 of lib/_bourbon.scss: +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 + , +38 | @import "css3/perspective"; + | ^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 39, column 9 of lib/_bourbon.scss: +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 + , +39 | @import "css3/radial-gradient"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 40, column 9 of lib/_bourbon.scss: +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 + , +40 | @import "css3/transform"; + | ^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 41, column 9 of lib/_bourbon.scss: +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 + , +41 | @import "css3/transition"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 42, column 9 of lib/_bourbon.scss: +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 + , +42 | @import "css3/user-select"; + | ^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 43, column 9 of lib/_bourbon.scss: +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 + , +43 | @import "css3/placeholder"; + | ^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 46, column 9 of lib/_bourbon.scss: +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 + , +46 | @import "addons/button"; + | ^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 47, column 9 of lib/_bourbon.scss: +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 + , +47 | @import "addons/clearfix"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 48, column 9 of lib/_bourbon.scss: +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 + , +48 | @import "addons/font-family"; + | ^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 49, column 9 of lib/_bourbon.scss: +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 + , +49 | @import "addons/hide-text"; + | ^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 50, column 9 of lib/_bourbon.scss: +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 + , +50 | @import "addons/html5-input-types"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 51, column 9 of lib/_bourbon.scss: +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 + , +51 | @import "addons/position"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 52, column 9 of lib/_bourbon.scss: +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 + , +52 | @import "addons/prefixer"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 53, column 9 of lib/_bourbon.scss: +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 + , +53 | @import "addons/retina-image"; + | ^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 54, column 9 of lib/_bourbon.scss: +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 + , +54 | @import "addons/size"; + | ^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 55, column 9 of lib/_bourbon.scss: +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 + , +55 | @import "addons/timing-functions"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 56, column 9 of lib/_bourbon.scss: +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 + , +56 | @import "addons/triangle"; + | ^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 59, column 9 of lib/_bourbon.scss: +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 + , +59 | @import "bourbon-deprecated-upcoming"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ' + DEPRECATION WARNING: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0. Use string.unquote instead. diff --git a/spec/non_conformant/basic/14_imports.hrx b/spec/non_conformant/basic/14_imports.hrx index 463a0da7ad..87d79913ef 100644 --- a/spec/non_conformant/basic/14_imports.hrx +++ b/spec/non_conformant/basic/14_imports.hrx @@ -58,6 +58,42 @@ foo blux { } <===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "a.scss"; + | ^^^^^^^^ + ' + +DEPRECATION WARNING on line 7, column 13 of input.scss: +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 + , +7 | @import "../14_imports/b.scss"; + | ^^^^^^^^^^^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 10, column 11 of input.scss: +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 + , +10 | @import "sub/c.scss"; + | ^^^^^^^^^^^^ + ' + +DEPRECATION WARNING on line 4, column 11 of b.scss: +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 + , +4 | @import "d.scss"; + | ^^^^^^^^ + ' + DEPRECATION WARNING: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested diff --git a/spec/non_conformant/errors/import/file/control-else.hrx b/spec/non_conformant/errors/import/file/control-else.hrx index a3f9ab04ae..1b55e27d7d 100644 --- a/spec/non_conformant/errors/import/file/control-else.hrx +++ b/spec/non_conformant/errors/import/file/control-else.hrx @@ -7,9 +7,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 3, column 11 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/control-if.hrx b/spec/non_conformant/errors/import/file/control-if.hrx index b70d8b68fc..5003805172 100644 --- a/spec/non_conformant/errors/import/file/control-if.hrx +++ b/spec/non_conformant/errors/import/file/control-if.hrx @@ -6,9 +6,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/loop/each.hrx b/spec/non_conformant/errors/import/file/loop/each.hrx index f6c4a13deb..041d61c126 100644 --- a/spec/non_conformant/errors/import/file/loop/each.hrx +++ b/spec/non_conformant/errors/import/file/loop/each.hrx @@ -6,9 +6,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/loop/for.hrx b/spec/non_conformant/errors/import/file/loop/for.hrx index 59498467ea..396c88d7ae 100644 --- a/spec/non_conformant/errors/import/file/loop/for.hrx +++ b/spec/non_conformant/errors/import/file/loop/for.hrx @@ -6,9 +6,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/loop/while.hrx b/spec/non_conformant/errors/import/file/loop/while.hrx index 18d62ed9ed..577e03ea91 100644 --- a/spec/non_conformant/errors/import/file/loop/while.hrx +++ b/spec/non_conformant/errors/import/file/loop/while.hrx @@ -8,9 +8,18 @@ $count: 0; <===> _include.scss <===> error +DEPRECATION WARNING on line 3, column 11 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/mixin/control-else/inside.hrx b/spec/non_conformant/errors/import/file/mixin/control-else/inside.hrx index 3dc0bbaae1..980b9078e0 100644 --- a/spec/non_conformant/errors/import/file/mixin/control-else/inside.hrx +++ b/spec/non_conformant/errors/import/file/mixin/control-else/inside.hrx @@ -12,9 +12,18 @@ foo { <===> _include.scss <===> error +DEPRECATION WARNING on line 4, column 13 of input.scss: +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 + , +4 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -4 | @import '_include'; +4 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 4:5 root stylesheet diff --git a/spec/non_conformant/errors/import/file/mixin/control-else/outside.hrx b/spec/non_conformant/errors/import/file/mixin/control-else/outside.hrx index 16516176a9..7a0bd7b1bd 100644 --- a/spec/non_conformant/errors/import/file/mixin/control-else/outside.hrx +++ b/spec/non_conformant/errors/import/file/mixin/control-else/outside.hrx @@ -11,9 +11,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/file/mixin/control-if/inside.hrx b/spec/non_conformant/errors/import/file/mixin/control-if/inside.hrx index 9c1a925572..110ac5eb37 100644 --- a/spec/non_conformant/errors/import/file/mixin/control-if/inside.hrx +++ b/spec/non_conformant/errors/import/file/mixin/control-if/inside.hrx @@ -11,9 +11,18 @@ foo { <===> _include.scss <===> error +DEPRECATION WARNING on line 3, column 13 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:5 root stylesheet diff --git a/spec/non_conformant/errors/import/file/mixin/control-if/outside.hrx b/spec/non_conformant/errors/import/file/mixin/control-if/outside.hrx index 40dfd3ff08..0eead46131 100644 --- a/spec/non_conformant/errors/import/file/mixin/control-if/outside.hrx +++ b/spec/non_conformant/errors/import/file/mixin/control-if/outside.hrx @@ -9,9 +9,18 @@ <===> _include.scss <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/control-else.hrx b/spec/non_conformant/errors/import/miss/control-else.hrx index db2cfe5ae7..e4ad0b6a96 100644 --- a/spec/non_conformant/errors/import/miss/control-else.hrx +++ b/spec/non_conformant/errors/import/miss/control-else.hrx @@ -5,9 +5,18 @@ } <===> error +DEPRECATION WARNING on line 3, column 11 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/control-if.hrx b/spec/non_conformant/errors/import/miss/control-if.hrx index dbce6cc2d4..8762566efc 100644 --- a/spec/non_conformant/errors/import/miss/control-if.hrx +++ b/spec/non_conformant/errors/import/miss/control-if.hrx @@ -4,9 +4,18 @@ } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/loop/each.hrx b/spec/non_conformant/errors/import/miss/loop/each.hrx index 6b9b013f1c..ad85ca38b8 100644 --- a/spec/non_conformant/errors/import/miss/loop/each.hrx +++ b/spec/non_conformant/errors/import/miss/loop/each.hrx @@ -4,9 +4,18 @@ } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/loop/for.hrx b/spec/non_conformant/errors/import/miss/loop/for.hrx index 7e5cd98ba4..00a5e9f30c 100644 --- a/spec/non_conformant/errors/import/miss/loop/for.hrx +++ b/spec/non_conformant/errors/import/miss/loop/for.hrx @@ -4,9 +4,18 @@ } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/loop/while.hrx b/spec/non_conformant/errors/import/miss/loop/while.hrx index fb0a415d6e..48a3a0dee7 100644 --- a/spec/non_conformant/errors/import/miss/loop/while.hrx +++ b/spec/non_conformant/errors/import/miss/loop/while.hrx @@ -6,9 +6,18 @@ $count: 0; } <===> error +DEPRECATION WARNING on line 3, column 11 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/mixin/control-else/inside.hrx b/spec/non_conformant/errors/import/miss/mixin/control-else/inside.hrx index 46fa86d16d..14436b11bd 100644 --- a/spec/non_conformant/errors/import/miss/mixin/control-else/inside.hrx +++ b/spec/non_conformant/errors/import/miss/mixin/control-else/inside.hrx @@ -10,9 +10,18 @@ foo { @include do_import(); } <===> error +DEPRECATION WARNING on line 4, column 13 of input.scss: +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 + , +4 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -4 | @import '_include'; +4 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 4:5 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/mixin/control-else/outside.hrx b/spec/non_conformant/errors/import/miss/mixin/control-else/outside.hrx index 1cdbca5e82..895366c938 100644 --- a/spec/non_conformant/errors/import/miss/mixin/control-else/outside.hrx +++ b/spec/non_conformant/errors/import/miss/mixin/control-else/outside.hrx @@ -9,9 +9,18 @@ } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/mixin/control-if/inside.hrx b/spec/non_conformant/errors/import/miss/mixin/control-if/inside.hrx index ac05941f80..5be554a66d 100644 --- a/spec/non_conformant/errors/import/miss/mixin/control-if/inside.hrx +++ b/spec/non_conformant/errors/import/miss/mixin/control-if/inside.hrx @@ -9,9 +9,18 @@ foo { @include do_import(); } <===> error +DEPRECATION WARNING on line 3, column 13 of input.scss: +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 + , +3 | @import '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -3 | @import '_include'; +3 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 3:5 root stylesheet diff --git a/spec/non_conformant/errors/import/miss/mixin/control-if/outside.hrx b/spec/non_conformant/errors/import/miss/mixin/control-if/outside.hrx index b7bc256e26..6adb4c1054 100644 --- a/spec/non_conformant/errors/import/miss/mixin/control-if/outside.hrx +++ b/spec/non_conformant/errors/import/miss/mixin/control-if/outside.hrx @@ -7,9 +7,18 @@ @include do_import(); } <===> error +DEPRECATION WARNING on line 2, column 11 of input.scss: +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 '_include'; + | ^^^^^^^^^^ + ' + Error: This at-rule is not allowed here. , -2 | @import '_include'; +2 | @import '_include'; | ^^^^^^^^^^^^^^^^^^ ' input.scss 2:3 root stylesheet diff --git a/spec/non_conformant/sass/import/unquoted.hrx b/spec/non_conformant/sass/import/unquoted.hrx index 1b24b3d594..d8784bb9dc 100644 --- a/spec/non_conformant/sass/import/unquoted.hrx +++ b/spec/non_conformant/sass/import/unquoted.hrx @@ -15,3 +15,22 @@ a { d { e: f; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.sass: +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 + , +1 | @import unquoted, sub/unquoted + | ^^^^^^^^ + ' + +DEPRECATION WARNING on line 1, column 19 of input.sass: +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 + , +1 | @import unquoted, sub/unquoted + | ^^^^^^^^^^^^ + ' diff --git a/spec/non_conformant/sass/imported.hrx b/spec/non_conformant/sass/imported.hrx index 660017b95f..700002bbb5 100644 --- a/spec/non_conformant/sass/imported.hrx +++ b/spec/non_conformant/sass/imported.hrx @@ -14,3 +14,13 @@ div a { div li { color: green; } + +<===> warning +DEPRECATION WARNING on line 1, column 9 of input.scss: +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 + , +1 | @import "imported.sass"; + | ^^^^^^^^^^^^^^^ + '