npm vite-node 0.26.0
v0.26.0

latest releases: 2.1.1, 2.1.0, 2.1.0-beta.7...
21 months ago

   🚨 Breaking Changes

  • vite-node: Rewrite how vite-node resolves id  -  by @sheremet-va in #2463 (58ee8)
  • Correctly interop nested default for external and inlined modules  -  by @sheremet-va in #2512 (084e9)
    • If your environment is node, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unless deps.interopDefault is enabled, or dependency is in deps.inline. This change doesn't affect jsdom, happy-dom or edge environments.
  • web-worker: Make web-worker implementation more compatible with spec  -  by @sheremet-va in #2431 (c3a63)
    • Messages are now cloned with structuredClone, if it's available, or fallbacks to a polyfill.
    • Added support for SharedWorker

   🚀 Features

  • Introduce a native way to set env and globals  -  by @sheremet-va in #2515 (b114d)
  • Add html reporter based on Vitest UI  -  by @poyoho and @sheremet-va in #2444 (b8f34)
    • If you have @vitest/ui installed, you can now use 'html' reporter to get a beautiful UI to view your test results, inspect module graph and read log messages.

   🐞 Bug Fixes

    View changes on GitHub

Don't miss a new vite-node release

NewReleases is sending notifications on new releases.