Seems they've solved this problem as this related issue is closed - https://github.com/dlmanning/gulp-sass/issues/837
So I've updated the gulp dependencies to their latest versions, and the deprecation warning is gone
"gulp": "^5.0.0",
"gulp-sass": "^6.0.0"