ABenassi87 / ngx-text-diff

A Text Diff component for Angular
https://ngx-text-diff.herokuapp.com/home
50 stars 44 forks source link

Get rid of the unnecessary warnings related to peer dependencies #49

Open govindthakur25 opened 4 years ago

govindthakur25 commented 4 years ago

The latest 0.6.0 version with Angular 9 support, yields warnings while installing this package.

npm WARN ngx-text-diff@0.6.0 requires a peer of @angular/core@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 requires a peer of @angular/forms@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 requires a peer of @angular/cdk@^>=6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ngx-text-diff@0.6.0 requires a peer of rxjs@~6.3.3 but none is installed. You must install peer dependencies yourself.

It can simply be avoided by updating the peer dependencies to >=9.0.0.