dzonatan / ngx-linky

Linky pipe for angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No compatible version for Angular 9

akaustav opened this issue · comments

Issue Summary

We are unable to update our private Angular 9.1.3 repository to Angular version 10 or higher at the moment until a few more months. Meanwhile, there does not seem to be a compatible version of ngx-linky with Angular version 9. Please publish a version of ngx-linky which is compatible with Angular 9.

ngx-linky@2.2.0 was compatible with Angular versions 4 thru 8.
ngx-linky@3.0.0 seems to be compatible with Angular 10 and higher.
As a result, the yarn install or yarn add commands keeps throwing the following warnings in our project running Angular 9:

With ngx-linky version 2.2.0

Command:
yarn add ngx-linky@^2.2.0

Warnings:

warning " > ngx-linky@2.2.0" has incorrect peer dependency "@angular/common@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > ngx-linky@2.2.0" has incorrect peer dependency "@angular/core@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0".

With ngx-linky version 3.0.0

Command:
yarn add ngx-linky@^3.0.0

Warnings:

warning " > ngx-linky@3.0.0" has incorrect peer dependency "@angular/common@>=10.0.0".
warning " > ngx-linky@3.0.0" has incorrect peer dependency "@angular/core@>=10.0.0".

Looks like yarn reads the peerDependencies object from the package.json file:

From ngx-linky tag v2.2.0:

"peerDependencies": {
"@angular/common": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"@angular/core": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
"autolinker": "^3.0.0"
}

From ngx-linky tag v3.0.0:

"peerDependencies": {
"@angular/common": ">=10.0.0",
"@angular/core": ">=10.0.0",
"autolinker": ">=3.0.0"
}

If it helps, both versions 2.2.0 and 3.0.0 of ngx-linky work for our use-cases within our repo running Angular 9.1.3.