vite 3.0.0-beta.1 → 3.0.0-beta.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.4",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",
@@ -48,7 +48,7 @@
48
48
  "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript",
49
49
  "build-types": "run-s build-temp-types patch-types roll-types check-dist-types",
50
50
  "build-temp-types": "tsc --emitDeclarationOnly --outDir temp/node -p src/node",
51
- "patch-types": "esno scripts/patchTypes.ts",
51
+ "patch-types": "tsx scripts/patchTypes.ts",
52
52
  "roll-types": "api-extractor run && rimraf temp",
53
53
  "check-dist-types": "tsc --project tsconfig.check.json",
54
54
  "lint": "eslint --cache --ext .ts src/**",
@@ -71,7 +71,7 @@
71
71
  "@babel/types": "^7.18.4",
72
72
  "@jridgewell/trace-mapping": "^0.3.13",
73
73
  "@rollup/plugin-alias": "^3.1.9",
74
- "@rollup/plugin-commonjs": "^21.1.0",
74
+ "@rollup/plugin-commonjs": "^22.0.1",
75
75
  "@rollup/plugin-dynamic-import-vars": "^1.4.3",
76
76
  "@rollup/plugin-json": "^4.1.0",
77
77
  "@rollup/plugin-node-resolve": "13.3.0",
@@ -90,7 +90,6 @@
90
90
  "dotenv": "^14.3.2",
91
91
  "dotenv-expand": "^5.1.0",
92
92
  "es-module-lexer": "^0.10.5",
93
- "esno": "^0.16.3",
94
93
  "estree-walker": "^3.0.1",
95
94
  "etag": "^1.8.1",
96
95
  "fast-glob": "^3.2.11",
@@ -9,7 +9,7 @@ import '@vite/env'
9
9
  declare const __BASE__: string
10
10
  declare const __HMR_PROTOCOL__: string | null
11
11
  declare const __HMR_HOSTNAME__: string | null
12
- declare const __HMR_PORT__: string | null
12
+ declare const __HMR_PORT__: number | null
13
13
  declare const __HMR_DIRECT_TARGET__: string
14
14
  declare const __HMR_BASE__: string
15
15
  declare const __HMR_TIMEOUT__: number