@depup/vite 8.3.1-depup.0 → 8.3.2-depup.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.
- package/LICENSE.md +29 -86
- package/README.md +3 -3
- package/changes.json +3 -3
- package/dist/client/bundledDevClient.mjs +75 -363
- package/dist/client/client.mjs +74 -23
- package/dist/node/chunks/node.js +627 -573
- package/dist/node/index.d.ts +3 -1
- package/dist/node/module-runner.js +16 -2
- package/package.json +12 -12
package/dist/node/index.d.ts
CHANGED
|
@@ -1112,7 +1112,8 @@ declare class MemoryFiles {
|
|
|
1112
1112
|
declare class BundledDev {
|
|
1113
1113
|
private environment;
|
|
1114
1114
|
private _devEngine;
|
|
1115
|
-
|
|
1115
|
+
/** the vite client and the rolldown runtime; set before the first build so `hasBuildOutput` can count them */
|
|
1116
|
+
private staticFiles;
|
|
1116
1117
|
private initialBuildCompleted;
|
|
1117
1118
|
private _closed;
|
|
1118
1119
|
private clients;
|
|
@@ -1144,6 +1145,7 @@ declare class BundledDev {
|
|
|
1144
1145
|
*/
|
|
1145
1146
|
markPayloadDelivered(filename: string): void;
|
|
1146
1147
|
close(): Promise<void>;
|
|
1148
|
+
private storeStaticFiles;
|
|
1147
1149
|
private storeOutputFiles;
|
|
1148
1150
|
private getRolldownOptions;
|
|
1149
1151
|
private handleHmrOutput;
|
|
@@ -39,6 +39,19 @@ function promiseWithResolvers() {
|
|
|
39
39
|
reject
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
+
const percentEncodedRE = /(?:%[0-9a-f]{2})+/gi, whitespaceOnlyRE = /^\s+$/;
|
|
43
|
+
/** Reverses {@link encodeSourceURL}. */
|
|
44
|
+
function decodeSourceURL(url) {
|
|
45
|
+
return url.replace(percentEncodedRE, (match) => {
|
|
46
|
+
let decoded;
|
|
47
|
+
try {
|
|
48
|
+
decoded = decodeURIComponent(match);
|
|
49
|
+
} catch {
|
|
50
|
+
return match;
|
|
51
|
+
}
|
|
52
|
+
return whitespaceOnlyRE.test(decoded) ? decoded : match;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
42
55
|
//#endregion
|
|
43
56
|
//#region ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.6.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
|
|
44
57
|
var comma = 44, chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", intToChar = /* @__PURE__ */ new Uint8Array(64), charToInt = /* @__PURE__ */ new Uint8Array(128);
|
|
@@ -940,10 +953,11 @@ function supportRelativeURL(file, url) {
|
|
|
940
953
|
return protocol && /^\/\w:/.test(startPath) ? (protocol += "/", protocol + slash(posixResolve(startPath, url))) : protocol + posixResolve(startPath, url);
|
|
941
954
|
}
|
|
942
955
|
function getRunnerSourceMap(position) {
|
|
956
|
+
let id = decodeSourceURL(position.source);
|
|
943
957
|
for (let moduleGraph of evaluatedModulesCache) {
|
|
944
|
-
let sourceMap = moduleGraph.getModuleSourceMapById(
|
|
958
|
+
let sourceMap = moduleGraph.getModuleSourceMapById(id);
|
|
945
959
|
if (sourceMap) return {
|
|
946
|
-
url:
|
|
960
|
+
url: id,
|
|
947
961
|
map: sourceMap,
|
|
948
962
|
vite: !0
|
|
949
963
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/vite",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2-depup.0",
|
|
4
4
|
"description": "Native-ESM powered web dev build tool (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"lightningcss": "^1.33.0",
|
|
67
67
|
"picomatch": "^4.0.7",
|
|
68
68
|
"postcss": "^8.5.28",
|
|
69
|
-
"rolldown": "^1.2.
|
|
69
|
+
"rolldown": "^1.2.12",
|
|
70
70
|
"tinyglobby": "^0.2.17"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
@@ -80,17 +80,16 @@
|
|
|
80
80
|
"@types/escape-html": "^1.0.4",
|
|
81
81
|
"@types/pnpapi": "^0.0.5",
|
|
82
82
|
"@vercel/detect-agent": "^1.2.5",
|
|
83
|
-
"@vitejs/devtools": "^0.7.
|
|
84
|
-
"@vitest/utils": "4.1.11",
|
|
83
|
+
"@vitejs/devtools": "^0.7.6",
|
|
84
|
+
"@vitest/utils": "^4.1.11",
|
|
85
85
|
"@voidzero-dev/vite-task-client": "^0.2.0",
|
|
86
86
|
"artichokie": "^0.4.5",
|
|
87
|
-
"baseline-browser-mapping": "^2.11.
|
|
87
|
+
"baseline-browser-mapping": "^2.11.26",
|
|
88
88
|
"cac": "^7.0.0",
|
|
89
89
|
"chokidar": "^3.6.0",
|
|
90
90
|
"connect": "^3.7.0",
|
|
91
91
|
"convert-source-map": "^2.0.0",
|
|
92
92
|
"cors": "^2.8.6",
|
|
93
|
-
"cross-spawn": "^7.0.6",
|
|
94
93
|
"dotenv-expand": "^13.0.0",
|
|
95
94
|
"es-module-lexer": "^2.3.2",
|
|
96
95
|
"esbuild": "^0.28.2",
|
|
@@ -101,7 +100,7 @@
|
|
|
101
100
|
"host-validation-middleware": "^0.1.4",
|
|
102
101
|
"http-proxy-3": "^1.23.3",
|
|
103
102
|
"launch-editor-middleware": "^2.14.1",
|
|
104
|
-
"magic-string": "^1.4.
|
|
103
|
+
"magic-string": "^1.4.2",
|
|
105
104
|
"mlly": "^1.8.2",
|
|
106
105
|
"mrmime": "^2.0.1",
|
|
107
106
|
"nanoid": "^5.1.16",
|
|
@@ -124,8 +123,9 @@
|
|
|
124
123
|
"sirv": "^3.0.2",
|
|
125
124
|
"strip-literal": "^4.0.0",
|
|
126
125
|
"terser": "^5.51.2",
|
|
126
|
+
"tinyexec": "^1.3.1",
|
|
127
127
|
"ufo": "^1.6.4",
|
|
128
|
-
"ws": "^8.
|
|
128
|
+
"ws": "^8.22.0"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"@types/node": "^20.19.0 || >=22.12.0",
|
|
@@ -201,14 +201,14 @@
|
|
|
201
201
|
"depup": {
|
|
202
202
|
"changes": {
|
|
203
203
|
"rolldown": {
|
|
204
|
-
"from": "~1.2.
|
|
205
|
-
"to": "^1.2.
|
|
204
|
+
"from": "~1.2.11",
|
|
205
|
+
"to": "^1.2.12"
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
"depsUpdated": 1,
|
|
209
209
|
"originalPackage": "vite",
|
|
210
|
-
"originalVersion": "8.3.
|
|
211
|
-
"processedAt": "2026-
|
|
210
|
+
"originalVersion": "8.3.2",
|
|
211
|
+
"processedAt": "2026-10-04T01:33:15.607Z",
|
|
212
212
|
"smokeTest": "failed"
|
|
213
213
|
}
|
|
214
214
|
}
|