[wp-trac] [WordPress Trac] #62323: Sass Deprecation warnings during build process with v 1.80.x

WordPress Trac noreply at wordpress.org
Thu Jan 16 20:55:41 UTC 2025


#62323: Sass Deprecation warnings during build process with v 1.80.x
------------------------------+------------------------
 Reporter:  MattyRob          |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  reviewing
 Priority:  normal            |   Milestone:  6.8
Component:  Build/Test Tools  |     Version:  6.7
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by desrosj):

 * keywords:  has-patch => has-patch commit


Comment:

 Thanks for this, @MattyRob!

 The patch did not apply correctly, but I went ahead and created the
 attached PR to test it out.
 ```DEPRECATION WARNING [user-authored]: The legacy JS API is deprecated
 and will be removed in Dart Sass 2.0.0.```

 There are still several of these warnings, but I think this is due to
 `grunt-sass` not yet accounting for the changes upstream. There is an
 [https://github.com/sindresorhus/grunt-sass/issues/311 open issue] and
 even [https://www.npmjs.com/package/grunt-sass-modern a fork with the fix
 published as grunt-sass-modern].

 I double checked the built files, and no unexpected CSS changes resulted.
 Will confirm after committing.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62323#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list