Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alexey Sokolov
ng-ebi-authorization
Commits
4cbb3f16
Commit
4cbb3f16
authored
Oct 23, 2018
by
Eduardo Sanz García
Browse files
chore: angular 7 real upgrade
parent
39e7566e
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1003 additions
and
934 deletions
+1003
-934
.editorconfig
.editorconfig
+1
-1
CHANGELOG.md
CHANGELOG.md
+7
-1
README.md
README.md
+1
-1
package.json
package.json
+16
-15
src/app/modules/auth/auth.service.ts
src/app/modules/auth/auth.service.ts
+6
-1
src/polyfills.ts
src/polyfills.ts
+0
-1
yarn.lock
yarn.lock
+972
-914
No files found.
.editorconfig
View file @
4cbb3f16
...
...
@@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size =
2
indent_size =
4
insert_final_newline = true
trim_trailing_whitespace = true
...
...
CHANGELOG.md
View file @
4cbb3f16
<a
name=
"1.0.0-beta.4"
></a>
# [1.0.0-beta.4](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-beta.3...1.0.0-beta.4) (2018-10-23)
### Features
*
updated to angular version 7
<a
name=
"1.0.0-beta.3"
></a>
# [1.0.0-beta.3](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-beta.2...1.0.0-beta.3) (2018-10-23)
### Features
*
updated to angular version 7
*
no additional features
<a
name=
"1.0.0-beta.2"
></a>
# [1.0.0-beta.2](https://gitlab.ebi.ac.uk/tools-glue/ng-ebi-authorization/compare/1.0.0-beta.1...1.0.0-beta.2) (2018-09-10)
...
...
README.md
View file @
4cbb3f16
...
...
@@ -23,7 +23,7 @@ Angular version | ng-ebi-authorization version
--- | ---
>=5 <6 | <= angular-aap-auth@1.0.0-alpha.7 (deprecated)
>=6 <7 | >= angular-aap-auth@1.0.0-alpha.8 (deprecated) or ng-ebi-authorization@1.0.0-beta.1
>=7 <8 | >= ng-ebi-authorization@1.0.0-beta.
3
>=7 <8 | >= ng-ebi-authorization@1.0.0-beta.
4
ng-ebi-authorization is an updated version of angular-aap-auth.
...
...
package.json
View file @
4cbb3f16
{
"name"
:
"ng-ebi-authorization"
,
"version"
:
"1.0.0-beta.
3
"
,
"version"
:
"1.0.0-beta.
4
"
,
"license"
:
"
Apache-2.0
"
,
"scripts"
:
{
"ng"
:
"ng"
,
...
...
@@ -33,29 +33,29 @@
},
"dependencies"
:
{},
"peerDependencies"
:
{
"@angular/core"
:
">=
6
<
7
"
,
"@angular/core"
:
">=
7
<
8
"
,
"
@auth0/angular-jwt
"
:
"
^2.0.0
"
,
"rxjs"
:
">=6 <7"
},
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
~0.
8.3
"
,
"
@angular/cli
"
:
"
6.2.3
"
,
"
@angular/common
"
:
"
6.1.8
"
,
"
@angular/compiler
"
:
"
6.1.8
"
,
"
@angular/compiler-cli
"
:
"
6.1.8
"
,
"
@angular/core
"
:
"
6.1.8
"
,
"
@angular/language-service
"
:
"
6.1.8
"
,
"
@angular/platform-browser
"
:
"
6.1.8
"
,
"
@angular/platform-browser-dynamic
"
:
"
6.1.8
"
,
"
@angular-devkit/build-angular
"
:
"
~0.
10.0
"
,
"
@angular/cli
"
:
"
7.0.2
"
,
"
@angular/common
"
:
"
7.0.0
"
,
"
@angular/compiler
"
:
"
7.0.0
"
,
"
@angular/compiler-cli
"
:
"
7.0.0
"
,
"
@angular/core
"
:
"
7.0.0
"
,
"
@angular/language-service
"
:
"
7.0.0
"
,
"
@angular/platform-browser
"
:
"
7.0.0
"
,
"
@angular/platform-browser-dynamic
"
:
"
7.0.0
"
,
"
@auth0/angular-jwt
"
:
"
^2.0.0
"
,
"
@types/jasmine
"
:
"
~2.8.8
"
,
"
@types/jasminewd2
"
:
"
~2.0.3
"
,
"
@types/node
"
:
"
~10.1
0.1
"
,
"
@types/node
"
:
"
~10.1
2.0
"
,
"
codelyzer
"
:
"
^4.4.4
"
,
"
core-js
"
:
"
^2.5.7
"
,
"
jasmine-core
"
:
"
^3.2.1
"
,
"
jasmine-spec-reporter
"
:
"
~4.2.1
"
,
"
karma
"
:
"
~3.
0
.0
"
,
"
karma
"
:
"
~3.
1
.0
"
,
"
karma-chrome-launcher
"
:
"
~2.2.0
"
,
"
karma-coverage-istanbul-reporter
"
:
"
^2.0.4
"
,
"
karma-jasmine
"
:
"
~1.1.2
"
,
...
...
@@ -65,9 +65,10 @@
"
protractor
"
:
"
~5.4.1
"
,
"
rxjs
"
:
"
^6.3.2
"
,
"
ts-node
"
:
"
~7.0.1
"
,
"
tsickle
"
:
"
^0.33.0
"
,
"
tslint
"
:
"
~5.11.0
"
,
"
typedoc
"
:
"
^0.1
2
.0
"
,
"
typescript
"
:
"
>=2.7.2 <2.10
"
,
"
typedoc
"
:
"
^0.1
3
.0
"
,
"
typescript
"
:
"
3.1.3
"
,
"
zone.js
"
:
"
^0.8.26
"
}
}
src/app/modules/auth/auth.service.ts
View file @
4cbb3f16
...
...
@@ -270,9 +270,14 @@ export class AuthService {
return
;
}
this
.
_storageUpdater
(
event
.
data
);
// I don't know how to type guard event.source
// This doesn't work
// if (event.source instanceof Window) {
if
(
event
.
source
)
{
event
.
source
.
close
();
(
event
.
source
as
Window
)
.
close
();
}
this
.
_updateUser
();
// Triggers updating other windows
...
...
src/polyfills.ts
View file @
4cbb3f16
...
...
@@ -43,7 +43,6 @@
/** Evergreen browsers require these. **/
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
import
'
core-js/es7/reflect
'
;
/**
...
...
yarn.lock
View file @
4cbb3f16
This diff is collapsed.
Click to expand it.
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