Bump dependencies (#848)

* Bump dependencies
This commit is contained in:
Oscar Hinton 2021-04-23 10:45:30 +02:00 committed by GitHub
parent 6dc82a8707
commit e6e79917f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 6002 additions and 7727 deletions

View File

@ -1,7 +1,6 @@
const gulp = require('gulp'); const gulp = require('gulp');
const googleWebFonts = require('gulp-google-webfonts'); const googleWebFonts = require('gulp-google-webfonts');
const del = require('del'); const del = require('del');
const fs = require('fs');
const paths = { const paths = {
cssDir: './src/css/', cssDir: './src/css/',
@ -24,12 +23,6 @@ function webfonts() {
.pipe(gulp.dest(paths.cssDir)); .pipe(gulp.dest(paths.cssDir));
} }
// ref: https://github.com/angular/angular/issues/22524
function cleanupAotIssue() {
return del(['./node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts']);
}
exports.clean = clean; exports.clean = clean;
exports.cleanupAotIssue = cleanupAotIssue;
exports.webfonts = gulp.series(clean, webfonts); exports.webfonts = gulp.series(clean, webfonts);
exports['prebuild:renderer'] = gulp.parallel(webfonts, cleanupAotIssue); exports['prebuild:renderer'] = webfonts;

2
jslib

@ -1 +1 @@
Subproject commit 11fff06b8cd10468ffac617ab8674ba7ea6651a9 Subproject commit aca098645a21eef496e21d7c3a942cf6a83ff7bc

13485
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -246,84 +246,83 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^9.1.12", "@angular/compiler-cli": "^11.2.10",
"@ngtools/webpack": "^9.1.12", "@ngtools/webpack": "^11.2.10",
"@types/lunr": "^2.3.3", "@types/lunr": "^2.3.3",
"@types/node": "^10.17.28", "@types/node": "^10.17.58",
"@types/node-forge": "^0.9.7", "@types/node-forge": "^0.9.7",
"@types/papaparse": "^5.2.0", "@types/papaparse": "^5.2.0",
"@types/semver": "^5.5.0",
"@types/webcrypto": "^0.0.28", "@types/webcrypto": "^0.0.28",
"@types/webpack": "^4.4.11", "@types/webpack": "^4.4.27",
"@types/zxcvbn": "4.4.0", "@types/zxcvbn": "^4.4.1",
"clean-webpack-plugin": "^0.1.19", "clean-webpack-plugin": "^3.0.0",
"concurrently": "^4.0.1", "concurrently": "^6.0.2",
"copy-webpack-plugin": "^5.1.1", "copy-webpack-plugin": "^6.4.0",
"cross-env": "^5.2.0", "cross-env": "^7.0.3",
"css-loader": "^1.0.0", "css-loader": "^5.2.4",
"del": "^3.0.0", "del": "^6.0.0",
"electron": "11.3.0", "electron": "11.4.3",
"electron-builder": "22.10.5", "electron-builder": "22.10.5",
"electron-notarize": "^1.0.0", "electron-notarize": "^1.0.0",
"electron-rebuild": "^2.3.5", "electron-rebuild": "^2.3.5",
"electron-reload": "^1.5.0", "electron-reload": "^1.5.0",
"file-loader": "^2.0.0", "file-loader": "^6.2.0",
"font-awesome": "4.7.0", "font-awesome": "4.7.0",
"gulp": "^4.0.0", "gulp": "^4.0.2",
"gulp-google-webfonts": "^2.0.0", "gulp-google-webfonts": "^4.0.0",
"html-loader": "^0.5.5", "html-loader": "^1.3.2",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^4.5.1",
"mini-css-extract-plugin": "^0.9.0", "mini-css-extract-plugin": "^1.5.0",
"ngx-infinite-scroll": "7.0.1", "node-loader": "^1.0.3",
"node-abi": "^2.9.0",
"node-loader": "^0.6.0",
"node-sass": "^4.13.1",
"patch-package": "^6.4.7", "patch-package": "^6.4.7",
"rimraf": "^2.6.2", "rimraf": "^3.0.2",
"sass-loader": "^7.1.0", "sass": "^1.32.11",
"ts-loader": "^8.0.2", "sass-loader": "^10.1.1",
"tslint": "^6.1.3", "tapable": "^1.1.3",
"ts-loader": "^8.1.0",
"tslint": "~6.1.0",
"tslint-loader": "^3.5.4", "tslint-loader": "^3.5.4",
"typescript": "3.8.3", "typescript": "4.1.5",
"webpack": "^4.29.0", "webpack": "^4.46.0",
"webpack-cli": "^3.2.1", "webpack-cli": "^4.6.0",
"webpack-merge": "^4.2.1", "webpack-merge": "^5.7.3",
"webpack-node-externals": "^1.7.2" "webpack-node-externals": "^3.0.0"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "9.1.12", "@angular/animations": "^11.2.11",
"@angular/cdk": "9.2.4", "@angular/cdk": "^11.2.10",
"@angular/common": "9.1.12", "@angular/cli": "^11.2.10",
"@angular/compiler": "9.1.12", "@angular/common": "^11.2.11",
"@angular/core": "9.1.12", "@angular/compiler": "^11.2.11",
"@angular/forms": "9.1.12", "@angular/core": "^11.2.11",
"@angular/platform-browser": "9.1.12", "@angular/forms": "^11.2.11",
"@angular/platform-browser-dynamic": "9.1.12", "@angular/localize": "^11.2.11",
"@angular/router": "9.1.12", "@angular/platform-browser": "^11.2.11",
"@angular/upgrade": "9.1.12", "@angular/platform-browser-dynamic": "^11.2.11",
"@angular/router": "^11.2.11",
"@microsoft/signalr": "3.1.13", "@microsoft/signalr": "3.1.13",
"@microsoft/signalr-protocol-msgpack": "3.1.13", "@microsoft/signalr-protocol-msgpack": "3.1.13",
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4", "@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
"angular2-toaster": "8.0.0", "angular2-toaster": "^11.0.1",
"big-integer": "1.6.48", "big-integer": "1.6.48",
"browser-hrtime": "^1.1.8", "browser-hrtime": "^1.1.8",
"core-js": "2.6.2",
"duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git", "duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git",
"electron-log": "4.3.0", "electron-log": "^4.3.4",
"electron-store": "6.0.1", "electron-store": "8.0.0",
"electron-updater": "4.3.5", "electron-updater": "^4.3.8",
"forcefocus": "^1.1.0", "forcefocus": "^1.1.0",
"keytar": "7.3.0", "keytar": "^7.6.0",
"lunr": "2.3.3", "lunr": "^2.3.9",
"ngx-infinite-scroll": "^10.0.1",
"node-forge": "0.10.0", "node-forge": "0.10.0",
"node-ipc": "^9.1.1", "node-ipc": "^9.1.4",
"nord": "0.2.1", "nord": "0.2.1",
"papaparse": "5.2.0", "papaparse": "^5.3.0",
"regedit": "^3.0.3", "regedit": "^3.0.3",
"rxjs": "6.6.2", "rxjs": "^6.6.7",
"sweetalert2": "10.15.4", "sweetalert2": "^10.16.6",
"tslib": "^2.0.1", "tslib": "^2.0.0",
"zone.js": "0.10.3", "zone.js": "^0.11.4",
"zxcvbn": "4.4.2" "zxcvbn": "4.4.2"
} }
} }

