fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
249 stars 252 forks source link

ERROR in Error: Could not resolve moment/ts3.1-typings/moment from #476

Open Prudhvicharan opened 2 years ago

Prudhvicharan commented 2 years ago

Angular version: 8.2.14 moment: 2.29.4 tslib: ^1.10.0 ngx-daterangepicker-material: ^2.2.0

Describe the bug Hi, I am using Angular 8 version and when I try to upgrade moment package from 2.24.0 to 2.29.4 I am facing this issue.

ERROR in Error: Could not resolve moment/ts3.1-typings/moment from .../node_modules/ngx-daterangepicker-material/ngx-daterangepicker-material.d.ts

We are facing 2 High Vulnerabilties(CVE-2022-24785, CVE-2022-31129) for moment package with scores 7.5, 7.5 respectively. Can someone please help.

Additional context I am not facing the issue if I revert the moment version back to 2.24.0. I need to update moment package to the latest version (2.29.4). Please let me know if there are any dependencies on packages that I need to update.