vite-node 0.21.0 → 0.21.1

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
@@ -629,7 +629,7 @@ class CAC extends events.EventEmitter {
629
629
 
630
630
  const cac = (name = "") => new CAC(name);
631
631
 
632
- var version = "0.21.0";
632
+ var version = "0.21.1";
633
633
 
634
634
  const cli = cac("vite-node");
635
635
  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
@@ -627,7 +627,7 @@ class CAC extends EventEmitter {
627
627
 
628
628
  const cac = (name = "") => new CAC(name);
629
629
 
630
- var version = "0.21.0";
630
+ var version = "0.21.1";
631
631
 
632
632
  const cli = cac("vite-node");
633
633
  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
@@ -169,7 +169,11 @@ ${getStack()}`), 2e3);
169
169
  const url$1 = url.pathToFileURL(fsPath).href;
170
170
  const meta = { url: url$1 };
171
171
  const exports = /* @__PURE__ */ Object.create(null);
172
- exports[Symbol.toStringTag] = "Module";
172
+ Object.defineProperty(exports, Symbol.toStringTag, {
173
+ value: "Module",
174
+ enumerable: false,
175
+ configurable: false
176
+ });
173
177
  this.moduleCache.set(fsPath, { code: transformed, exports });
174
178
  const __filename = url.fileURLToPath(url$1);
175
179
  const moduleProxy = {
package/dist/client.mjs CHANGED
@@ -142,7 +142,11 @@ ${getStack()}`), 2e3);
142
142
  const url = pathToFileURL(fsPath).href;
143
143
  const meta = { url };
144
144
  const exports = /* @__PURE__ */ Object.create(null);
145
- exports[Symbol.toStringTag] = "Module";
145
+ Object.defineProperty(exports, Symbol.toStringTag, {
146
+ value: "Module",
147
+ enumerable: false,
148
+ configurable: false
149
+ });
146
150
  this.moduleCache.set(fsPath, { code: transformed, exports });
147
151
  const __filename = fileURLToPath(url);
148
152
  const moduleProxy = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-node",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Vite as Node.js runtime",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "debug": "^4.3.4",
68
- "mlly": "^0.5.5",
68
+ "mlly": "^0.5.7",
69
69
  "pathe": "^0.2.0",
70
70
  "vite": "^2.9.12 || ^3.0.0-0"
71
71
  },