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

Update dependencies

parent 923126ca
This diff is collapsed.
...@@ -12,35 +12,30 @@ ...@@ -12,35 +12,30 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "7.0.3", "@angular/animations": "7.0.4",
"@angular/cdk": "^7.0.2", "@angular/cdk": "^7.0.4",
"@angular/common": "7.0.3", "@angular/common": "7.0.4",
"@angular/compiler": "7.0.3", "@angular/compiler": "7.0.4",
"@angular/core": "7.0.3", "@angular/core": "7.0.4",
"@angular/forms": "7.0.3", "@angular/forms": "7.0.4",
"@angular/http": "7.0.3", "@angular/http": "7.0.4",
"@angular/material": "^7.0.2", "@angular/material": "^7.0.4",
"@angular/platform-browser": "7.0.3", "@angular/platform-browser": "7.0.4",
"@angular/platform-browser-dynamic": "7.0.3", "@angular/platform-browser-dynamic": "7.0.4",
"@angular/platform-server": "7.0.3", "@stomp/ng2-stompjs": "^7.0.0",
"@angular/router": "7.0.3",
"@stomp/ng2-stompjs": "^6.1.0-beta.4",
"core-js": "^2.5.7", "core-js": "^2.5.7",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"ngx-cookie-service": "^1.0.10", "ngx-cookie-service": "^2.0.0",
"npm": "^6.4.1",
"rxjs": "^6.3.3", "rxjs": "^6.3.3",
"rxjs-compat": "^6.3.3",
"zone.js": "^0.8.26" "zone.js": "^0.8.26"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.10.0", "@angular-devkit/build-angular": "^0.10.6",
"@angular/cli": "^7.0.3", "@angular/cli": "^7.0.6",
"@angular/compiler-cli": "7.0.3", "@angular/compiler-cli": "7.0.4",
"@angular/language-service": "7.0.3", "@types/jasmine": "^2.8.11",
"@types/jasmine": "~2.8.9", "@types/jasminewd2": "^2.0.6",
"@types/jasminewd2": "~2.0.5", "@types/node": "^10.12.9",
"@types/node": "~10.12.0",
"jasmine-core": "~3.3.0", "jasmine-core": "~3.3.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1", "karma": "~3.1.1",
...@@ -49,6 +44,7 @@ ...@@ -49,6 +44,7 @@
"karma-coverage-istanbul-reporter": "^2.0.4", "karma-coverage-istanbul-reporter": "^2.0.4",
"karma-jasmine": "~1.1.2", "karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^1.4.0", "karma-jasmine-html-reporter": "^1.4.0",
"npm": "^6.4.1",
"protractor": "~5.4.1", "protractor": "~5.4.1",
"ts-node": "~7.0.1", "ts-node": "~7.0.1",
"tslint": "~5.11.0", "tslint": "~5.11.0",
......
import {throwError as observableThrowError, Observable, BehaviorSubject, of, EMPTY } from 'rxjs';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { HttpClient, HttpErrorResponse } from '@angular/common/http';
import { Observable, BehaviorSubject, of, EMPTY } from 'rxjs';
import { map, catchError } from 'rxjs/operators'; import { map, catchError } from 'rxjs/operators';
import { CookieService } from 'ngx-cookie-service'; import { CookieService } from 'ngx-cookie-service';
...@@ -213,7 +213,7 @@ export class UserService { ...@@ -213,7 +213,7 @@ export class UserService {
console.log(error); console.log(error);
this.snackBar.open('Error'); this.snackBar.open('Error');
this.fetch(); this.fetch();
return Observable.throw(error); return observableThrowError(error);
} }
// PUBLIC API // PUBLIC API
......
Supports Markdown
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