crxjs / chrome-extension-tools

Bundling Chrome Extensions can be pretty complex. It doesn't have to be.
https://crxjs.dev/vite-plugin
2.97k stars 191 forks source link

Is it possible to update magic-string to version 0.27.0 or higher? #934

Closed lvzhenbo closed 1 month ago

lvzhenbo commented 1 month ago

Build tool

Vite

Where do you see the problem?

Describe the bug

I got a deprecation warning, the dependency chain points to @crxjs/vite-plugin image Update log of magic-string https://github.com/Rich-Harris/magic-string/blob/master/CHANGELOG.md#0270-2022-12-03

Reproduction

any

Logs

No response

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i5-13500
    Memory: 2.13 GB / 15.62 GB
  Binaries:
    Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.2 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (129.0.2792.79)
    Internet Explorer: 11.0.26100.1882

Severity

annoyance

lvzhenbo commented 1 month ago

There's also a dependency, connect-injector, which a search reveals to be an 8 year old dependency, I don't know what modern alternatives are available