From 047092cd8354b1ca742afc40de97dcc594251956 Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Thu, 5 Dec 2024 14:53:46 +0000 Subject: [PATCH 1/4] Remove del package --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index f6b7627d5..5d1805e0f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,6 @@ "cookie-parser": "^1.4.5", "cross-spawn": "^7.0.2", "csv-string": "^4.0.1", - "del": "^5.1.0", "dotenv": "^16.4.5", "express": "^4.17.1", "express-session": "^1.17.2", From 9631dd6b996494fb6b05cc66cc66303cac789e4b Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Thu, 5 Dec 2024 14:54:13 +0000 Subject: [PATCH 2/4] Install rimraf package --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 5d1805e0f..2ced1035e 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "pluralize": "^8.0.0", "portscanner": "^2.1.1", "require-dir": "^1.0.0", + "rimraf": "^6.0.1", "sass": "^1.77.8", "seedrandom": "^3.0.5", "string": "^3.3.3", From 16f484289a7c9e89cc0aac1e5da05fd1ae61a1a0 Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Thu, 5 Dec 2024 15:04:39 +0000 Subject: [PATCH 3/4] Use the rimraf package --- gulp/clean.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gulp/clean.js b/gulp/clean.js index 916b23eb4..ba3e7cdf9 100755 --- a/gulp/clean.js +++ b/gulp/clean.js @@ -5,11 +5,12 @@ - public */ -const del = require('del') +const { rimrafSync } = require('rimraf') const gulp = require('gulp') const config = require('./config.json') gulp.task('clean', (done) => { - return del([config.paths.public, '.port.tmp'], done) + rimrafSync([config.paths.public, '.port.tmp']) + return done() }) From 14c83a94af02c73608492888060d6726ed831b24 Mon Sep 17 00:00:00 2001 From: Simon Whatley Date: Thu, 5 Dec 2024 15:04:59 +0000 Subject: [PATCH 4/4] Downgrade inquirer package --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ced1035e..8a033574b 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "gulp-nodemon": "^2.5.0", "gulp-sass": "^5.0.0", "gulp-sourcemaps": "^3.0.0", - "inquirer": "^11.0.2", + "inquirer": "^8.2.6", "js-yaml": "^4.1.0", "keypather": "^3.0.0", "lunr": "^2.3.9",