vite-node 0.8.3 → 0.9.0

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/server.cjs CHANGED
@@ -12,9 +12,7 @@ const ESM_EXT_RE = /\.(es|esm|esm-browser|esm-bundler|es6|module)\.js$/;
12
12
  const ESM_FOLDER_RE = /\/esm\/(.*\.js)$/;
13
13
  const defaultInline = [
14
14
  /virtual:/,
15
- /\.ts$/,
16
- ESM_EXT_RE,
17
- ESM_FOLDER_RE
15
+ /\.ts$/
18
16
  ];
19
17
  const depsExternal = [
20
18
  /\.cjs\.js$/,
package/dist/server.js CHANGED
@@ -8,9 +8,7 @@ const ESM_EXT_RE = /\.(es|esm|esm-browser|esm-bundler|es6|module)\.js$/;
8
8
  const ESM_FOLDER_RE = /\/esm\/(.*\.js)$/;
9
9
  const defaultInline = [
10
10
  /virtual:/,
11
- /\.ts$/,
12
- ESM_EXT_RE,
13
- ESM_FOLDER_RE
11
+ /\.ts$/
14
12
  ];
15
13
  const depsExternal = [
16
14
  /\.cjs\.js$/,
package/package.json CHANGED
@@ -1,25 +1,23 @@
1
1
  {
2
2
  "name": "vite-node",
3
- "version": "0.8.3",
3
+ "type": "module",
4
+ "version": "0.9.0",
4
5
  "description": "Vite as Node.js runtime",
5
6
  "homepage": "https://github.com/vitest-dev/vitest/blob/main/packages/vite-node#readme",
6
7
  "bugs": {
7
8
  "url": "https://github.com/vitest-dev/vitest/issues"
8
9
  },
9
10
  "license": "MIT",
11
+ "author": "Anthony Fu <anthonyfu117@hotmail.com>",
10
12
  "repository": {
11
13
  "type": "git",
12
14
  "url": "git+https://github.com/vitest-dev/vitest.git",
13
15
  "directory": "packages/vite-node"
14
16
  },
15
17
  "funding": "https://github.com/sponsors/antfu",
16
- "author": "Anthony Fu <anthonyfu117@hotmail.com>",
17
- "type": "module",
18
- "files": [
19
- "dist",
20
- "*.d.ts",
21
- "*.mjs"
22
- ],
18
+ "main": "./dist/index.js",
19
+ "module": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
23
21
  "exports": {
24
22
  ".": {
25
23
  "import": "./dist/index.js",
@@ -42,9 +40,11 @@
42
40
  "types": "./dist/utils.d.ts"
43
41
  }
44
42
  },
45
- "main": "./dist/index.js",
46
- "module": "./dist/index.js",
47
- "types": "./dist/index.d.ts",
43
+ "files": [
44
+ "dist",
45
+ "*.d.ts",
46
+ "*.mjs"
47
+ ],
48
48
  "bin": {
49
49
  "vite-node": "./vite-node.mjs"
50
50
  },
@@ -61,7 +61,7 @@
61
61
  "minimist": "^1.2.6",
62
62
  "mlly": "^0.5.1",
63
63
  "pathe": "^0.2.0",
64
- "vite": "^2.8.6"
64
+ "vite": "^2.9.1"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@types/minimist": "^1.2.2",