vite 8.0.1 → 8.0.2
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/dist/client/client.mjs +4 -4
- package/dist/node/chunks/build.js +0 -1
- package/dist/node/chunks/config.js +0 -1
- package/dist/node/chunks/node.js +42 -30
- package/dist/node/chunks/optimizer.js +0 -1
- package/dist/node/chunks/preview.js +0 -1
- package/dist/node/chunks/server.js +0 -1
- package/dist/node/index.d.ts +9 -2
- package/package.json +9 -9
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
|
-
//#region \0@oxc-project+runtime@0.
|
|
2
|
+
//#region \0@oxc-project+runtime@0.121.0/helpers/typeof.js
|
|
3
3
|
function _typeof(o) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
5
5
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -9,7 +9,7 @@ function _typeof(o) {
|
|
|
9
9
|
}, _typeof(o);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.121.0/helpers/toPrimitive.js
|
|
13
13
|
function toPrimitive(t, r) {
|
|
14
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
15
|
var e = t[Symbol.toPrimitive];
|
|
@@ -21,13 +21,13 @@ function toPrimitive(t, r) {
|
|
|
21
21
|
return ("string" === r ? String : Number)(t);
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region \0@oxc-project+runtime@0.
|
|
24
|
+
//#region \0@oxc-project+runtime@0.121.0/helpers/toPropertyKey.js
|
|
25
25
|
function toPropertyKey(t) {
|
|
26
26
|
var i = toPrimitive(t, "string");
|
|
27
27
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.121.0/helpers/defineProperty.js
|
|
31
31
|
function _defineProperty(e, r, t) {
|
|
32
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
33
|
value: t,
|
package/dist/node/chunks/node.js
CHANGED
|
@@ -10043,7 +10043,7 @@ var require_shell_quote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10043
10043
|
exports.parse = require_parse$1();
|
|
10044
10044
|
}));
|
|
10045
10045
|
//#endregion
|
|
10046
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10046
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/macos.js
|
|
10047
10047
|
var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10048
10048
|
module.exports = {
|
|
10049
10049
|
"/Applications/Atom.app/Contents/MacOS/Atom": "atom",
|
|
@@ -10053,6 +10053,7 @@ var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10053
10053
|
"/Applications/Sublime Text.app/Contents/MacOS/sublime_text": "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl",
|
|
10054
10054
|
"/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2": "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl",
|
|
10055
10055
|
"/Applications/Sublime Text Dev.app/Contents/MacOS/Sublime Text": "/Applications/Sublime Text Dev.app/Contents/SharedSupport/bin/subl",
|
|
10056
|
+
"/Applications/Visual Studio Code.app/Contents/MacOS/Code": "code",
|
|
10056
10057
|
"/Applications/Visual Studio Code.app/Contents/MacOS/Electron": "code",
|
|
10057
10058
|
"/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Code - Insiders": "code-insiders",
|
|
10058
10059
|
"/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron": "code-insiders",
|
|
@@ -10077,7 +10078,7 @@ var require_macos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10077
10078
|
};
|
|
10078
10079
|
}));
|
|
10079
10080
|
//#endregion
|
|
10080
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10081
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/linux.js
|
|
10081
10082
|
var require_linux = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10082
10083
|
module.exports = {
|
|
10083
10084
|
atom: "atom",
|
|
@@ -10111,7 +10112,7 @@ var require_linux = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10111
10112
|
};
|
|
10112
10113
|
}));
|
|
10113
10114
|
//#endregion
|
|
10114
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10115
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/editor-info/windows.js
|
|
10115
10116
|
var require_windows$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10116
10117
|
module.exports = [
|
|
10117
10118
|
"Brackets.exe",
|
|
@@ -10138,13 +10139,13 @@ var require_windows$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10138
10139
|
"goland64.exe",
|
|
10139
10140
|
"rider.exe",
|
|
10140
10141
|
"rider64.exe",
|
|
10141
|
-
"
|
|
10142
|
+
"Trae.exe",
|
|
10142
10143
|
"zed.exe",
|
|
10143
10144
|
"Antigravity.exe"
|
|
10144
10145
|
];
|
|
10145
10146
|
}));
|
|
10146
10147
|
//#endregion
|
|
10147
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10148
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/guess.js
|
|
10148
10149
|
var require_guess = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10149
10150
|
const path$9 = __require("path");
|
|
10150
10151
|
const shellQuote = require_shell_quote();
|
|
@@ -10205,7 +10206,7 @@ var require_guess = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10205
10206
|
};
|
|
10206
10207
|
}));
|
|
10207
10208
|
//#endregion
|
|
10208
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10209
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/get-args.js
|
|
10209
10210
|
var require_get_args = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10210
10211
|
const path$8 = __require("path");
|
|
10211
10212
|
module.exports = function getArgumentsForPosition(editor, fileName, lineNumber, columnNumber = 1) {
|
|
@@ -10284,7 +10285,7 @@ var require_get_args = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
10284
10285
|
};
|
|
10285
10286
|
}));
|
|
10286
10287
|
//#endregion
|
|
10287
|
-
//#region ../../node_modules/.pnpm/launch-editor@2.13.
|
|
10288
|
+
//#region ../../node_modules/.pnpm/launch-editor@2.13.2/node_modules/launch-editor/index.js
|
|
10288
10289
|
var require_launch_editor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10289
10290
|
/**
|
|
10290
10291
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
@@ -10383,7 +10384,7 @@ var require_launch_editor = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
10383
10384
|
module.exports = launchEditor;
|
|
10384
10385
|
}));
|
|
10385
10386
|
//#endregion
|
|
10386
|
-
//#region ../../node_modules/.pnpm/launch-editor-middleware@2.13.
|
|
10387
|
+
//#region ../../node_modules/.pnpm/launch-editor-middleware@2.13.2/node_modules/launch-editor-middleware/index.js
|
|
10387
10388
|
var require_launch_editor_middleware = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
10388
10389
|
const path$6 = __require("path");
|
|
10389
10390
|
const launch = require_launch_editor();
|
|
@@ -12476,7 +12477,7 @@ function checkPublicFile(url, config) {
|
|
|
12476
12477
|
return tryStatSync(publicFile)?.isFile() ? publicFile : void 0;
|
|
12477
12478
|
}
|
|
12478
12479
|
//#endregion
|
|
12479
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
12480
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/constants.js
|
|
12480
12481
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12481
12482
|
const BINARY_TYPES = [
|
|
12482
12483
|
"nodebuffer",
|
|
@@ -12499,7 +12500,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12499
12500
|
};
|
|
12500
12501
|
}));
|
|
12501
12502
|
//#endregion
|
|
12502
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
12503
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/buffer-util.js
|
|
12503
12504
|
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12504
12505
|
const { EMPTY_BUFFER } = require_constants();
|
|
12505
12506
|
const FastBuffer = Buffer[Symbol.species];
|
|
@@ -12599,7 +12600,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12599
12600
|
} catch (e) {}
|
|
12600
12601
|
}));
|
|
12601
12602
|
//#endregion
|
|
12602
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
12603
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/limiter.js
|
|
12603
12604
|
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12604
12605
|
const kDone = Symbol("kDone");
|
|
12605
12606
|
const kRun = Symbol("kRun");
|
|
@@ -12650,7 +12651,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12650
12651
|
module.exports = Limiter;
|
|
12651
12652
|
}));
|
|
12652
12653
|
//#endregion
|
|
12653
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
12654
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/permessage-deflate.js
|
|
12654
12655
|
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12655
12656
|
const zlib$1 = __require("zlib");
|
|
12656
12657
|
const bufferUtil = require_buffer_util();
|
|
@@ -12683,6 +12684,9 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
12683
12684
|
* acknowledge disabling of client context takeover
|
|
12684
12685
|
* @param {Number} [options.concurrencyLimit=10] The number of concurrent
|
|
12685
12686
|
* calls to zlib
|
|
12687
|
+
* @param {Boolean} [options.isServer=false] Create the instance in either
|
|
12688
|
+
* server or client mode
|
|
12689
|
+
* @param {Number} [options.maxPayload=0] The maximum allowed message length
|
|
12686
12690
|
* @param {(Boolean|Number)} [options.serverMaxWindowBits] Request/confirm the
|
|
12687
12691
|
* use of a custom server window size
|
|
12688
12692
|
* @param {Boolean} [options.serverNoContextTakeover=false] Request/accept
|
|
@@ -12693,15 +12697,12 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
12693
12697
|
* deflate
|
|
12694
12698
|
* @param {Object} [options.zlibInflateOptions] Options to pass to zlib on
|
|
12695
12699
|
* inflate
|
|
12696
|
-
* @param {Boolean} [isServer=false] Create the instance in either server or
|
|
12697
|
-
* client mode
|
|
12698
|
-
* @param {Number} [maxPayload=0] The maximum allowed message length
|
|
12699
12700
|
*/
|
|
12700
|
-
constructor(options
|
|
12701
|
-
this._maxPayload = maxPayload | 0;
|
|
12701
|
+
constructor(options) {
|
|
12702
12702
|
this._options = options || {};
|
|
12703
12703
|
this._threshold = this._options.threshold !== void 0 ? this._options.threshold : 1024;
|
|
12704
|
-
this.
|
|
12704
|
+
this._maxPayload = this._options.maxPayload | 0;
|
|
12705
|
+
this._isServer = !!this._options.isServer;
|
|
12705
12706
|
this._deflate = null;
|
|
12706
12707
|
this._inflate = null;
|
|
12707
12708
|
this.params = null;
|
|
@@ -12983,7 +12984,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
12983
12984
|
}
|
|
12984
12985
|
}));
|
|
12985
12986
|
//#endregion
|
|
12986
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
12987
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/validation.js
|
|
12987
12988
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12988
12989
|
const { isUtf8 } = __require("buffer");
|
|
12989
12990
|
const { hasBlob } = require_constants();
|
|
@@ -13179,7 +13180,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13179
13180
|
} catch (e) {}
|
|
13180
13181
|
}));
|
|
13181
13182
|
//#endregion
|
|
13182
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
13183
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/receiver.js
|
|
13183
13184
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13184
13185
|
const { Writable: Writable$1 } = __require("stream");
|
|
13185
13186
|
const PerMessageDeflate = require_permessage_deflate();
|
|
@@ -13626,7 +13627,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13626
13627
|
module.exports = Receiver;
|
|
13627
13628
|
}));
|
|
13628
13629
|
//#endregion
|
|
13629
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
13630
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/sender.js
|
|
13630
13631
|
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13631
13632
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
13632
13633
|
const { randomFillSync } = __require("crypto");
|
|
@@ -14117,7 +14118,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14117
14118
|
}
|
|
14118
14119
|
}));
|
|
14119
14120
|
//#endregion
|
|
14120
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
14121
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/event-target.js
|
|
14121
14122
|
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14122
14123
|
const { kForOnEventAttribute, kListener } = require_constants();
|
|
14123
14124
|
const kCode = Symbol("kCode");
|
|
@@ -14329,7 +14330,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14329
14330
|
}
|
|
14330
14331
|
}));
|
|
14331
14332
|
//#endregion
|
|
14332
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
14333
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/extension.js
|
|
14333
14334
|
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14334
14335
|
const { tokenChars } = require_validation();
|
|
14335
14336
|
/**
|
|
@@ -14472,7 +14473,7 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14472
14473
|
};
|
|
14473
14474
|
}));
|
|
14474
14475
|
//#endregion
|
|
14475
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
14476
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/websocket.js
|
|
14476
14477
|
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14477
14478
|
const EventEmitter$2 = __require("events");
|
|
14478
14479
|
const https$3 = __require("https");
|
|
@@ -15013,7 +15014,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15013
15014
|
if (address instanceof URL$2) parsedUrl = address;
|
|
15014
15015
|
else try {
|
|
15015
15016
|
parsedUrl = new URL$2(address);
|
|
15016
|
-
} catch
|
|
15017
|
+
} catch {
|
|
15017
15018
|
throw new SyntaxError(`Invalid URL: ${address}`);
|
|
15018
15019
|
}
|
|
15019
15020
|
if (parsedUrl.protocol === "http:") parsedUrl.protocol = "ws:";
|
|
@@ -15052,7 +15053,11 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15052
15053
|
opts.path = parsedUrl.pathname + parsedUrl.search;
|
|
15053
15054
|
opts.timeout = opts.handshakeTimeout;
|
|
15054
15055
|
if (opts.perMessageDeflate) {
|
|
15055
|
-
perMessageDeflate = new PerMessageDeflate(
|
|
15056
|
+
perMessageDeflate = new PerMessageDeflate({
|
|
15057
|
+
...opts.perMessageDeflate,
|
|
15058
|
+
isServer: false,
|
|
15059
|
+
maxPayload: opts.maxPayload
|
|
15060
|
+
});
|
|
15056
15061
|
opts.headers["Sec-WebSocket-Extensions"] = format({ [PerMessageDeflate.extensionName]: perMessageDeflate.offer() });
|
|
15057
15062
|
}
|
|
15058
15063
|
if (protocols.length) {
|
|
@@ -15443,7 +15448,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15443
15448
|
}
|
|
15444
15449
|
}));
|
|
15445
15450
|
//#endregion
|
|
15446
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
15451
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/stream.js
|
|
15447
15452
|
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15448
15453
|
require_websocket();
|
|
15449
15454
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
@@ -15559,7 +15564,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15559
15564
|
module.exports = createWebSocketStream;
|
|
15560
15565
|
}));
|
|
15561
15566
|
//#endregion
|
|
15562
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
15567
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/subprotocol.js
|
|
15563
15568
|
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15564
15569
|
const { tokenChars } = require_validation();
|
|
15565
15570
|
/**
|
|
@@ -15598,7 +15603,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15598
15603
|
module.exports = { parse };
|
|
15599
15604
|
}));
|
|
15600
15605
|
//#endregion
|
|
15601
|
-
//#region ../../node_modules/.pnpm/ws@8.
|
|
15606
|
+
//#region ../../node_modules/.pnpm/ws@8.20.0/node_modules/ws/lib/websocket-server.js
|
|
15602
15607
|
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15603
15608
|
const EventEmitter$1 = __require("events");
|
|
15604
15609
|
const http$4 = __require("http");
|
|
@@ -15812,7 +15817,11 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15812
15817
|
const secWebSocketExtensions = req.headers["sec-websocket-extensions"];
|
|
15813
15818
|
const extensions = {};
|
|
15814
15819
|
if (this.options.perMessageDeflate && secWebSocketExtensions !== void 0) {
|
|
15815
|
-
const perMessageDeflate = new PerMessageDeflate(
|
|
15820
|
+
const perMessageDeflate = new PerMessageDeflate({
|
|
15821
|
+
...this.options.perMessageDeflate,
|
|
15822
|
+
isServer: true,
|
|
15823
|
+
maxPayload: this.options.maxPayload
|
|
15824
|
+
});
|
|
15816
15825
|
try {
|
|
15817
15826
|
const offers = extension.parse(secWebSocketExtensions);
|
|
15818
15827
|
if (offers[PerMessageDeflate.extensionName]) {
|
|
@@ -15972,8 +15981,11 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
15972
15981
|
}
|
|
15973
15982
|
}));
|
|
15974
15983
|
require_stream();
|
|
15984
|
+
require_extension();
|
|
15985
|
+
require_permessage_deflate();
|
|
15975
15986
|
require_receiver();
|
|
15976
15987
|
require_sender();
|
|
15988
|
+
require_subprotocol();
|
|
15977
15989
|
require_websocket();
|
|
15978
15990
|
var import_websocket_server = /* @__PURE__ */ __toESM(require_websocket_server(), 1);
|
|
15979
15991
|
//#endregion
|
package/dist/node/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { GeneralImportGlobOptions, ImportGlobFunction, ImportGlobOptions, KnownA
|
|
|
31
31
|
|
|
32
32
|
//#region \0rolldown/runtime.js
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.
|
|
34
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.5_typescript@5.9.3_vite@packages+vite_vue@3.5.30_typescript@5.9.3_/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
|
|
35
35
|
//#region src/node/cli-commands.d.ts
|
|
36
36
|
interface StartOptions {
|
|
37
37
|
root?: string;
|
|
@@ -41,7 +41,7 @@ interface StartOptions {
|
|
|
41
41
|
open?: boolean;
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
|
-
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.
|
|
44
|
+
//#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.5_typescript@5.9.3_vite@packages+vite_vue@3.5.30_typescript@5.9.3_/node_modules/@vitejs/devtools/dist/config.d.ts
|
|
45
45
|
//#region src/node/config.d.ts
|
|
46
46
|
interface DevToolsConfig extends Partial<StartOptions> {
|
|
47
47
|
enabled: boolean;
|
|
@@ -55,6 +55,13 @@ interface DevToolsConfig extends Partial<StartOptions> {
|
|
|
55
55
|
* @default true
|
|
56
56
|
*/
|
|
57
57
|
clientAuth?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Pre-configured auth tokens that are automatically trusted.
|
|
60
|
+
*
|
|
61
|
+
* Clients connecting with an auth token matching one of these
|
|
62
|
+
* will be auto-approved without a terminal prompt.
|
|
63
|
+
*/
|
|
64
|
+
clientAuthTokens?: string[];
|
|
58
65
|
}
|
|
59
66
|
interface ResolvedDevToolsConfig {
|
|
60
67
|
config: Omit<DevToolsConfig, 'enabled'> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
"lightningcss": "^1.32.0",
|
|
64
64
|
"picomatch": "^4.0.3",
|
|
65
65
|
"postcss": "^8.5.8",
|
|
66
|
-
"rolldown": "1.0.0-rc.
|
|
66
|
+
"rolldown": "1.0.0-rc.11",
|
|
67
67
|
"tinyglobby": "^0.2.15"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
70
|
"fsevents": "~2.3.3"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@babel/parser": "^7.29.
|
|
73
|
+
"@babel/parser": "^7.29.2",
|
|
74
74
|
"@jridgewell/remapping": "^2.3.5",
|
|
75
75
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
76
76
|
"@polka/compression": "^1.0.0-next.25",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"@types/escape-html": "^1.0.4",
|
|
82
82
|
"@types/pnpapi": "^0.0.5",
|
|
83
83
|
"@vitest/utils": "4.1.0",
|
|
84
|
-
"@vitejs/devtools": "^0.1.
|
|
84
|
+
"@vitejs/devtools": "^0.1.5",
|
|
85
85
|
"artichokie": "^0.4.2",
|
|
86
|
-
"baseline-browser-mapping": "^2.10.
|
|
86
|
+
"baseline-browser-mapping": "^2.10.10",
|
|
87
87
|
"cac": "^7.0.0",
|
|
88
88
|
"chokidar": "^3.6.0",
|
|
89
89
|
"connect": "^3.7.0",
|
|
@@ -98,9 +98,9 @@
|
|
|
98
98
|
"etag": "^1.8.1",
|
|
99
99
|
"host-validation-middleware": "^0.1.2",
|
|
100
100
|
"http-proxy-3": "^1.23.2",
|
|
101
|
-
"launch-editor-middleware": "^2.13.
|
|
101
|
+
"launch-editor-middleware": "^2.13.2",
|
|
102
102
|
"magic-string": "^0.30.21",
|
|
103
|
-
"mlly": "^1.8.
|
|
103
|
+
"mlly": "^1.8.2",
|
|
104
104
|
"mrmime": "^2.0.1",
|
|
105
105
|
"nanoid": "^5.1.7",
|
|
106
106
|
"obug": "^1.0.2",
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"sass-embedded": "^1.98.0",
|
|
122
122
|
"sirv": "^3.0.2",
|
|
123
123
|
"strip-literal": "^3.1.0",
|
|
124
|
-
"terser": "^5.46.
|
|
124
|
+
"terser": "^5.46.1",
|
|
125
125
|
"ufo": "^1.6.3",
|
|
126
|
-
"ws": "^8.
|
|
126
|
+
"ws": "^8.20.0"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
129
|
"@types/node": "^20.19.0 || >=22.12.0",
|