@voidzero-dev/vite-plus-core 0.1.20-alpha.1 → 0.1.20-alpha.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/LICENSE +23 -538
- package/dist/rolldown/cli.mjs +6 -6
- package/dist/rolldown/config.d.mts +1 -1
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +2 -2
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +1 -1
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +1 -1
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.d.mts +2 -2
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{bindingify-input-options-CQLSwbb0.mjs → bindingify-input-options-CwT4BXgL.mjs} +4 -4
- package/dist/rolldown/shared/{constructors-Dzji6NUq.mjs → constructors-C2EWPKW3.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-C29s6i8O.d.mts → constructors-D0W3rNfA.d.mts} +1 -1
- package/dist/rolldown/shared/{define-config-DmrIgjVV.d.mts → define-config-5HJ1b9vG.d.mts} +14 -1
- package/dist/rolldown/shared/{error-DAA7ncC5.mjs → error-DL-e8-oE.mjs} +1 -1
- package/dist/rolldown/shared/{load-config-DKK5aKL7.mjs → load-config-DJUKhe3_.mjs} +1 -1
- package/dist/rolldown/shared/{normalize-string-or-regex-E9GT23QI.mjs → normalize-string-or-regex-CbQQ69gT.mjs} +1 -1
- package/dist/rolldown/shared/{parse-C4SGmMNT.mjs → parse-BG8jtBbb.mjs} +1 -1
- package/dist/rolldown/shared/{resolve-tsconfig-BVTabsge.mjs → resolve-tsconfig-CfYpGzid.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-DN-NFVZl.mjs → rolldown-DLFt25hZ.mjs} +1 -1
- package/dist/rolldown/shared/{rolldown-build-B-H35squ.mjs → rolldown-build-DrXmg2RO.mjs} +4 -4
- package/dist/rolldown/shared/{watch-DKEzXLor.mjs → watch-MZrSsVh8.mjs} +4 -4
- package/dist/rolldown/utils-index.mjs +2 -2
- package/dist/tsdown/{build-OX8uszs6-4hNTeOrB.js → build-CgGnBlCD-Cyywno42.js} +59 -53
- package/dist/tsdown/{debug-CLlnG64L-CuCVzZmG.js → debug-CLlnG64L-Dn9UYJ-T.js} +2 -2
- package/dist/tsdown/{detect-DN3DXXYt-DtgPLlRO.js → detect-DN3DXXYt-VBvyr4oU.js} +1 -1
- package/dist/tsdown/{dist-CrrE8ZBn.js → dist-CaWgsVeS.js} +13 -13
- package/dist/tsdown/{dist-D_AJtdxQ.js → dist-CbhZqEsp.js} +3 -3
- package/dist/tsdown/{dist-DSi2MWPQ.js → dist-DL4hnQY2.js} +1 -1
- package/dist/tsdown/index-types.d.ts +277 -20353
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-BsfiKQP8.js → main-DZy5NlsL.js} +4 -4
- package/dist/tsdown/npm_entry_picomatch.cjs +6 -0
- package/dist/tsdown/run.js +3 -3
- package/dist/vite/client/client.mjs +17 -15
- package/dist/vite/node/chunks/dist.js +1 -1
- package/dist/vite/node/chunks/dist2.js +13 -0
- package/dist/vite/node/chunks/logger.js +1 -1
- package/dist/vite/node/chunks/node.js +475 -435
- package/dist/vite/node/index.d.ts +3 -3
- package/dist/vite/node/module-runner.d.ts +1 -1
- package/dist/vite/node/module-runner.js +2 -2
- package/package.json +10 -10
- /package/dist/rolldown/shared/{binding-DI_PGVIh.mjs → binding-BeU_1iEk.mjs} +0 -0
|
@@ -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.15_@pnpm+logger@1001.0.1_typescript@6.0.2_vite@packages+core/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.15_@pnpm+logger@1001.0.1_typescript@6.0.2_vite@packages+core/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;
|
|
@@ -3768,7 +3768,7 @@ declare const defaultAllowedOrigins: RegExp;
|
|
|
3768
3768
|
type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
|
|
3769
3769
|
declare const createFilter: (include?: FilterPattern, exclude?: FilterPattern, options?: {
|
|
3770
3770
|
resolve?: string | false | null;
|
|
3771
|
-
}) => (id:
|
|
3771
|
+
}) => (id: unknown) => boolean;
|
|
3772
3772
|
declare const rollupVersion = "4.23.0";
|
|
3773
3773
|
declare function normalizePath(id: string): string;
|
|
3774
3774
|
declare const isCSSRequest: (request: string) => boolean;
|
|
@@ -249,7 +249,7 @@ declare class EvaluatedModuleNode {
|
|
|
249
249
|
evaluated: boolean;
|
|
250
250
|
meta: ResolvedResult | undefined;
|
|
251
251
|
promise: Promise<any> | undefined;
|
|
252
|
-
exports: any
|
|
252
|
+
exports: any;
|
|
253
253
|
file: string;
|
|
254
254
|
map: DecodedMap | undefined;
|
|
255
255
|
constructor(id: string, url: string);
|
|
@@ -90,12 +90,12 @@ const isAbsolute = function(p) {
|
|
|
90
90
|
return segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0]) && (segments[0] += "/"), segments.join("/") || (isAbsolute(p) ? "/" : ".");
|
|
91
91
|
}, textDecoder = new TextDecoder(), decodeBase64 = typeof Buffer == "function" && typeof Buffer.from == "function" ? (base64) => Buffer.from(base64, "base64").toString("utf-8") : (base64) => textDecoder.decode(Uint8Array.from(atob(base64), (c) => c.charCodeAt(0))), percentRegEx = /%/g, backslashRegEx = /\\/g, newlineRegEx = /\n/g, carriageReturnRegEx = /\r/g, tabRegEx = /\t/g, questionRegex = /\?/g, hashRegex = /#/g;
|
|
92
92
|
function encodePathChars(filepath) {
|
|
93
|
-
return filepath.
|
|
93
|
+
return filepath.includes("%") && (filepath = filepath.replace(percentRegEx, "%25")), !isWindows && filepath.includes("\\") && (filepath = filepath.replace(backslashRegEx, "%5C")), filepath.includes("\n") && (filepath = filepath.replace(newlineRegEx, "%0A")), filepath.includes("\r") && (filepath = filepath.replace(carriageReturnRegEx, "%0D")), filepath.includes(" ") && (filepath = filepath.replace(tabRegEx, "%09")), filepath;
|
|
94
94
|
}
|
|
95
95
|
const posixDirname = dirname, posixResolve = resolve;
|
|
96
96
|
function posixPathToFileHref(posixPath) {
|
|
97
97
|
let resolved = posixResolve(posixPath), filePathLast = posixPath.charCodeAt(posixPath.length - 1);
|
|
98
|
-
return (filePathLast === 47 || isWindows && filePathLast === 92) && resolved[resolved.length - 1] !== "/" && (resolved += "/"), resolved = encodePathChars(resolved), resolved.
|
|
98
|
+
return (filePathLast === 47 || isWindows && filePathLast === 92) && resolved[resolved.length - 1] !== "/" && (resolved += "/"), resolved = encodePathChars(resolved), resolved.includes("?") && (resolved = resolved.replace(questionRegex, "%3F")), resolved.includes("#") && (resolved = resolved.replace(hashRegex, "%23")), new URL(`file://${resolved}`).href;
|
|
99
99
|
}
|
|
100
100
|
function toWindowsPath(path) {
|
|
101
101
|
return path.replace(/\//g, "\\");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voidzero-dev/vite-plus-core",
|
|
3
|
-
"version": "0.1.20-alpha.
|
|
3
|
+
"version": "0.1.20-alpha.2",
|
|
4
4
|
"description": "The Unified Toolchain for the Web",
|
|
5
5
|
"homepage": "https://viteplus.dev/guide",
|
|
6
6
|
"bugs": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@babel/types": "^7.28.5",
|
|
113
113
|
"@oxc-node/cli": "^0.1.0",
|
|
114
114
|
"@oxc-node/core": "^0.1.0",
|
|
115
|
-
"@vitejs/devtools": "^0.1.
|
|
115
|
+
"@vitejs/devtools": "^0.1.15",
|
|
116
116
|
"es-module-lexer": "^1.7.0",
|
|
117
117
|
"hookable": "^6.0.1",
|
|
118
118
|
"magic-string": "^0.30.21",
|
|
@@ -127,14 +127,14 @@
|
|
|
127
127
|
"semver": "^7.7.3",
|
|
128
128
|
"tinyglobby": "^0.2.15",
|
|
129
129
|
"tree-kill": "^1.2.2",
|
|
130
|
-
"tsdown": "^0.21.
|
|
131
|
-
"
|
|
132
|
-
"
|
|
130
|
+
"tsdown": "^0.21.10",
|
|
131
|
+
"rolldown": "1.0.0-rc.17",
|
|
132
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.20-alpha.2"
|
|
133
133
|
},
|
|
134
134
|
"peerDependencies": {
|
|
135
135
|
"@arethetypeswrong/core": "^0.18.1",
|
|
136
|
-
"@tsdown/css": "0.21.
|
|
137
|
-
"@tsdown/exe": "0.21.
|
|
136
|
+
"@tsdown/css": "0.21.10",
|
|
137
|
+
"@tsdown/exe": "0.21.10",
|
|
138
138
|
"@types/node": "^20.19.0 || >=22.12.0",
|
|
139
139
|
"@vitejs/devtools": "^0.1.0",
|
|
140
140
|
"esbuild": "^0.27.0 || ^0.28.0",
|
|
@@ -214,9 +214,9 @@
|
|
|
214
214
|
"node": "^20.19.0 || >=22.12.0"
|
|
215
215
|
},
|
|
216
216
|
"bundledVersions": {
|
|
217
|
-
"vite": "8.0.
|
|
218
|
-
"rolldown": "1.0.0-rc.
|
|
219
|
-
"tsdown": "0.21.
|
|
217
|
+
"vite": "8.0.10",
|
|
218
|
+
"rolldown": "1.0.0-rc.17",
|
|
219
|
+
"tsdown": "0.21.10"
|
|
220
220
|
},
|
|
221
221
|
"scripts": {
|
|
222
222
|
"build": "oxnode -C dev ./build.ts"
|
|
File without changes
|