Skip to content

Bump sass-migrator from 1.7.3 to 2.6.1 - #236

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sass-migrator-2.6.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sass-migrator-2.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown
Contributor

Bumps sass-migrator from 1.7.3 to 2.6.1.

Release notes

Sourced from sass-migrator's releases.

Sass Migrator 2.6.1

if() Function Migrator

  • Fix a bug where if(C, null, V) would be incorrectly migrated to if(sass(C): null) rather than if(not sass(C): V).

  • Migrate if(C, V, null) to if(sass(C): V) rather than if(sass(C): V; else: null). The extra else clause was redundant.

See the full changelog for changes in earlier releases.

Sass Migrator 2.6.0

Module Migrator

  • Add support for import-only files that include a mixin from their corresponding regular file. For example, given code like:

    styles.scss:

    a {
      $color: blue;
      @import "library";
      background: $bg;
    }

    _library.scss:

    $bg: gold;
    @mixin styles($color) {
      b {
        color: $color;
      }
    }

    _library.import.scss:

    @forward "library";
    @use "library";
    @include library.styles($color);
    

    the migrator will migrate styles.scss to:

    @use "library";
    

    a {
    $color: blue;
    @​include library.styles($color);
    background: library.$bg;
    }

... (truncated)

Changelog

Sourced from sass-migrator's changelog.

2.6.1

if() Function Migrator

  • Fix a bug where if(C, null, V) would be incorrectly migrated to if(sass(C): null) rather than if(not sass(C): V).

  • Migrate if(C, V, null) to if(sass(C): V) rather than if(sass(C): V; else: null). The extra else clause was redundant.

2.6.0

Module Migrator

  • Add support for import-only files that include a mixin from their corresponding regular file. For example, given code like:

    styles.scss:

    a {
      $color: blue;
      @import "library";
      background: $bg;
    }

    _library.scss:

    $bg: gold;
    @mixin styles($color) {
      b {
        color: $color;
      }
    }

    _library.import.scss:

    @forward "library";
    @use "library";
    @include library.styles($color);
    

    the migrator will migrate styles.scss to:

    @use "library";
    

    a {
    $color: blue;
    @​include library.styles($color);

... (truncated)

Commits
  • 4bf2f02 Add tests for if() with null arguments and fix a bug
  • 045e956 Support import-only files with include rules (#300)
  • 6624ad6 Work around Dart 3.13 breaking node_io (#301)
  • b9c56e4 Support @forward rules with --migrate-deps (#299)
  • 36efb71 Increase the Node.js version we test and release against (#295)
  • 5374d98 Use a defined Node version (#294)
  • 9a9258b Get the Node and npm versions necessary for trusted publishing (#293)
  • 752a9ce Enable the permissions necessary to do npm trusted publishing (#292)
  • 6627a92 Use trusted publishing rather than tokens to deploy to npm (#291)
  • afc2a8d Add a changelog entry for 2.5.1 (#290)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for sass-migrator since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [sass-migrator](https://github.com/sass/migrator) from 1.7.3 to 2.6.1.
- [Release notes](https://github.com/sass/migrator/releases)
- [Changelog](https://github.com/sass/migrator/blob/main/CHANGELOG.md)
- [Commits](sass/migrator@1.7.3...2.6.1)

---
updated-dependencies:
- dependency-name: sass-migrator
  dependency-version: 2.6.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code major labels Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update javascript code major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants