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

Not using latest version magic-string (using 0.25.7 should use 0.30.0) - deprecated dependency. #7883

Closed
nsshunt opened this issue Mar 12, 2023 · 1 comment

Comments

@nsshunt
Copy link

nsshunt commented Mar 12, 2023

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 :-)

@LinusBorg
Copy link
Member

duplicate: #7329

@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants