Skip to content

gulp DeprecationWarning in node 14.5? #127

@designosis

Description

@designosis

I have several tasks in my gulpfile.js that are called by other gulp functions, including:

gulp.task('css-clean', function(){
    return del(['css/'+files.dest.css]);
});

After updating from node 14.3.0_1 -> 14.5.0, the above function returns the following warning:

[19:47:15] Starting 'css-clean'...
(node:45141) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[19:47:15] Finished 'css-clean' after 35 ms

Gulp versions are: CLI version: 2.2.0, Local version: 4.0.2

Did node 14.5.0 break del? Happy to help trace it if given instructions on how :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions