From b24eab86b1b52ce2b44895c4cc66478f5ee5f732 Mon Sep 17 00:00:00 2001 From: Simon Potter Date: Sun, 24 Jul 2022 17:43:44 +1200 Subject: [PATCH] Upgrade to latest del package, fix API breaking changes --- src/SJP.Schematic.Reporting/gulpfile.babel.js | 4 ++-- src/SJP.Schematic.Reporting/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SJP.Schematic.Reporting/gulpfile.babel.js b/src/SJP.Schematic.Reporting/gulpfile.babel.js index 381529af7..3a02d3b62 100644 --- a/src/SJP.Schematic.Reporting/gulpfile.babel.js +++ b/src/SJP.Schematic.Reporting/gulpfile.babel.js @@ -8,7 +8,7 @@ import concat from 'gulp-concat'; import cssnano from 'cssnano'; import postcss from 'gulp-postcss'; import postcssPresetEnv from 'postcss-preset-env'; -import del from 'del'; +import { deleteSync } from 'del'; const cssNanoPreset = { preset: ['default', { @@ -19,7 +19,7 @@ const cssNanoPreset = { }; export const clean = () => - del([ + deleteSync([ 'assets/**/*.*' ]); diff --git a/src/SJP.Schematic.Reporting/package.json b/src/SJP.Schematic.Reporting/package.json index 6c713835c..fa59352cd 100644 --- a/src/SJP.Schematic.Reporting/package.json +++ b/src/SJP.Schematic.Reporting/package.json @@ -27,7 +27,7 @@ "cssnano": "5.1.12", "datatables.net": "1.10.25", "datatables.net-bs4": "1.10.24", - "del": "6.1.1", + "del": "7.0.0", "font-awesome": "4.7.0", "gulp": "4.0.2", "gulp-cli": "2.3.0",