vite 4.4.0-beta.4 → 4.4.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.

Potentially problematic release.


This version of vite might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
- import { E as getDefaultExportFromCjs } from './dep-e5bde5c9.js';
1
+ import { E as getDefaultExportFromCjs } from './dep-1d3a4915.js';
2
2
  import require$$0 from 'path';
3
3
  import require$$0__default from 'fs';
4
4
  import { l as lib } from './dep-c423598f.js';
@@ -1,4 +1,4 @@
1
- import { F as commonjsGlobal, E as getDefaultExportFromCjs } from './dep-e5bde5c9.js';
1
+ import { F as commonjsGlobal, E as getDefaultExportFromCjs } from './dep-1d3a4915.js';
2
2
  import require$$0__default from 'fs';
3
3
  import require$$0 from 'postcss';
4
4
  import require$$0$1 from 'path';
package/dist/node/cli.js CHANGED
@@ -2,7 +2,7 @@ import path from 'node:path';
2
2
  import fs from 'node:fs';
3
3
  import { performance } from 'node:perf_hooks';
4
4
  import { EventEmitter } from 'events';
5
- import { C as colors, D as bindShortcuts, x as createLogger, h as resolveConfig } from './chunks/dep-e5bde5c9.js';
5
+ import { C as colors, D as bindShortcuts, x as createLogger, h as resolveConfig } from './chunks/dep-1d3a4915.js';
6
6
  import { VERSION } from './constants.js';
7
7
  import 'node:fs/promises';
8
8
  import 'node:url';
@@ -738,7 +738,7 @@ cli
738
738
  filterDuplicateOptions(options);
739
739
  // output structure is preserved even after bundling so require()
740
740
  // is ok here
741
- const { createServer } = await import('./chunks/dep-e5bde5c9.js').then(function (n) { return n.I; });
741
+ const { createServer } = await import('./chunks/dep-1d3a4915.js').then(function (n) { return n.I; });
742
742
  try {
743
743
  const server = await createServer({
744
744
  root,
@@ -816,7 +816,7 @@ cli
816
816
  .option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
817
817
  .action(async (root, options) => {
818
818
  filterDuplicateOptions(options);
819
- const { build } = await import('./chunks/dep-e5bde5c9.js').then(function (n) { return n.H; });
819
+ const { build } = await import('./chunks/dep-1d3a4915.js').then(function (n) { return n.H; });
820
820
  const buildOptions = cleanOptions(options);
821
821
  try {
822
822
  await build({
@@ -844,7 +844,7 @@ cli
844
844
  .option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
845
845
  .action(async (root, options) => {
846
846
  filterDuplicateOptions(options);
847
- const { optimizeDeps } = await import('./chunks/dep-e5bde5c9.js').then(function (n) { return n.G; });
847
+ const { optimizeDeps } = await import('./chunks/dep-1d3a4915.js').then(function (n) { return n.G; });
848
848
  try {
849
849
  const config = await resolveConfig({
850
850
  root,
@@ -871,7 +871,7 @@ cli
871
871
  .option('--outDir <dir>', `[string] output directory (default: dist)`)
872
872
  .action(async (root, options) => {
873
873
  filterDuplicateOptions(options);
874
- const { preview } = await import('./chunks/dep-e5bde5c9.js').then(function (n) { return n.J; });
874
+ const { preview } = await import('./chunks/dep-1d3a4915.js').then(function (n) { return n.J; });
875
875
  try {
876
876
  const server = await preview({
877
877
  root,
@@ -1,5 +1,5 @@
1
- import { i as isInNodeModules } from './chunks/dep-e5bde5c9.js';
2
- export { b as build, e as buildErrorMessage, v as createFilter, x as createLogger, c as createServer, g as defineConfig, f as formatPostcssSourceMap, k as getDepOptimizationConfig, m as isDepsOptimizerEnabled, z as isFileServingAllowed, l as loadConfigFromFile, A as loadEnv, u as mergeAlias, q as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, j as resolveBaseUrl, h as resolveConfig, B as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, y as searchForWorkspaceRoot, w as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-e5bde5c9.js';
1
+ import { i as isInNodeModules } from './chunks/dep-1d3a4915.js';
2
+ export { b as build, e as buildErrorMessage, v as createFilter, x as createLogger, c as createServer, g as defineConfig, f as formatPostcssSourceMap, k as getDepOptimizationConfig, m as isDepsOptimizerEnabled, z as isFileServingAllowed, l as loadConfigFromFile, A as loadEnv, u as mergeAlias, q as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, j as resolveBaseUrl, h as resolveConfig, B as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, y as searchForWorkspaceRoot, w as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-1d3a4915.js';
3
3
  export { VERSION as version } from './constants.js';
4
4
  export { version as esbuildVersion } from 'esbuild';
5
5
  export { VERSION as rollupVersion } from 'rollup';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "4.4.0-beta.4",
3
+ "version": "4.4.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@ampproject/remapping": "^2.2.1",
79
- "@babel/parser": "^7.22.5",
79
+ "@babel/parser": "^7.22.6",
80
80
  "@babel/types": "^7.22.5",
81
81
  "@jridgewell/trace-mapping": "^0.3.18",
82
82
  "@rollup/plugin-alias": "^4.0.4",
@@ -84,7 +84,7 @@
84
84
  "@rollup/plugin-dynamic-import-vars": "^2.0.3",
85
85
  "@rollup/plugin-json": "^6.0.0",
86
86
  "@rollup/plugin-node-resolve": "15.1.0",
87
- "@rollup/plugin-typescript": "^11.1.1",
87
+ "@rollup/plugin-typescript": "^11.1.2",
88
88
  "@rollup/pluginutils": "^5.0.2",
89
89
  "@types/pnpapi": "^0.0.2",
90
90
  "@types/escape-html": "^1.0.2",
@@ -105,12 +105,12 @@
105
105
  "escape-html": "^1.0.3",
106
106
  "estree-walker": "^3.0.3",
107
107
  "etag": "^1.8.1",
108
- "fast-glob": "^3.2.12",
108
+ "fast-glob": "^3.3.0",
109
109
  "http-proxy": "^1.18.1",
110
110
  "json-stable-stringify": "^1.0.2",
111
111
  "launch-editor-middleware": "^2.6.0",
112
- "lightningcss": "^1.21.1",
113
- "magic-string": "^0.30.0",
112
+ "lightningcss": "^1.21.4",
113
+ "magic-string": "^0.30.1",
114
114
  "micromatch": "^4.0.5",
115
115
  "mlly": "^1.4.0",
116
116
  "mrmime": "^1.0.1",
@@ -130,7 +130,7 @@
130
130
  "strip-ansi": "^7.1.0",
131
131
  "strip-literal": "^1.0.1",
132
132
  "tsconfck": "^2.1.1",
133
- "tslib": "^2.5.3",
133
+ "tslib": "^2.6.0",
134
134
  "types": "link:./types",
135
135
  "ufo": "^1.1.2",
136
136
  "ws": "^8.13.0"