Not using latest version magic-string (using 0.25.7 should use 0.30.0) - deprecated dependency.
Vue version
3.2.47
Link to minimal reproduction
https://www.npmjs.com/package/magic-string
Steps to reproduce
Use npm to install components
get this build warning
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
this is becuase vue is using an outdated dependency
"node_modules/@vue/compiler-sfc": {
"version": "3.2.47",
"resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz",
"integrity": "sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==",
"dependencies": {
"@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.47",
"@vue/compiler-dom": "3.2.47",
"@vue/compiler-ssr": "3.2.47",
"@vue/reactivity-transform": "3.2.47",
"@vue/shared": "3.2.47",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.7",
"postcss": "^8.1.10",
"source-map": "^0.6.1"
}
},
magic-string should be 0.30.0
What is expected?
No build warning for deprecated modules
What is actually happening?
Getting this warning;
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instea
System Info
Typical dev gaming rig ...
Any additional comments?
Sorry this is not a bug but just an annoyance. It conflicts with my OCD :-)