vite 3.2.7 → 3.2.8

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.
@@ -1,6 +1,6 @@
1
1
  import require$$0__default from 'fs';
2
2
  import require$$0 from 'postcss';
3
- import { A as commonjsGlobal } from './dep-2faf2534.js';
3
+ import { A as commonjsGlobal } from './dep-f11f7337.js';
4
4
  import require$$0$1 from 'path';
5
5
  import require$$5 from 'crypto';
6
6
  import require$$0$2 from 'util';
@@ -44169,7 +44169,7 @@ async function compileCSS(id, code, config, urlReplacer) {
44169
44169
  }));
44170
44170
  }
44171
44171
  if (isModule) {
44172
- postcssPlugins.unshift((await import('./dep-fd803d77.js').then(function (n) { return n.i; })).default({
44172
+ postcssPlugins.unshift((await import('./dep-ae4d20cb.js').then(function (n) { return n.i; })).default({
44173
44173
  ...modulesOptions,
44174
44174
  // TODO: convert null to undefined (`null` should be removed from `CSSModulesOptions.localsConvention`)
44175
44175
  localsConvention: modulesOptions?.localsConvention ?? undefined,
@@ -62048,7 +62048,10 @@ async function createServer(inlineConfig = {}) {
62048
62048
  _importGlobMap: new Map(),
62049
62049
  _forceOptimizeOnRestart: false,
62050
62050
  _pendingRequests: new Map(),
62051
- _fsDenyGlob: picomatch$3(config.server.fs.deny, { matchBase: true })
62051
+ _fsDenyGlob: picomatch$3(config.server.fs.deny, {
62052
+ matchBase: true,
62053
+ nocase: true
62054
+ })
62052
62055
  };
62053
62056
  server.transformIndexHtml = createDevHtmlTransformFn(server);
62054
62057
  if (!middlewareMode) {
package/dist/node/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { performance } from 'node:perf_hooks';
2
2
  import { EventEmitter } from 'events';
3
- import { z as picocolors, v as createLogger, g as resolveConfig } from './chunks/dep-2faf2534.js';
3
+ import { z as picocolors, v as createLogger, g as resolveConfig } from './chunks/dep-f11f7337.js';
4
4
  import { VERSION } from './constants.js';
5
5
  import 'node:fs';
6
6
  import 'node:path';
@@ -702,7 +702,7 @@ cli
702
702
  filterDuplicateOptions(options);
703
703
  // output structure is preserved even after bundling so require()
704
704
  // is ok here
705
- const { createServer } = await import('./chunks/dep-2faf2534.js').then(function (n) { return n.D; });
705
+ const { createServer } = await import('./chunks/dep-f11f7337.js').then(function (n) { return n.D; });
706
706
  try {
707
707
  const server = await createServer({
708
708
  root,
@@ -750,7 +750,7 @@ cli
750
750
  .option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
751
751
  .action(async (root, options) => {
752
752
  filterDuplicateOptions(options);
753
- const { build } = await import('./chunks/dep-2faf2534.js').then(function (n) { return n.C; });
753
+ const { build } = await import('./chunks/dep-f11f7337.js').then(function (n) { return n.C; });
754
754
  const buildOptions = cleanOptions(options);
755
755
  try {
756
756
  await build({
@@ -775,7 +775,7 @@ cli
775
775
  .option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
776
776
  .action(async (root, options) => {
777
777
  filterDuplicateOptions(options);
778
- const { optimizeDeps } = await import('./chunks/dep-2faf2534.js').then(function (n) { return n.B; });
778
+ const { optimizeDeps } = await import('./chunks/dep-f11f7337.js').then(function (n) { return n.B; });
779
779
  try {
780
780
  const config = await resolveConfig({
781
781
  root,
@@ -800,7 +800,7 @@ cli
800
800
  .option('--outDir <dir>', `[string] output directory (default: dist)`)
801
801
  .action(async (root, options) => {
802
802
  filterDuplicateOptions(options);
803
- const { preview } = await import('./chunks/dep-2faf2534.js').then(function (n) { return n.E; });
803
+ const { preview } = await import('./chunks/dep-f11f7337.js').then(function (n) { return n.E; });
804
804
  try {
805
805
  const server = await preview({
806
806
  root,
@@ -1,7 +1,7 @@
1
1
  import path, { resolve } from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
3
 
4
- var version = "3.2.7";
4
+ var version = "3.2.8";
5
5
 
6
6
  const VERSION = version;
7
7
  const DEFAULT_MAIN_FIELDS = [
@@ -1,4 +1,4 @@
1
- export { b as build, q as createFilter, v as createLogger, c as createServer, e as defineConfig, f as formatPostcssSourceMap, i as getDepOptimizationConfig, j as isDepsOptimizerEnabled, l as loadConfigFromFile, x as loadEnv, k as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, h as resolveBaseUrl, g as resolveConfig, y as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-2faf2534.js';
1
+ export { b as build, q as createFilter, v as createLogger, c as createServer, e as defineConfig, f as formatPostcssSourceMap, i as getDepOptimizationConfig, j as isDepsOptimizerEnabled, l as loadConfigFromFile, x as loadEnv, k as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, h as resolveBaseUrl, g as resolveConfig, y as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-f11f7337.js';
2
2
  export { VERSION as version } from './constants.js';
3
3
  export { version as esbuildVersion } from 'esbuild';
4
4
  export { VERSION as rollupVersion } from 'rollup';
@@ -31,7 +31,7 @@ var require$$1__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$1$1);
31
31
  var readline__default = /*#__PURE__*/_interopDefaultLegacy(readline);
32
32
  var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2);
33
33
 
34
- var version = "3.2.7";
34
+ var version = "3.2.8";
35
35
 
36
36
  const VERSION = version;
37
37
  const VITE_PACKAGE_DIR = path$3.resolve(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "3.2.7",
3
+ "version": "3.2.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",