View File

@ -1,4 +1,3 @@
import 'core-js';
import 'zone.js/dist/zone'; import 'zone.js/dist/zone';
import { ToasterModule } from 'angular2-toaster'; import { ToasterModule } from 'angular2-toaster';

View File

@ -13,14 +13,14 @@
}, },
"dependencies": { "dependencies": {
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4", "@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
"big-integer": "1.6.36", "big-integer": "1.6.48",
"browser-hrtime": "^1.1.8", "browser-hrtime": "^1.1.8",
"electron-log": "4.3.0", "electron-log": "4.3.4",
"electron-store": "6.0.1", "electron-store": "8.0.0",
"electron-updater": "4.3.5", "electron-updater": "4.3.8",
"forcefocus": "^1.1.0", "forcefocus": "^1.1.0",
"keytar": "7.3.0", "keytar": "7.6.0",
"node-ipc": "^9.1.1", "node-ipc": "^9.1.4",
"regedit": "^3.0.3", "regedit": "^3.0.3",
"zxcvbn": "4.4.2" "zxcvbn": "4.4.2"
} }

View File

@ -198,7 +198,7 @@ $fa-font-path: "~font-awesome/fonts";
@extend .btn; @extend .btn;
&.swal2-confirm { &.swal2-confirm {
@extend .btn.primary; @extend .btn, .primary;
font-weight: bold; font-weight: bold;
} }
} }

View File

@ -6,9 +6,8 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"module": "es6", "module": "es6",
"target": "ES2016", "target": "ES2016",
"allowJs": true,
"sourceMap": true, "sourceMap": true,
"types": ["sweetalert2"], "types": [],
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"tldjs": [ "tldjs": [
@ -17,24 +16,6 @@
"jslib/*": [ "jslib/*": [
"jslib/src/*" "jslib/src/*"
], ],
"@angular/*": [
"node_modules/@angular/*"
],
"electron": [
"node_modules/electron"
],
"electron-log": [
"node_modules/electron-log"
],
"electron-store": [
"node_modules/electron-store"
],
"node": [
"node_modules/@types/node"
],
"duo_web_sdk": [
"node_modules/duo_web_sdk"
]
} }
}, },
"angularCompilerOptions": { "angularCompilerOptions": {

View File

@ -1,7 +1,7 @@
const path = require('path'); const path = require('path');
const merge = require('webpack-merge'); const { merge } = require('webpack-merge');
const CopyWebpackPlugin = require('copy-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin'); const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const nodeExternals = require('webpack-node-externals'); const nodeExternals = require('webpack-node-externals');
const common = { const common = {
@ -55,14 +55,14 @@ const main = {
], ],
}, },
plugins: [ plugins: [
new CleanWebpackPlugin([ new CleanWebpackPlugin(),
path.resolve(__dirname, 'build/*'), new CopyWebpackPlugin({
]), patterns: [
new CopyWebpackPlugin([
'./src/package.json', './src/package.json',
{ from: './src/images', to: 'images' }, { from: './src/images', to: 'images' },
{ from: './src/locales', to: 'locales' }, { from: './src/locales', to: 'locales' },
]), ]
}),
], ],
externals: [nodeExternals()], externals: [nodeExternals()],
}; };

View File

@ -1,6 +1,6 @@
const path = require('path'); const path = require('path');
const webpack = require('webpack'); const webpack = require('webpack');
const merge = require('webpack-merge'); const { merge } = require('webpack-merge');
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin; const AngularCompilerPlugin = require('@ngtools/webpack').AngularCompilerPlugin;