aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/gulpfile.js
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-10-24 12:46:27 -0700
committerAlec Theriault <alec.theriault@gmail.com>2018-10-24 12:47:47 -0700
commit67a142271f6a590a4307d30ac5c5359632ff21c4 (patch)
tree34ea6774cce3cc2548b1b71be4d81276340b159d /haddock-api/resources/html/gulpfile.js
parente2cd0a8095e6fe3c5081e73beff0d2e2a1cc00f8 (diff)
Update JS dependencies
This was done via `npm audit fix`. I think this fixes #903 along with some more serious vulnerabilities that nobody seems to have noticed.
Diffstat (limited to 'haddock-api/resources/html/gulpfile.js')
-rw-r--r--haddock-api/resources/html/gulpfile.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/haddock-api/resources/html/gulpfile.js b/haddock-api/resources/html/gulpfile.js
index c7cb6782..c456615f 100644
--- a/haddock-api/resources/html/gulpfile.js
+++ b/haddock-api/resources/html/gulpfile.js
@@ -19,9 +19,10 @@ function buildJS(targetFileName, files) {
.pipe(gulp.dest('.'));
}
-gulp.task('build-js', function() {
+gulp.task('build-js', function(done) {
buildJS('quick-jump.min.js', ['./js-src/quick-jump.tsx']);
buildJS('haddock-bundle.min.js', ['./js-src/init.ts']);
+ done();
});
-gulp.task('default', ['build-js']); \ No newline at end of file
+gulp.task('default', gulp.series('build-js'));