Skip to content

Commit 29d3d27

Browse files
RXJS upgrade (#2540)
* rxjs-upgrade * rxjs-upgrade * rxjs-upgrade * lmendoza/rxjs-upgrade * lmendoza/rxjs-upgrade * lmendoza/rxjs-upgrade --------- Co-authored-by: Angel Montenegro <a.montenegro@orcid.org>
1 parent d8f5196 commit 29d3d27

30 files changed

Lines changed: 5601 additions & 5283 deletions

File tree

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@
3737
},
3838
"private": true,
3939
"dependencies": {
40-
"@angular-devkit/core": "^16.2.6",
41-
"@angular/animations": "^16.2.8",
42-
"@angular/cdk": "^16.2.14",
43-
"@angular/common": "^16.2.8",
44-
"@angular/compiler": "^16.2.8",
45-
"@angular/core": "^16.2.8",
46-
"@angular/forms": "^16.2.8",
47-
"@angular/localize": "^16.2.8",
48-
"@angular/material": "^16.2.14",
49-
"@angular/platform-browser": "^16.2.8",
50-
"@angular/platform-browser-dynamic": "^16.2.8",
51-
"@angular/router": "^16.2.8",
52-
"@angular/service-worker": "^16.2.8",
40+
"@angular-devkit/core": "16.2.12",
41+
"@angular/animations": "^16.2.12",
42+
"@angular/cdk": "^16.2.12",
43+
"@angular/common": "^16.2.12",
44+
"@angular/compiler": "^16.2.12",
45+
"@angular/core": "^16.2.12",
46+
"@angular/forms": "^16.2.12",
47+
"@angular/localize": "^16.2.12",
48+
"@angular/material": "^16.2.12",
49+
"@angular/platform-browser": "^16.2.12",
50+
"@angular/platform-browser-dynamic": "^16.2.12",
51+
"@angular/router": "^16.2.12",
52+
"@angular/service-worker": "^16.2.12",
5353
"@orcid/bibtex-parse-js": "0.0.25",
5454
"@storybook/addon-a11y": "^7.3.0",
5555
"browserslist": "^4.19.1",
@@ -67,18 +67,18 @@
6767
"ngx-cookie-service": "^16",
6868
"nodemailer": "^6.9.9",
6969
"properties-to-json": "^0.1.4",
70-
"rxjs": "~6.5.2",
70+
"rxjs": "~7.8.0",
7171
"stream": "0.0.2",
7272
"timers": "^0.1.1",
7373
"xml2js": "^0.5.0",
7474
"zone.js": "~0.13.3"
7575
},
7676
"devDependencies": {
77-
"@angular-devkit/build-angular": "^16.2.6",
78-
"@angular-devkit/schematics": "16.2.6",
79-
"@angular/cli": "^16.2.6",
80-
"@angular/compiler-cli": "^16.2.8",
81-
"@angular/language-service": "^16.2.8",
77+
"@angular-devkit/build-angular": "16.2.12",
78+
"@angular-devkit/schematics": "16.2.12",
79+
"@angular/cli": "16.2.12",
80+
"@angular/compiler-cli": "16.2.12",
81+
"@angular/language-service": "16.2.12",
8282
"@babel/core": "^7.6.0",
8383
"@compodoc/compodoc": "^1.1.21",
8484
"@storybook/addon-essentials": "^7.0.17",
@@ -114,7 +114,7 @@
114114
"npm-run-all": "^4.1.5",
115115
"prettier": "^2.0.5",
116116
"protractor": "^7.0.0",
117-
"puppeteer": "^21.7.0",
117+
"puppeteer": "^23.11.1",
118118
"puppeteer-tsd": "^0.0.2",
119119
"react": "^18.2.0",
120120
"react-dom": "^18.2.0",

src/app/account-settings/components/settings-actions-duplicated/settings-actions-duplicated.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class SettingsActionsDuplicatedComponent implements OnInit {
3030
private _user: UserService
3131
) {}
3232
@Output() loading = new EventEmitter<boolean>()
33-
@Output() close = new EventEmitter()
33+
@Output() close = new EventEmitter<void>()
3434

3535
form: UntypedFormGroup
3636
errors: any[]

src/app/account-settings/components/settings-security-alternate-sign-in/settings-security-alternate-sign-in.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class SettingsSecurityAlternateSignInComponent
2626
accounts$: Observable<SocialAccount[]>
2727

2828
displayedColumns = ['provider', 'email', 'granted', 'actions']
29-
$destroy = new Subject()
29+
$destroy = new Subject<void>()
3030
isMobile: any
3131

3232
constructor(

src/app/account-settings/components/settings-security-password/settings-security-password.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class SettingsSecurityPasswordComponent implements OnInit, OnDestroy {
3232
@Output() loading = new EventEmitter<boolean>()
3333
errors: string[]
3434
success: boolean
35-
$destroy = new Subject()
35+
$destroy = new Subject<void>()
3636

3737
constructor(
3838
private _fb: UntypedFormBuilder,

src/app/account-settings/pages/account-settings/account-settings.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { TogglzService } from 'src/app/core/togglz/togglz.service'
1212
})
1313
export class AccountSettingsComponent implements OnInit, OnDestroy {
1414
userInfo: any
15-
$destroy = new Subject()
15+
$destroy = new Subject<void>()
1616
constructor(
1717
private _togglz: TogglzService,
1818
private _userSession: UserService,

src/app/account-trusted-parties/components/settings-trusted-individuals-search/settings-trusted-individuals-search.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { DialogAddTrustedIndividualsComponent } from '../dialog-add-trusted-indi
4141
export class SettingsTrustedIndividualsSearchComponent
4242
implements OnInit, OnDestroy
4343
{
44-
$destroy = new Subject()
44+
$destroy = new Subject<void>()
4545
searchDone = false
4646
displayedColumns = ['trustedIndividuals', 'orcid', 'actions']
4747
isMobile: boolean

src/app/account-trusted-parties/pages/account-trusted-parties/account-trusted-parties.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { TogglzService } from 'src/app/core/togglz/togglz.service'
1212
})
1313
export class AccountTrustedPartiesComponent implements OnInit, OnDestroy {
1414
userInfo: any
15-
$destroy = new Subject()
15+
$destroy = new Subject<void>()
1616
constructor(
1717
private _togglz: TogglzService,
1818
private _userSession: UserService,

src/app/cdk/interstitials/interstitials.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class InterstitialsService {
3838
setInterstitialsViewed(
3939
interstitial: InterstitialType,
4040
updateDatabase = true
41-
) {
41+
): Observable<void> {
4242
return this._userInfo.getUserSession().pipe(
4343
filter((userInfo) => !!userInfo.userInfo),
4444
take(1),

src/app/cdk/modal/modal-footer/modal-footer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class ModalFooterComponent implements OnInit, OnDestroy {
1515
handset: boolean
1616
screenDirection: string
1717
constructor(private _platform: PlatformInfoService) {}
18-
$destroy: Subject<boolean> = new Subject<boolean>()
18+
$destroy: Subject<void> = new Subject<void>()
1919

2020
ngOnInit(): void {
2121
this._platform

src/app/cdk/modal/modal-header/modal-header.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Subject } from 'rxjs'
2222
export class ModalHeaderComponent implements OnInit, OnDestroy {
2323
$destroy: Subject<boolean> = new Subject<boolean>()
2424

25-
@Output() close = new EventEmitter<boolean>()
25+
@Output() close = new EventEmitter<void>()
2626
@Input() closeLabel = $localize`:@@shared.ariaLabelClose:Close`
2727
platform: PlatformInfo
2828

0 commit comments

Comments
 (0)