vite-node 0.25.1 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.cjs CHANGED
@@ -632,7 +632,7 @@ class CAC extends events.EventEmitter {
632
632
 
633
633
  const cac = (name = "") => new CAC(name);
634
634
 
635
- var version = "0.25.1";
635
+ var version = "0.25.2";
636
636
 
637
637
  const cli = cac("vite-node");
638
638
  cli.version(version).option("-r, --root <path>", "Use specified root directory").option("-c, --config <path>", "Use specified config file").option("-w, --watch", 'Restart on file changes, similar to "nodemon"').option("--options <options>", "Use specified Vite server options").help();
package/dist/cli.mjs CHANGED
@@ -630,7 +630,7 @@ class CAC extends EventEmitter {
630
630
 
631
631
  const cac = (name = "") => new CAC(name);
632
632
 
633
- var version = "0.25.1";
633
+ var version = "0.25.2";
634
634
 
635
635
  const cli = cac("vite-node");
636
636
  cli.version(version).option("-r, --root <path>", "Use specified root directory").option("-c, --config <path>", "Use specified config file").option("-w, --watch", 'Restart on file changes, similar to "nodemon"').option("--options <options>", "Use specified Vite server options").help();
package/dist/client.cjs CHANGED
@@ -238,7 +238,7 @@ ${getStack()}`), 2e3);
238
238
  set(_, p, value) {
239
239
  if (!Reflect.has(exports, "default"))
240
240
  exports.default = {};
241
- if (exports.default === null || typeof exports.default !== "object") {
241
+ if (utils.isPrimitive(exports.default)) {
242
242
  defineExport(exports, p, () => void 0);
243
243
  return true;
244
244
  }
package/dist/client.mjs CHANGED
@@ -211,7 +211,7 @@ ${getStack()}`), 2e3);
211
211
  set(_, p, value) {
212
212
  if (!Reflect.has(exports, "default"))
213
213
  exports.default = {};
214
- if (exports.default === null || typeof exports.default !== "object") {
214
+ if (isPrimitive(exports.default)) {
215
215
  defineExport(exports, p, () => void 0);
216
216
  return true;
217
217
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-node",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "Vite as Node.js runtime",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",