vite 6.3.5 → 7.0.0-beta.1

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.
Files changed (34) hide show
  1. package/LICENSE.md +29 -0
  2. package/bin/vite.js +4 -4
  3. package/dist/client/client.mjs +793 -921
  4. package/dist/client/env.mjs +14 -19
  5. package/dist/node/chunks/dep-3PhSlasG.js +5 -0
  6. package/dist/node/chunks/dep-B4i1tHPo.js +30 -0
  7. package/dist/node/chunks/dep-BO5GbxpL.js +7345 -0
  8. package/dist/node/chunks/dep-BaSfMtGz.js +5 -0
  9. package/dist/node/chunks/dep-Bb92EWrU.js +5 -0
  10. package/dist/node/chunks/dep-C9KS6hrN.js +5 -0
  11. package/dist/node/chunks/dep-Ctugieod.js +150 -0
  12. package/dist/node/chunks/dep-D5HXLrlI.js +378 -0
  13. package/dist/node/chunks/dep-Da5Rc_CS.js +36548 -0
  14. package/dist/node/chunks/dep-Dg4W3IAQ.js +5597 -0
  15. package/dist/node/chunks/dep-uSUFJk9A.js +446 -0
  16. package/dist/node/cli.js +617 -865
  17. package/dist/node/constants.js +3 -148
  18. package/dist/node/index.d.ts +2724 -3124
  19. package/dist/node/index.js +25 -188
  20. package/dist/node/module-runner.d.ts +243 -234
  21. package/dist/node/module-runner.js +1043 -1172
  22. package/dist/node/moduleRunnerTransport-BWUZBVLX.d.ts +88 -0
  23. package/package.json +38 -41
  24. package/types/importGlob.d.ts +4 -0
  25. package/types/internal/cssPreprocessorOptions.d.ts +3 -22
  26. package/dist/node/chunks/dep-3RmXg9uo.js +0 -553
  27. package/dist/node/chunks/dep-AiMcmC_f.js +0 -822
  28. package/dist/node/chunks/dep-CvfTChi5.js +0 -8218
  29. package/dist/node/chunks/dep-DBxKXgDP.js +0 -49496
  30. package/dist/node/chunks/dep-SgSik2vo.js +0 -7113
  31. package/dist/node/moduleRunnerTransport.d-DJ_mE5sf.d.ts +0 -87
  32. package/dist/node-cjs/publicUtils.cjs +0 -3986
  33. package/index.cjs +0 -96
  34. package/index.d.cts +0 -6
package/LICENSE.md CHANGED
@@ -1164,6 +1164,35 @@ Repository: gulpjs/glob-parent
1164
1164
 
1165
1165
  ---------------------------------------
1166
1166
 
1167
+ ## host-validation-middleware
1168
+ License: MIT
1169
+ By: sapphi-red
1170
+ Repository: git+https://github.com/sapphi-red/host-validation-middleware.git
1171
+
1172
+ > MIT License
1173
+ >
1174
+ > Copyright (c) 2025 sapphi-red
1175
+ >
1176
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
1177
+ > of this software and associated documentation files (the "Software"), to deal
1178
+ > in the Software without restriction, including without limitation the rights
1179
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1180
+ > copies of the Software, and to permit persons to whom the Software is
1181
+ > furnished to do so, subject to the following conditions:
1182
+ >
1183
+ > The above copyright notice and this permission notice shall be included in all
1184
+ > copies or substantial portions of the Software.
1185
+ >
1186
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1187
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1188
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1189
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1190
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1191
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1192
+ > SOFTWARE.
1193
+
1194
+ ---------------------------------------
1195
+
1167
1196
  ## http-proxy
1168
1197
  License: MIT
1169
1198
  By: Charlie Robbins, jcrugzz <jcrugzz@gmail.com>
package/bin/vite.js CHANGED
@@ -3,10 +3,10 @@ import { performance } from 'node:perf_hooks'
3
3
  import module from 'node:module'
4
4
 
5
5
  if (!import.meta.url.includes('node_modules')) {
6
- try {
7
- // only available as dev dependency
8
- await import('source-map-support').then((r) => r.default.install())
9
- } catch {}
6
+ if (!process.env.DEBUG_DISABLE_SOURCE_MAP) {
7
+ // eslint-disable-next-line n/no-unsupported-features/node-builtins -- only used in dev
8
+ process.setSourceMapsEnabled(true)
9
+ }
10
10
 
11
11
  process.on('unhandledRejection', (err) => {
12
12
  throw new Error('UNHANDLED PROMISE REJECTION', { cause: err })