Memory Leak in PWA Mode Due to Deprecated Dependencies #17764
Labels
area/cli
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
mode/pwa
mode/ssr
Qv2 🔝
Quasar v2 issues
What happened?
I'm using SSR + PWA mode.
Running
npm install
in Quasar project with PWA enabled renders this warning message:$ 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 glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
The major concern is the inflight@1.0.6 which leaks memory.
I also previously saw build (
npm run build
) failure with memory leak related error message, which is fixed now but I suspect the inflight@1.0.6 could be one of the cause.What did you expect to happen?
No warning message especially about memory leak.
Reproduction URL
https://stackblitz.com/edit/quasarframework-stackblitz-templates-ealpqwif?file=package.json
How to reproduce?
npm init quasar@latest
.pwa: true
.rm -rf node_modules package-lock.json
.npm install
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
PWA Mode, SSR Mode, Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
No response
Quasar info output
Relevant log output
$ 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 glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Additional context
No response
The text was updated successfully, but these errors were encountered: