Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update del in web/app/themes/cnh/package.json from ^1.2.1 to 3.0.0 #40

Closed
wants to merge 1 commit into from

Conversation

dependencies[bot]
Copy link
Contributor

@dependencies dependencies bot commented Aug 7, 2018

Overview

The following dependencies have been updated by dependencies.io:

  • del in web/app/themes/cnh/package.json from "^1.2.1" to "3.0.0"

Details

del

This dependency is located in web/app/themes/cnh/package.json and was updated from "^1.2.1" to "3.0.0".

2.0.0

The API now returns a promise instead of accepting a callback function.

Update your code accordingly:

 var del = require('del');

- del('unicorn.png', function (error, paths) {
+ del('unicorn.png').then(function (paths) {
     console.log('Deleted files/folders:\n', paths.join('\n'));
 });

And with gulp:

 var gulp = require('gulp');
 var del = require('del');

- gulp.task('clean', function (cb) {
-   del('unicorn.png', cb);
+ gulp.task('clean', function () {
+   return del('unicorn.png');
 });

 gulp.task('default', ['clean']);


We didn't find any content for 2.0.1, 2.0.2, 2.1.0, 2.2.0, 2.2.1, 2.2.2, or 3.0.0. Feel free to open an issue at https://github.com/dependencies-io/support to suggest any improvements.

@josephnle josephnle closed this Aug 18, 2018
@josephnle josephnle deleted the deps/update-f30175ab branch August 18, 2018 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants