From ba15da695b8792af8ccb5901c19be17735d058d8 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 28 Mar 2026 17:00:14 +0100 Subject: [PATCH 1/3] Task/upgrade countries-list to version 3.3.0 (#6632) * Upgrade countries-list to version 3.3.0 * Update changelog --- CHANGELOG.md | 1 + package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d601d21be..6755fa2a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Improved the language localization for Spanish (`es`) +- Upgraded `countries-list` from version `3.2.2` to `3.3.0` ## 2.251.0 - 2026-03-24 diff --git a/package-lock.json b/package-lock.json index a77d40813..f6ca1087b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -60,7 +60,7 @@ "color": "5.0.3", "cookie-parser": "1.4.7", "countries-and-timezones": "3.8.0", - "countries-list": "3.2.2", + "countries-list": "3.3.0", "countup.js": "2.9.0", "date-fns": "4.1.0", "dotenv": "17.2.3", @@ -17192,9 +17192,9 @@ } }, "node_modules/countries-list": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.2.2.tgz", - "integrity": "sha512-ABJ/RWQBrPWy+hRuZoW+0ooK8p65Eo3WmUZwHm6v4wmfSPznNAKzjy3+UUYrJK2v3182BVsgWxdB6ROidj39kw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.3.0.tgz", + "integrity": "sha512-XRUjS+dcZuNh/fg3+mka3bXgcg4TbQZ1gaK5IJqO6qulerBANl1bmrd20P2dgmPkBpP+5FnejiSF1gd7bgAg+g==", "license": "MIT" }, "node_modules/countup.js": { diff --git a/package.json b/package.json index 3fe2fa72f..dfdaea635 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "color": "5.0.3", "cookie-parser": "1.4.7", "countries-and-timezones": "3.8.0", - "countries-list": "3.2.2", + "countries-list": "3.3.0", "countup.js": "2.9.0", "date-fns": "4.1.0", "dotenv": "17.2.3", From 8c0a49a8cc75177eb5528ec0a5c0e41777d679a9 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:30:19 +0200 Subject: [PATCH 2/3] Task/upgrade ng-extract-i18n-merge to version 3.3.0 (#6633) * Upgrade ng-extract-i18n-merge to version 3.3.0 * Update changelog --- CHANGELOG.md | 1 + package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6755fa2a7..eedf1b79c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improved the language localization for Spanish (`es`) - Upgraded `countries-list` from version `3.2.2` to `3.3.0` +- Upgraded `ng-extract-i18n-merge` from `3.2.1` to `3.3.0` ## 2.251.0 - 2026-03-24 diff --git a/package-lock.json b/package-lock.json index f6ca1087b..81128f284 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,7 +76,7 @@ "lodash": "4.17.23", "marked": "17.0.2", "ms": "3.0.0-canary.1", - "ng-extract-i18n-merge": "3.2.1", + "ng-extract-i18n-merge": "3.3.0", "ngx-device-detector": "11.0.0", "ngx-markdown": "21.1.0", "ngx-skeleton-loader": "12.0.0", @@ -26416,9 +26416,9 @@ "license": "MIT" }, "node_modules/ng-extract-i18n-merge": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ng-extract-i18n-merge/-/ng-extract-i18n-merge-3.2.1.tgz", - "integrity": "sha512-Yq8uEBa32/Imlo+vnyY6rk+h0VOjWQT8r4Vgiw/YlnK0AzIXFxr6H/Ji3gTJKVsuRY6Tt1swBgmnkAUeDmklRw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/ng-extract-i18n-merge/-/ng-extract-i18n-merge-3.3.0.tgz", + "integrity": "sha512-9VCi2gMSjvlz5+bvJ9wTzHEeEiVCM0lb/uvGx2K3FavG4p0HKhg0Y9Tjr/Hr23DSHAQQXS0gssIvznWW3DHIXQ==", "license": "MIT", "dependencies": { "@angular-devkit/architect": ">=0.2000.0 <0.2200.0", diff --git a/package.json b/package.json index dfdaea635..535469559 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "lodash": "4.17.23", "marked": "17.0.2", "ms": "3.0.0-canary.1", - "ng-extract-i18n-merge": "3.2.1", + "ng-extract-i18n-merge": "3.3.0", "ngx-device-detector": "11.0.0", "ngx-markdown": "21.1.0", "ngx-skeleton-loader": "12.0.0", From 6cd5e3762ef25b8c723f26cc7db00c54ce82ccba Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Mon, 30 Mar 2026 17:10:58 +0700 Subject: [PATCH 3/3] Task/enable strict null checks in libs/ui (#6637) * Enable strict null checks --- .../historical-market-data-editor-dialog.component.ts | 9 ++++++--- .../no-transactions-info.component.ts | 2 +- libs/ui/src/lib/shared/abstract-mat-form-field.ts | 4 ++-- libs/ui/tsconfig.json | 1 + 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts b/libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts index 3e5e3b2e9..1b7b99fa2 100644 --- a/libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts +++ b/libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts @@ -25,6 +25,7 @@ import { MatInputModule } from '@angular/material/input'; import { IonIcon } from '@ionic/angular/standalone'; import { addIcons } from 'ionicons'; import { calendarClearOutline, refreshOutline } from 'ionicons/icons'; +import { isNil } from 'lodash'; import { HistoricalMarketDataEditorDialogParams } from './interfaces/interfaces'; @@ -90,7 +91,9 @@ export class GfHistoricalMarketDataEditorDialogComponent implements OnInit { } public onUpdate() { - if (this.marketPrice() === undefined) { + const marketPrice = this.marketPrice(); + + if (isNil(marketPrice)) { return; } @@ -100,8 +103,8 @@ export class GfHistoricalMarketDataEditorDialogComponent implements OnInit { marketData: { marketData: [ { - date: this.data.dateString, - marketPrice: this.marketPrice() + marketPrice, + date: this.data.dateString } ] }, diff --git a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts index 8691dc998..9ca91d111 100644 --- a/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts +++ b/libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts @@ -24,5 +24,5 @@ export class GfNoTransactionsInfoComponent { @HostBinding('class.has-border') @Input() hasBorder = true; public routerLinkPortfolioActivities = - internalRoutes.portfolio.subRoutes.activities.routerLink; + internalRoutes.portfolio.subRoutes?.activities.routerLink; } diff --git a/libs/ui/src/lib/shared/abstract-mat-form-field.ts b/libs/ui/src/lib/shared/abstract-mat-form-field.ts index 628f0a659..0d547af4e 100644 --- a/libs/ui/src/lib/shared/abstract-mat-form-field.ts +++ b/libs/ui/src/lib/shared/abstract-mat-form-field.ts @@ -37,7 +37,7 @@ export abstract class AbstractMatFormField private static nextId = 0; protected constructor( - protected _elementRef: ElementRef, + protected _elementRef: ElementRef, protected _focusMonitor: FocusMonitor, public readonly ngControl: NgControl ) { @@ -137,7 +137,7 @@ export abstract class AbstractMatFormField public ngDoCheck() { if (this.ngControl) { - this.errorState = this.ngControl.invalid && this.ngControl.touched; + this.errorState = !!(this.ngControl.invalid && this.ngControl.touched); this.stateChanges.next(); } } diff --git a/libs/ui/tsconfig.json b/libs/ui/tsconfig.json index 04f4630bc..51348a52a 100644 --- a/libs/ui/tsconfig.json +++ b/libs/ui/tsconfig.json @@ -19,6 +19,7 @@ "target": "es2020", // TODO: Remove once solved in tsconfig.base.json "strict": false, + "strictNullChecks": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true },