vite-node 0.12.9 → 0.12.10

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
@@ -627,7 +627,7 @@ class CAC extends events.EventEmitter {
627
627
 
628
628
  const cac = (name = "") => new CAC(name);
629
629
 
630
- var version = "0.12.9";
630
+ var version = "0.12.10";
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"').help();
package/dist/cli.js CHANGED
@@ -625,7 +625,7 @@ class CAC extends EventEmitter {
625
625
 
626
626
  const cac = (name = "") => new CAC(name);
627
627
 
628
- var version = "0.12.9";
628
+ var version = "0.12.10";
629
629
 
630
630
  const cli = cac("vite-node");
631
631
  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"').help();
package/package.json CHANGED
@@ -1,53 +1,45 @@
1
1
  {
2
2
  "name": "vite-node",
3
3
  "type": "module",
4
- "version": "0.12.9",
4
+ "version": "0.12.10",
5
5
  "description": "Vite as Node.js runtime",
6
- "homepage": "https://github.com/vitest-dev/vitest/blob/main/packages/vite-node#readme",
7
- "bugs": {
8
- "url": "https://github.com/vitest-dev/vitest/issues"
9
- },
10
- "license": "MIT",
11
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
+ "license": "MIT",
8
+ "funding": "https://github.com/sponsors/antfu",
9
+ "homepage": "https://github.com/vitest-dev/vitest/blob/main/packages/vite-node#readme",
12
10
  "repository": {
13
11
  "type": "git",
14
12
  "url": "git+https://github.com/vitest-dev/vitest.git",
15
13
  "directory": "packages/vite-node"
16
14
  },
17
- "funding": "https://github.com/sponsors/antfu",
18
- "main": "./dist/index.js",
19
- "module": "./dist/index.js",
20
- "types": "./dist/index.d.ts",
15
+ "bugs": {
16
+ "url": "https://github.com/vitest-dev/vitest/issues"
17
+ },
21
18
  "exports": {
22
19
  ".": {
20
+ "types": "./dist/index.d.ts",
23
21
  "import": "./dist/index.js",
24
- "require": "./dist/index.cjs",
25
- "types": "./dist/index.d.ts"
22
+ "require": "./dist/index.cjs"
26
23
  },
27
24
  "./client": {
25
+ "types": "./dist/client.d.ts",
28
26
  "import": "./dist/client.js",
29
- "require": "./dist/client.cjs",
30
- "types": "./dist/client.d.ts"
27
+ "require": "./dist/client.cjs"
31
28
  },
32
29
  "./server": {
30
+ "types": "./dist/server.d.ts",
33
31
  "import": "./dist/server.js",
34
- "require": "./dist/server.cjs",
35
- "types": "./dist/server.d.ts"
32
+ "require": "./dist/server.cjs"
36
33
  },
37
34
  "./utils": {
35
+ "types": "./dist/utils.d.ts",
38
36
  "import": "./dist/utils.js",
39
- "require": "./dist/utils.cjs",
40
- "types": "./dist/utils.d.ts"
37
+ "require": "./dist/utils.cjs"
41
38
  }
42
39
  },
43
- "files": [
44
- "dist",
45
- "*.d.ts",
46
- "*.mjs"
47
- ],
48
- "bin": {
49
- "vite-node": "./vite-node.mjs"
50
- },
40
+ "main": "./dist/index.js",
41
+ "module": "./dist/index.js",
42
+ "types": "./dist/index.d.ts",
51
43
  "typesVersions": {
52
44
  "*": {
53
45
  "*": [
@@ -56,20 +48,28 @@
56
48
  ]
57
49
  }
58
50
  },
51
+ "bin": {
52
+ "vite-node": "./vite-node.mjs"
53
+ },
54
+ "files": [
55
+ "dist",
56
+ "*.d.ts",
57
+ "*.mjs"
58
+ ],
59
+ "engines": {
60
+ "node": ">=v14.16.0"
61
+ },
59
62
  "dependencies": {
60
63
  "debug": "^4.3.4",
61
64
  "kolorist": "^1.5.1",
62
65
  "mlly": "^0.5.2",
63
66
  "pathe": "^0.2.0",
64
- "vite": "^2.9.8"
67
+ "vite": "^2.9.9"
65
68
  },
66
69
  "devDependencies": {
67
70
  "@types/debug": "^4.1.7",
68
71
  "cac": "^6.7.12",
69
- "rollup": "^2.73.0"
70
- },
71
- "engines": {
72
- "node": ">=v14.16.0"
72
+ "rollup": "^2.74.1"
73
73
  },
74
74
  "scripts": {
75
75
  "build": "rimraf dist && rollup -c",