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

To update svgo to version 3.0 in @parcel/optimizer-htmlnano. #9660

Open
zbmovo opened this issue Apr 21, 2024 · 0 comments
Open

To update svgo to version 3.0 in @parcel/optimizer-htmlnano. #9660

zbmovo opened this issue Apr 21, 2024 · 0 comments

Comments

@zbmovo
Copy link

zbmovo commented Apr 21, 2024

🐛 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
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

1 participant