#89 Use OpenPGP.js v5.1.0 (still in progress)

This commit is contained in:
the-djmaze 2022-01-27 16:00:52 +01:00
parent dfd255545a
commit ff7e41ad08
130 changed files with 1871 additions and 44411 deletions

View file

@ -37,17 +37,10 @@ const jsServiceWorker = () => {
// OpenPGP
const jsOpenPGP = () => {
return gulp
.src('vendors/openpgp-2.6.2/dist/openpgp.js')
.src('vendors/openpgp-5/openpgp.js')
.pipe(gulp.dest(config.paths.staticJS));
};
// OpenPGP Worker
const jsOpenPGPWorker = () => {
return gulp
.src('vendors/openpgp-2.6.2/dist/openpgp.worker.min.js')
.pipe(gulp.dest(config.paths.staticMinJS));
};
// libs
const jsLibs = () => {
const src = config.paths.js.libs.src;
@ -131,6 +124,6 @@ exports.jsLint = jsLint;
exports.js = gulp.series(
jsClean,
jsLint,
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsOpenPGPWorker, jsLibs, jsApp, jsAdmin),
gulp.parallel(jsBoot, jsServiceWorker, jsOpenPGP, jsLibs, jsApp, jsAdmin),
jsMin
);