Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalWebpage
Commits
97cbdfa1
Commit
97cbdfa1
authored
Nov 17, 2018
by
Lukas Burgey
Browse files
Update dependencies
parent
923126ca
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
package-lock.json
View file @
97cbdfa1
This diff is collapsed.
Click to expand it.
package.json
View file @
97cbdfa1
...
...
@@ -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
"
,
...
...
src/app/user.service.ts
View file @
97cbdfa1
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
O
bservable
.
t
hrow
(
error
);
return
o
bservable
T
hrow
Error
(
error
);
}
// PUBLIC API
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment