nshen / vite-plugin-cesium

⚡ Vite plugin for Cesium
MIT License
234 stars 37 forks source link

sourcemap-codec@npm:1.4.8 is deprecated: Please use @jridgewell/sourcemap-codec instead #49

Closed eric-g-97477 closed 1 year ago

eric-g-97477 commented 1 year ago

I am working on upgrading a project to node 20.9.0 and yarn 3. This warning was emitted and it appears your package is the reason why -- according to yarn why.

$ yarn why sourcemap-codec -R                                                       

yarn why v1.22.19
[1/4] 🤔  Why do we have the module "sourcemap-codec"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "sourcemap-codec@1.4.8"
info Reasons this module exists
   - "vite-plugin-cesium#rollup-plugin-external-globals#magic-string" depends on it
   - Hoisted from "vite-plugin-cesium#rollup-plugin-external-globals#magic-string#sourcemap-codec"
info Disk size without dependencies: "68KB"
info Disk size with unique dependencies: "68KB"
info Disk size with transitive dependencies: "68KB"
info Number of shared dependencies: 0
✨  Done in 1.26s.

It would be nice if this deprecation warning could be fixed.

eric-g-97477 commented 1 year ago

added a better issue.