sass_migrator 1.1.3 copy "sass_migrator: ^1.1.3" to clipboard
sass_migrator: ^1.1.3 copied to clipboard

outdated

A tool for running migrations on Sass files

1.1.3 #

Module Migrator #

  • Don't remove prefixes from members that would become invalid identifiers afterwards.

1.1.2 #

Module Migrator #

  • Generate better @use rules for index files.

1.1.1 #

Module Migrator #

  • When using --forward=import-only, @forward rules in an import-only file are now sorted with the regular file last, allowing variables in indirect dependencies to be configured.

  • Fixes a bug where some references weren't renamed if a variable is declared twice when using --remove-prefix.

1.1.0 #

  • Add support for glob inputs on the command line.

Module Migrator #

  • Add --forward=import-only option, which will not forward any members through the regular entrypoint, but it will forward all members through the entrypoint's import-only file. --forward=prefixed,import-only is also supported, which will forward prefixed members through the regular entrypoint and all members through the import-only file.

  • Make --remove-prefix=<prefix> --forward=prefixed forward members that previously started with <prefix> and were unprefixed by a previous migrator run. This includes cases where the previously removed prefix is longer than the prefix for the current migrator run.

  • Better handling when migrating files whose dependencies have complex import-only files.

1.0.1 #

Module Migrator #

  • Improve ordering of @use and @forward rules.

  • Fix a bug in the migrating of configurable variables. Variables should now only be considered configured when the configuring declaration is upstream of the !default declaration.

  • When namespacing a negated variable, adds parentheses around it to prevent the - from being parsed as part of the namespace.

  • Fix a bug in the migrating of removed color functions when the amount is a variable being namespaced.

1.0.0 #

  • Initial release.