diff --git a/CHANGELOG.md b/CHANGELOG.md index 52d2fe633..942ab883c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Shortened the page titles - Upgraded `prisma` from version `4.16.2` to `5.2.0` - Upgraded `replace-in-file` from version `6.3.5` to `7.0.1` +- Upgraded `yahoo-finance2` from version `2.4.3` to `2.4.4` ## 1.304.0 - 2023-08-27 diff --git a/apps/client/src/app/services/page-title.strategy.ts b/apps/client/src/app/services/page-title.strategy.ts index e8be5516e..ce04a0af8 100644 --- a/apps/client/src/app/services/page-title.strategy.ts +++ b/apps/client/src/app/services/page-title.strategy.ts @@ -6,6 +6,7 @@ import { RouterStateSnapshot, TitleStrategy } from '@angular/router'; export class PageTitleStrategy extends TitleStrategy { private static readonly DEFAULT_TITLE = 'Ghostfolio – Open Source Wealth Management Software'; + private static readonly DEFAULT_TITLE_SHORT = 'Ghostfolio'; public constructor(private readonly title: Title) { super(); @@ -15,7 +16,9 @@ export class PageTitleStrategy extends TitleStrategy { const title = this.buildTitle(routerState); if (title) { - this.title.setTitle(`${title} – ${PageTitleStrategy.DEFAULT_TITLE}`); + this.title.setTitle( + `${title} – ${PageTitleStrategy.DEFAULT_TITLE_SHORT}` + ); } else { this.title.setTitle(`${PageTitleStrategy.DEFAULT_TITLE}`); } diff --git a/package.json b/package.json index 5315cc060..17a0df617 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "svgmap": "2.6.0", "twitter-api-v2": "1.14.2", "uuid": "9.0.0", - "yahoo-finance2": "2.4.3", + "yahoo-finance2": "2.4.4", "zone.js": "0.13.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 9ac07ba52..6a898430d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19035,10 +19035,10 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yahoo-finance2@2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/yahoo-finance2/-/yahoo-finance2-2.4.3.tgz#be4099182dc0a2e2908779e04d7b802688c15f0e" - integrity sha512-LVcl+h4XBMe3N/l8BOZdDFoK7AGMiblSBE00dU9t2zB0Zfxa6QQMESnUkJ1m35RWBr8QXFJyJnToPt+qKiEQXQ== +yahoo-finance2@2.4.4: + version "2.4.4" + resolved "https://registry.yarnpkg.com/yahoo-finance2/-/yahoo-finance2-2.4.4.tgz#3149a4f2e6fab04430aabe7758bfbc70f240503e" + integrity sha512-dL8bz3ubmPYRHd2M85hyL8kcVVlvpTGdzqeuewMH6X1Ej/lo4/2qlbAqZVT4qlcFeuEdlEIZ1N/mFp6SFnW8Uw== dependencies: "@types/tough-cookie" "^4.0.2" ajv "8.10.0"