Open
Description
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 [email protected]: 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 [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
The major concern is the [email protected] 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 [email protected] 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?
- Create new project using Quasar CLI command
npm init quasar@latest
. - Enable PWA in quasar.config.ts file
pwa: true
. - Delete node_modules and package-lock.json file
rm -rf node_modules package-lock.json
. - Run
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
Operating System - Windows_NT(10.0.22631) - win32/x64
NodeJs - 20.17.0
Global packages
NPM - 10.8.2
yarn - Not installed
pnpm - Not installed
bun - Not installed
@quasar/cli - 2.4.1
@quasar/icongenie - 4.0.0
cordova - Not installed
Important local packages
quasar - 2.17.6 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
@quasar/app-vite - 2.0.7 -- Quasar Framework App CLI with Vite
@quasar/extras - 1.16.15 -- Quasar Framework fonts, icons and animations
eslint-plugin-quasar - Not installed
vue - 3.5.13 -- The progressive JavaScript framework for building modern web UI.
vue-router - 4.5.0
pinia - 2.3.0 -- Intuitive, type safe and flexible Store for Vue
vite - 6.0.7 -- Native-ESM powered web dev build tool
vite-plugin-checker - Not installed
eslint - 9.18.0 -- An AST-based pattern checker for JavaScript.
esbuild - 0.24.2 -- An extremely fast JavaScript and CSS bundler and minifier.
typescript - 5.5.4 -- TypeScript is a language for application scale JavaScript development
workbox-build - 7.3.0 -- A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.
register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
electron - Not installed
@electron/packager - Not installed
electron-builder - Not installed
@capacitor/core - Not installed
@capacitor/cli - Not installed
@capacitor/android - Not installed
@capacitor/ios - Not installed
Quasar App Extensions
*None installed*
Relevant log output
$ npm install
npm warn deprecated [email protected]: 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 [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
Additional context
No response