gmostert / ng2-breadcrumb

This is an angular 2 component that creates a breadcrumb trail. It hooks into the angular2/router, to dynamically build up the crumb trail once a component is routed to.
MIT License
102 stars 81 forks source link

Fix npm warnings #89

Open pascallaprade opened 6 years ago

pascallaprade commented 6 years ago

It looks like the package.json file has gotten out of date. Everything seems to be working anyways, but a couple of warnings are raised by npm when doing a npm install after a fresh clone.

npm WARN deprecated @types/moment@2.13.0: This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!
npm WARN deprecated express@2.5.11: express 2.x series is deprecated
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated

[... skipping ...]

npm WARN @angular/platform-server@4.4.6 requires a peer of @angular/animations@4.4.6 but none is installed. You must install peer dependencies yourself.

added 469 packages in 29.629s

Especially, the deprecated packages can be more problematic if they are so because of some vulnerabilities they might have.