Lots of package updates.

This commit is contained in:
baldo 2021-10-14 17:18:30 +02:00
parent 83c2d24381
commit 5edeea4573
3 changed files with 2860 additions and 2424 deletions

5200
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,81 +29,81 @@
"server:run": "npm run server:build && node server-build/main.js"
},
"dependencies": {
"async": "^3.1.0",
"async": "^3.2.1",
"body-parser": "^1.19.0",
"command-line-args": "^5.1.1",
"command-line-args": "^5.2.0",
"command-line-usage": "^6.1.1",
"compression": "^1.7.3",
"deep-extend": "^0.6.0",
"express": "^4.17.1",
"glob": "^7.1.6",
"graceful-fs": "^4.2.3",
"html-to-text": "^6.0.0",
"http-auth": "^4.1.2",
"http-auth-connect": "^1.0.4",
"glob": "^7.2.0",
"graceful-fs": "^4.2.8",
"html-to-text": "^8.0.0",
"http-auth": "^4.1.9",
"http-auth-connect": "^1.0.5",
"http-errors": "^1.7.3",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"ng-admin": "^1.0.13",
"node-cron": "^2.0.1",
"nodemailer": "^6.4.17",
"nodemailer-html-to-text": "^3.1.0",
"node-cron": "^3.0.0",
"nodemailer": "^6.7.0",
"nodemailer-html-to-text": "^3.2.0",
"request": "^2.88.2",
"scribe-js": "^2.0.4",
"serve-static": "^1.14.1",
"sparkson": "^1.3.3",
"sparkson": "^1.3.6",
"sqlite": "^3.0.6"
},
"devDependencies": {
"@types/async": "^3.2.5",
"@types/command-line-args": "^5.0.0",
"@types/command-line-usage": "^5.0.1",
"@types/compression": "^1.7.0",
"@types/deep-extend": "^0.4.31",
"@types/express": "^4.17.11",
"@types/glob": "^7.1.3",
"@types/graceful-fs": "^4.1.4",
"@types/html-to-text": "^6.0.0",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.22",
"@types/node-cron": "^2.0.3",
"@types/nodemailer": "^6.4.0",
"@types/request": "^2.48.4",
"@types/async": "^3.2.8",
"@types/command-line-args": "^5.2.0",
"@types/command-line-usage": "^5.0.2",
"@types/compression": "^1.7.2",
"@types/deep-extend": "^0.4.32",
"@types/express": "^4.17.13",
"@types/glob": "^7.1.4",
"@types/graceful-fs": "^4.1.5",
"@types/html-to-text": "^8.0.1",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.175",
"@types/node": "^16.10.9",
"@types/node-cron": "^3.0.0",
"@types/nodemailer": "^6.4.4",
"@types/request": "^2.48.7",
"bower": "^1.8.12",
"escape-string-regexp": "^4.0.0",
"grunt": "^1.3.0",
"escape-string-regexp": "^5.0.0",
"grunt": "^1.4.1",
"grunt-autoprefixer": "^3.0.4",
"grunt-cli": "^1.3.2",
"grunt-cli": "^1.4.3",
"grunt-concurrent": "^3.0.0",
"grunt-connect-proxy": "^0.2.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-compass": "^1.1.1",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-concat": "^2.0.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-cssmin": "^4.0.0",
"grunt-contrib-htmlmin": "^3.1.0",
"grunt-contrib-imagemin": "^4.0.0",
"grunt-contrib-jshint": "^2.0.0",
"grunt-contrib-uglify": "^5.0.0",
"grunt-contrib-jshint": "^3.1.1",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-develop": "^0.4.0",
"grunt-html2js": "^0.7.1",
"grunt-html2js": "^0.8.0",
"grunt-newer": "^1.3.0",
"grunt-ng-annotate": "^4.0.0",
"grunt-replace": "^1.0.1",
"grunt-replace": "^2.0.2",
"grunt-rev": "^0.1.0",
"grunt-svgmin": "^6.0.1",
"grunt-usemin": "^3.1.1",
"grunt-wiredep": "^3.0.1",
"imagemin-gifsicle": "^7.0.0",
"jest": "^26.6.3",
"jest": "^27.2.5",
"jshint-stylish": "^2.2.1",
"load-grunt-tasks": "^5.1.0",
"time-grunt": "^2.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
"ts-jest": "^27.0.5",
"typescript": "^4.4.4"
},
"engines": {
"node": ">=10.0.0"

View file

@ -19,8 +19,12 @@ export function parseCommandLine(): void {
let commandLineOptions;
try {
commandLineOptions = commandLineArgs(commandLineDefs);
} catch (e) {
console.error(e.message);
} catch (e: any) {
if (e.message) {
console.error(e.message);
} else {
console.error(e);
}
console.error('Try \'--help\' for more information.');
process.exit(1);
}