Patch Changes
-
#539
ed8b314- Source injection no longer stops after the dev server parses a regex literal. Before this fix, a regex literal cachedvalueas a child key ofLiteralnodes. Every later file with a string literal then threw during the walk and got zerodata-tsd-sourceattributes. -
#540
012421f- Stop the console pipe feedback loop with Vite 8server.forwardConsole. The server side of the pipe no longer sends browser logs that Vite printed in the terminal back to the browser. -
#541
df1464c- Fix "Go to Source" for files outside the current working directory, for example a package in a monorepo or Vite run from another directory. The editor got a path with the working directory added twice. Also answer a missing or malformedsourcewith400instead of leaving the request pending. -
#545
d018c4c- Reject event bus requests to install a package when the name is not a valid npm package name. On macOS and Linux, run the package manager without a shell. Also reject a plugin import name that is not a JavaScript identifier, because it is written into your source file as code.