Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm warn deprecated with karma package #3884

Open
ansAGujar opened this issue Aug 6, 2024 · 1 comment
Open

npm warn deprecated with karma package #3884

ansAGujar opened this issue Aug 6, 2024 · 1 comment

Comments

@ansAGujar
Copy link

ansAGujar commented Aug 6, 2024

I have created the new project with angular 17 and do npm install. I am getting below warning and mostly these warning are due to karma using the old version of glob and inflight. How i can remove these warning?

npm install
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 read-package-json@7.0.1: This package is no longer supported. Please use @npmcli/package-json instead.
npm warn deprecated backbone-undo@0.2.6: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
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

package.json file:

{
"name": "test-project",
"version": "0.0.1",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test --watch=false --browsers=ChromeHeadless",
"lint": "ng lint",
"pretty-quick": "pretty-quick --staged",
"prepare": "husky",
"compodoc": "compodoc -p tsconfig.json",
"compodoc-serve": "compodoc -s"
},
"private": true,
"dependencies": {
"@angular/animations": "^17.1.0",
"@angular/common": "^17.1.0",
"@angular/compiler": "^17.1.0",
"@angular/core": "^17.1.0",
"@angular/elements": "^17.3.12",
"@angular/forms": "^17.1.0",
"@angular/platform-browser": "^17.1.0",
"@angular/platform-browser-dynamic": "^17.1.0",
"@angular/router": "^17.1.0",
"angular-font-awesome": "^3.1.2",
"bootstrap": "^5.3.3",
"grapesjs": "^0.21.12",
"grapesjs-preset-webpage": "^1.0.3",
"husky": "^9.1.1",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.1.2",
"@angular/cli": "^17.1.2",
"@angular/compiler-cli": "^17.1.0",
"@types/jasmine": "~5.1.0",
"angular-eslint": "18.1.0",
"eslint": "^9.6.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"typescript": "~5.3.2",
"typescript-eslint": "8.0.0-alpha.38"
}
}

Can someone please help me with this?

@anthony-redFox
Copy link
Contributor

Hello, I can propose for you to use my fork https://www.npmjs.com/package/karma-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants