To update svgo to version 3.0 in @parcel/optimizer-htmlnano.
zbmovo opened this issue Β· comments
zbmovo commented
π bug report
The deprecated warning for stable@0.1.8 is displayed during Parcel installation.
Downloading @parcel/rust@2.12.0: 65.58 MB/65.58 MB, done Downloading @swc/core-win32-x64-msvc@1.4.16: 16.65 MB/16.65 MB, done βWARNβ 1 deprecated subdependencies found: stable@0.1.8 <----------- Packages: +172 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 210, reused 0, downloaded 172, added 172, done node_modules/.pnpm/@swc+core@1.4.16_@swc+helpers@0.5.10/node_modules/@swc/core: Running postinstall script, done in 69ms node_modules/.pnpm/msgpackr-extract@3.0.2/node_modules/msgpackr-extract: Running install script, done in 153ms node_modules/.pnpm/lmdb@2.8.5/node_modules/lmdb: Running install script, done in 188ms devDependencies: + parcel 2.12.0 βWARNβ Issues with peer dependencies found . βββ¬ parcel 2.12.0 βββ¬ @parcel/config-default 2.12.0 βββ¬ @parcel/optimizer-htmlnano 2.12.0 βββ¬ htmlnano 2.1.0 βββ β unmet peer svgo@^3.0.2: found 2.8.0 in @parcel/optimizer-htmlnano Done in 10.3s
π Configuration (.babelrc, package.json, cli command)
pnpm i parcel -Dπ€ Expected Behavior
Do not display the deprecated warning.
π― Current Behavior
The console outputs "WARN 1 deprecated subdependencies found: stable@0.1.8."
π Possible Solution
The svgo version used here is v2.4.0, and its dependency, stable v0.1.8, has been deprecated. It's now possible to update to the latest version of svgo, v3.2.0, to address the deprecation warning encountered during Parcel installation.
π Your Environment
Software Version(s) Parcel ^2.12.0 Node v20.11.0 pnpm v9.0.4 Operating System windows 10