atlowChemi / vite-svg-2-webfont

A vite plugin which generates a webfont out of svg icons
https://www.npmjs.com/package/vite-svg-2-webfont
MIT License
24 stars 8 forks source link

WARN deprecated @npmcli/move-file & The `punycode` module is deprecated #17

Closed mhuch closed 4 months ago

mhuch commented 4 months ago

Hello.

First, if i install the package i get npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs

And then, on npm run dev, i got this Warning. (node:10051) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.

My Setup: Node.js v21.6.1. Vite v5.0.8

atlowChemi commented 4 months ago

The issue was with a dependency which has been outdated (specifically an issue with cacache fixed here)

I am opening a PR that should resolve this, thank you for reporting!