Upgrade packages, Fixes: #305

This commit is contained in:
ziajka 2019-02-27 10:04:34 +01:00
parent cc9a3a288c
commit 2a32db47cd
3 changed files with 1228 additions and 1531 deletions

View File

@ -38,71 +38,71 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^7.1.4", "@angular/animations": "^7.2.7",
"@angular/cdk": "^7.2.0", "@angular/cdk": "^7.3.3",
"@angular/common": "^7.1.4", "@angular/common": "^7.2.7",
"@angular/compiler": "^7.1.4", "@angular/compiler": "^7.2.7",
"@angular/core": "^7.1.4", "@angular/core": "^7.2.7",
"@angular/forms": "^7.1.4", "@angular/forms": "^7.2.7",
"@angular/http": "^7.1.4", "@angular/http": "^7.2.7",
"@angular/material": "^7.2.0", "@angular/material": "^7.3.3",
"@angular/platform-browser": "^7.1.4", "@angular/platform-browser": "^7.2.7",
"@angular/platform-browser-dynamic": "^7.1.4", "@angular/platform-browser-dynamic": "^7.2.7",
"@angular/router": "^7.1.4", "@angular/router": "^7.2.7",
"angular-persistence": "^1.0.1", "angular-persistence": "^1.0.1",
"angular2-hotkeys": "^2.1.4", "angular2-hotkeys": "^2.1.4",
"angular2-indexeddb": "^1.2.3", "angular2-indexeddb": "^1.2.3",
"bootstrap": "4.3.1", "bootstrap": "4.3.1",
"command-exists": "^1.2.8", "command-exists": "^1.2.8",
"core-js": "^2.6.1", "core-js": "^2.6.5",
"css-tree": "^1.0.0-alpha.29", "css-tree": "^1.0.0-alpha.29",
"d3-ng2-service": "^2.1.0", "d3-ng2-service": "^2.1.0",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"material-design-icons": "^3.0.1", "material-design-icons": "^3.0.1",
"ng2-file-upload": "^1.3.0", "ng2-file-upload": "^1.3.0",
"ngx-electron": "^2.0.0", "ngx-electron": "^2.1.1",
"node-fetch": "^2.3.0", "node-fetch": "^2.3.0",
"notosans-fontface": "^1.1.0", "notosans-fontface": "^1.1.0",
"raven-js": "^3.27.0", "raven-js": "^3.27.0",
"rxjs": "^6.3.3", "rxjs": "^6.4.0",
"rxjs-compat": "^6.3.3", "rxjs-compat": "^6.4.0",
"typeface-roboto": "^0.0.54", "typeface-roboto": "^0.0.54",
"yargs": "^12.0.5", "yargs": "^13.2.1",
"zone.js": "^0.8.26" "zone.js": "^0.8.29"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.11.4", "@angular-devkit/build-angular": "~0.13.3",
"@angular/cli": "^7.1.4", "@angular/cli": "^7.3.3",
"@angular/compiler-cli": "^7.1.4", "@angular/compiler-cli": "^7.2.7",
"@angular/language-service": "^7.1.4", "@angular/language-service": "^7.2.7",
"@sentry/electron": "^0.14.0", "@sentry/electron": "^0.16.0",
"@types/jasmine": "~3.3.5", "@types/jasmine": "~3.3.9",
"@types/jasminewd2": "~2.0.6", "@types/jasminewd2": "~2.0.6",
"@types/node": "~10.12.18", "@types/node": "~11.9.5",
"codelyzer": "~4.5.0", "codelyzer": "~4.5.0",
"electron": "4.0.0", "electron": "4.0.6",
"electron-builder": "^20.38.4", "electron-builder": "^20.38.5",
"jasmine-core": "~3.3.0", "jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"jquery": "^3.3.1", "jquery": "^3.3.1",
"karma": "~3.1.4", "karma": "~4.0.0",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",
"karma-cli": "~2.0.0", "karma-cli": "~2.0.0",
"karma-coverage-istanbul-reporter": "^2.0.4", "karma-coverage-istanbul-reporter": "^2.0.5",
"karma-jasmine": "~2.0.1", "karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0", "karma-jasmine-html-reporter": "^1.4.0",
"license-checker": "^24.1.0", "license-checker": "^25.0.1",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"popper.js": "^1.14.6", "popper.js": "^1.14.7",
"prettier": "^1.15.2", "prettier": "^1.16.4",
"protractor": "~5.4.2", "protractor": "~5.4.2",
"replace": "^1.0.1", "replace": "^1.0.1",
"tree-kill": "^1.2.1", "tree-kill": "^1.2.1",
"ts-mockito": "^2.3.1", "ts-mockito": "^2.3.1",
"ts-node": "~7.0.1", "ts-node": "~8.0.2",
"tslint": "~5.12.0", "tslint": "~5.13.0",
"tslint-config-prettier": "^1.16.0", "tslint-config-prettier": "^1.18.0",
"typescript": "<3.2.0" "typescript": "<3.3.0"
}, },
"greenkeeper": { "greenkeeper": {
"ignore": [ "ignore": [

View File

@ -86,7 +86,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer<JsonOptions>(server, url, options); const intercepted = this.getOptionsForServer<JsonOptions>(server, url, options);
return this.http return this.http
.get<T>(intercepted.url, intercepted.options as JsonOptions) .get<T>(intercepted.url, intercepted.options as JsonOptions)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
getText(server: Server, url: string, options?: TextOptions): Observable<string> { getText(server: Server, url: string, options?: TextOptions): Observable<string> {
@ -102,7 +102,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.post<T>(intercepted.url, body, intercepted.options) .post<T>(intercepted.url, body, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
put<T>(server: Server, url: string, body: any, options?: JsonOptions): Observable<T> { put<T>(server: Server, url: string, body: any, options?: JsonOptions): Observable<T> {
@ -110,7 +110,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.put<T>(intercepted.url, body, intercepted.options) .put<T>(intercepted.url, body, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
delete<T>(server: Server, url: string, options?: JsonOptions): Observable<T> { delete<T>(server: Server, url: string, options?: JsonOptions): Observable<T> {
@ -118,7 +118,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.delete<T>(intercepted.url, intercepted.options) .delete<T>(intercepted.url, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
patch<T>(server: Server, url: string, body: any, options?: JsonOptions): Observable<T> { patch<T>(server: Server, url: string, body: any, options?: JsonOptions): Observable<T> {
@ -126,7 +126,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.patch<T>(intercepted.url, body, intercepted.options) .patch<T>(intercepted.url, body, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
head<T>(server: Server, url: string, options?: JsonOptions): Observable<T> { head<T>(server: Server, url: string, options?: JsonOptions): Observable<T> {
@ -134,7 +134,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.head<T>(intercepted.url, intercepted.options) .head<T>(intercepted.url, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
options<T>(server: Server, url: string, options?: JsonOptions): Observable<T> { options<T>(server: Server, url: string, options?: JsonOptions): Observable<T> {
@ -142,7 +142,7 @@ export class HttpServer {
const intercepted = this.getOptionsForServer(server, url, options); const intercepted = this.getOptionsForServer(server, url, options);
return this.http return this.http
.options<T>(intercepted.url, intercepted.options) .options<T>(intercepted.url, intercepted.options)
.pipe(catchError<T, any>(this.errorHandler.handleError)); .pipe(catchError<T, any>(this.errorHandler.handleError)) as Observable<T>;
} }
private getJsonOptions(options: JsonOptions): JsonOptions { private getJsonOptions(options: JsonOptions): JsonOptions {

2675
yarn.lock

File diff suppressed because it is too large Load Diff