coreui / coreui-free-angular-admin-template

CoreUI Angular is free Angular 18 admin template based on Bootstrap 5
https://coreui.io/product/free-angular-admin-template/
MIT License
1.72k stars 1.21k forks source link

Ask module Remove file, search all file: inflight, rimaraf, glob #271

Closed lenguyen09092k closed 2 weeks ago

lenguyen09092k commented 1 month ago

Before opening:

PS C:\Users\SenMS\Desktop\src\coreui-free-angular-admin-template-5.2.16> npm i npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported

What is the purpose of this Src using these 3 libraries?

image

xidedix commented 2 weeks ago

@lenguyen09092k You can verify it using the following commands:

npm ls inflight 
npm ls rimraf
npm ls glob

It turns out that Angular's default karma test runner depends on these packages.

You can also unit-test your Angular application with other testing libraries and test runners.