vite 7.0.0 → 7.0.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.
- package/LICENSE.md +2 -2
- package/dist/client/client.mjs +4 -4
- package/dist/node/chunks/{dep-BDIuIvL4.js → dep-BQABeiGC.js} +1 -1
- package/dist/node/chunks/{dep-pyXEOwQv.js → dep-BTLup-s1.js} +1 -1
- package/dist/node/chunks/{dep-DnkJBLYF.js → dep-BVsfzsUS.js} +1 -1
- package/dist/node/chunks/{dep-Do-w1DD4.js → dep-BpPEUsd2.js} +1 -1
- package/dist/node/chunks/{dep-Bsx9IwL8.js → dep-DJGyAxkV.js} +240 -261
- package/dist/node/chunks/{dep-BrEuKyO0.js → dep-fMAWSKNW.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/index.js +1 -1
- package/dist/node/module-runner.js +3 -36
- package/package.json +7 -7
- package/types/importGlob.d.ts +10 -0
package/LICENSE.md
CHANGED
@@ -323,9 +323,9 @@ Repository: git+https://github.com/jridgewell/sourcemap-codec.git
|
|
323
323
|
## @jridgewell/trace-mapping
|
324
324
|
License: MIT
|
325
325
|
By: Justin Ridgewell
|
326
|
-
Repository: git+https://github.com/jridgewell/
|
326
|
+
Repository: git+https://github.com/jridgewell/sourcemaps.git
|
327
327
|
|
328
|
-
> Copyright
|
328
|
+
> Copyright 2024 Justin Ridgewell <justin@ridgewell.name>
|
329
329
|
>
|
330
330
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
331
331
|
> of this software and associated documentation files (the "Software"), to deal
|
package/dist/client/client.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "@vite/env";
|
2
2
|
|
3
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
3
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/esm/typeof.js
|
4
4
|
function _typeof(o) {
|
5
5
|
"@babel/helpers - typeof";
|
6
6
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
@@ -11,7 +11,7 @@ function _typeof(o) {
|
|
11
11
|
}
|
12
12
|
|
13
13
|
//#endregion
|
14
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
14
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/esm/toPrimitive.js
|
15
15
|
function toPrimitive(t, r) {
|
16
16
|
if ("object" != _typeof(t) || !t) return t;
|
17
17
|
var e = t[Symbol.toPrimitive];
|
@@ -24,14 +24,14 @@ function toPrimitive(t, r) {
|
|
24
24
|
}
|
25
25
|
|
26
26
|
//#endregion
|
27
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
27
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/esm/toPropertyKey.js
|
28
28
|
function toPropertyKey(t) {
|
29
29
|
var i = toPrimitive(t, "string");
|
30
30
|
return "symbol" == _typeof(i) ? i : i + "";
|
31
31
|
}
|
32
32
|
|
33
33
|
//#endregion
|
34
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
34
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.75.0/node_modules/@oxc-project/runtime/src/helpers/esm/defineProperty.js
|
35
35
|
function _defineProperty(e, r, t) {
|
36
36
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
37
37
|
value: t,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createRequire as ___createRequire } from 'module'; const require = ___createRequire(import.meta.url);
|
2
|
-
import { preview, resolvePreviewOptions } from "./dep-
|
2
|
+
import { preview, resolvePreviewOptions } from "./dep-DJGyAxkV.js";
|
3
3
|
import "./dep-Ctugieod.js";
|
4
4
|
|
5
5
|
export { preview };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createRequire as ___createRequire } from 'module'; const require = ___createRequire(import.meta.url);
|
2
|
-
import { BuildEnvironment, build, buildEnvironmentOptionsDefaults, builderOptionsDefaults, createBuilder, createToImportMetaURLBasedRelativeRuntime, injectEnvironmentToHooks, onRollupLog, resolveBuildEnvironmentOptions, resolveBuildOutputs, resolveBuildPlugins, resolveBuilderOptions, resolveLibFilename, resolveUserExternal, toOutputFilePathInCss, toOutputFilePathInHtml, toOutputFilePathInJS, toOutputFilePathWithoutRuntime } from "./dep-
|
2
|
+
import { BuildEnvironment, build, buildEnvironmentOptionsDefaults, builderOptionsDefaults, createBuilder, createToImportMetaURLBasedRelativeRuntime, injectEnvironmentToHooks, onRollupLog, resolveBuildEnvironmentOptions, resolveBuildOutputs, resolveBuildPlugins, resolveBuilderOptions, resolveLibFilename, resolveUserExternal, toOutputFilePathInCss, toOutputFilePathInHtml, toOutputFilePathInJS, toOutputFilePathWithoutRuntime } from "./dep-DJGyAxkV.js";
|
3
3
|
import "./dep-Ctugieod.js";
|
4
4
|
|
5
5
|
export { createBuilder, resolveBuildPlugins };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { createRequire as ___createRequire } from 'module'; const require = ___createRequire(import.meta.url);
|
2
|
-
import { _createServer, createServer, createServerCloseFn, resolveServerOptions, restartServerWithUrls, serverConfigDefaults } from "./dep-
|
2
|
+
import { _createServer, createServer, createServerCloseFn, resolveServerOptions, restartServerWithUrls, serverConfigDefaults } from "./dep-DJGyAxkV.js";
|
3
3
|
import "./dep-Ctugieod.js";
|
4
4
|
|
5
5
|
export { createServer };
|
@@ -5182,7 +5182,7 @@ var require_src$1 = __commonJS({ "../../node_modules/.pnpm/postcss-modules-scope
|
|
5182
5182
|
});
|
5183
5183
|
}
|
5184
5184
|
const whitespace = "[\\x20\\t\\r\\n\\f]";
|
5185
|
-
const unescapeRegExp = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(
|
5185
|
+
const unescapeRegExp = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|([\\x20\\t\\r\\n\\f])|.)", "ig");
|
5186
5186
|
function unescape(str$1) {
|
5187
5187
|
return str$1.replace(unescapeRegExp, (_, escaped, escapedWhitespace) => {
|
5188
5188
|
const high = "0x" + escaped - 65536;
|