Commit 97cbdfa1 authored by Lukas Burgey's avatar Lukas Burgey

Update dependencies

parent 923126ca
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -12,35 +12,30 @@
},
"private": true,
"dependencies": {
"@angular/animations": "7.0.3",
"@angular/cdk": "^7.0.2",
"@angular/common": "7.0.3",
"@angular/compiler": "7.0.3",
"@angular/core": "7.0.3",
"@angular/forms": "7.0.3",
"@angular/http": "7.0.3",
"@angular/material": "^7.0.2",
"@angular/platform-browser": "7.0.3",
"@angular/platform-browser-dynamic": "7.0.3",
"@angular/platform-server": "7.0.3",
"@angular/router": "7.0.3",
"@stomp/ng2-stompjs": "^6.1.0-beta.4",
"@angular/animations": "7.0.4",
"@angular/cdk": "^7.0.4",
"@angular/common": "7.0.4",
"@angular/compiler": "7.0.4",
"@angular/core": "7.0.4",
"@angular/forms": "7.0.4",
"@angular/http": "7.0.4",
"@angular/material": "^7.0.4",
"@angular/platform-browser": "7.0.4",
"@angular/platform-browser-dynamic": "7.0.4",
"@stomp/ng2-stompjs": "^7.0.0",
"core-js": "^2.5.7",
"hammerjs": "^2.0.8",
"ngx-cookie-service": "^1.0.10",
"npm": "^6.4.1",
"ngx-cookie-service": "^2.0.0",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.10.0",
"@angular/cli": "^7.0.3",
"@angular/compiler-cli": "7.0.3",
"@angular/language-service": "7.0.3",
"@types/jasmine": "~2.8.9",
"@types/jasminewd2": "~2.0.5",
"@types/node": "~10.12.0",
"@angular-devkit/build-angular": "^0.10.6",
"@angular/cli": "^7.0.6",
"@angular/compiler-cli": "7.0.4",
"@types/jasmine": "^2.8.11",
"@types/jasminewd2": "^2.0.6",
"@types/node": "^10.12.9",
"jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1",
......@@ -49,6 +44,7 @@
"karma-coverage-istanbul-reporter": "^2.0.4",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^1.4.0",
"npm": "^6.4.1",
"protractor": "~5.4.1",
"ts-node": "~7.0.1",
"tslint": "~5.11.0",
......
import {throwError as observableThrowError, Observable, BehaviorSubject, of, EMPTY } from 'rxjs';
import { Injectable } from '@angular/core';
import { HttpClient, HttpErrorResponse } from '@angular/common/http';
import { Observable, BehaviorSubject, of, EMPTY } from 'rxjs';
import { map, catchError } from 'rxjs/operators';
import { CookieService } from 'ngx-cookie-service';
......@@ -213,7 +213,7 @@ export class UserService {
console.log(error);
this.snackBar.open('Error');
this.fetch();
return Observable.throw(error);
return observableThrowError(error);
}
// PUBLIC API
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment