From fa9a514d46d90f431115c13585f268a89630ea47 Mon Sep 17 00:00:00 2001 From: Dafnik Date: Mon, 9 Dec 2024 13:01:30 +0100 Subject: [PATCH] feat(dfx-helper): upgrade to Angular 19 --- SECURITY.md | 5 ++--- libs/dfx-helper/README.md | 42 +++++++++++++----------------------- libs/dfx-helper/package.json | 10 ++++----- 3 files changed, 22 insertions(+), 35 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 95759919..1c793436 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -30,10 +30,9 @@ We only fix vulnerability in the code distributed through our main source code r | Version | Supported | | ------- | ------------------ | +| 9.x.x | :white_check_mark: | | 8.x.x | :white_check_mark: | -| 7.x.x | :white_check_mark: | -| 6.x.x | :white_check_mark: | -| < 6.0 | :x: | +| < 8.0 | :x: | ### dfx-qrcode diff --git a/libs/dfx-helper/README.md b/libs/dfx-helper/README.md index 4b77e453..ced92172 100644 --- a/libs/dfx-helper/README.md +++ b/libs/dfx-helper/README.md @@ -10,6 +10,7 @@ Angular Library with tons of utility tools helping in all projects. | Angular | dfx-helper | | ------- | ---------- | +| 19.x.x | 9.x.x | | 18.x.x | 8.x.x | | 17.x.x | 7.x.x | | 16.x.x | 6.1.x | @@ -29,46 +30,33 @@ npm install @angular/cdk ### Useful classes: -- **Components** - - `ABlock` - Building block from ui stuff - - `AComponent` - - `ADirective` -- **Decorator**/**Annotations** - - `RunOutesideChangeDetection` - **Directives** + - `autofocus` + - `back` - `hideIfOnline` & `hideIfOffline` - - `hideIfPingSucceeds` & `hideIfPingFails` - - `print` -- **Helper** - - `ArrayHelper` - - `BrowserHelper` - - `ClipboradHelper` - - `Converter` - - `DateHelper` - - `Generator` - - `Logger` / `LoggerFactory` - - `Stopwatch` - - `StorageHelper` - - `StringHelper` - - `Thread` - - `TypeHelper` - - `UIHelper` -- **Entities** - - `HasID` & `HasName` - - `IEntity` & `IEntityWithName` + - `stop-propagation` - **Interceptors** - `BaseUrlInterceptor` - `LoggingInterceptor` - `PostPutJsonContentTypeInterceptor` - **Pipes** - - `cut` + - `currency` - `implode` & `implodeMapped` + - `pluck` + - `timeleft` - `timespan` + - `cut` + - `is-email` + - `is-url` + - `lower-case-expect-first-letters` + - `strip-whitepsace` - `truncate` + - `upper-case-first-letter` - **Services** - `IsMobileService` - **Strategies** - - `AbstractTitleStrategy` - `DfxPreloadStrategy` +- **Providers** + - `WindowProvider` By [Dafnik](https://dafnik.me) diff --git a/libs/dfx-helper/package.json b/libs/dfx-helper/package.json index d7248216..af60b11f 100644 --- a/libs/dfx-helper/package.json +++ b/libs/dfx-helper/package.json @@ -36,11 +36,11 @@ "directory": "libs/dfx-helper" }, "peerDependencies": { - "@angular/common": "18", - "@angular/core": "18", - "@angular/cdk": "18", - "@angular/router": "18", - "@angular/platform-browser": "18", + "@angular/common": "19", + "@angular/core": "19", + "@angular/cdk": "19", + "@angular/router": "19", + "@angular/platform-browser": "19", "rxjs": "7", "dfts-helper": "1" },