Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update vite v6.0.0-alpha.22 #101

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tsup": "^8.1.2",
"tsx": "^4.16.2",
"typescript": "^5.5.3",
"vite": "6.0.0-alpha.18",
"vite": "6.0.0-alpha.22",
"vitest": "^2.0.3",
"wrangler": "^3.65.0"
},
Expand All @@ -38,6 +38,9 @@
"pnpm": {
"overrides": {
"vite": "$vite"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
},
"stackblitz": {
Expand Down
40 changes: 40 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
diff --git a/dist/node/index.d.ts b/dist/node/index.d.ts
index c2c1bdae45811860c366cc38b24231fd9fd72596..af378a7eb752718107d3974c5e426456c988e0d8 100644
--- a/dist/node/index.d.ts
+++ b/dist/node/index.d.ts
@@ -1062,7 +1062,7 @@ declare class EnvironmentModuleGraph {
getModulesByFile(file: string): Set<EnvironmentModuleNode> | undefined;
onFileChange(file: string): void;
onFileDelete(file: string): void;
- invalidateModule(mod: EnvironmentModuleNode, seen?: Set<EnvironmentModuleNode>, timestamp?: number, isHmr?: boolean,
+ invalidateModule(mod: EnvironmentModuleNode, seen?: Set<EnvironmentModuleNode>, timestamp?: number, isHmr?: boolean,
): void;
invalidateAll(): void;
/**
@@ -1073,7 +1073,7 @@ declare class EnvironmentModuleGraph {
* @param staticImportedUrls Subset of `importedModules` where they're statically imported in code.
* This is only used for soft invalidations so `undefined` is fine but may cause more runtime processing.
*/
- updateModuleInfo(mod: EnvironmentModuleNode, importedModules: Set<string | EnvironmentModuleNode>, importedBindings: Map<string, Set<string>> | null, acceptedModules: Set<string | EnvironmentModuleNode>, acceptedExports: Set<string> | null, isSelfAccepting: boolean,
+ updateModuleInfo(mod: EnvironmentModuleNode, importedModules: Set<string | EnvironmentModuleNode>, importedBindings: Map<string, Set<string>> | null, acceptedModules: Set<string | EnvironmentModuleNode>, acceptedExports: Set<string> | null, isSelfAccepting: boolean,
): Promise<Set<EnvironmentModuleNode> | undefined>;
ensureEntryFromUrl(rawUrl: string, setIsSelfAccepting?: boolean): Promise<EnvironmentModuleNode>;
createFileOnlyEntry(file: string): EnvironmentModuleNode;
@@ -1140,7 +1140,7 @@ declare class ModuleGraph {
getModulesByFile(file: string): Set<ModuleNode> | undefined;
onFileChange(file: string): void;
onFileDelete(file: string): void;
- invalidateModule(mod: ModuleNode, seen?: Set<ModuleNode>, timestamp?: number, isHmr?: boolean,
+ invalidateModule(mod: ModuleNode, seen?: Set<ModuleNode>, timestamp?: number, isHmr?: boolean,
): void;
invalidateAll(): void;
ensureEntryFromUrl(rawUrl: string, ssr?: boolean, setIsSelfAccepting?: boolean): Promise<ModuleNode>;
@@ -2886,7 +2886,7 @@ interface ViteDevServer {
/**
* Module execution environments attached to the Vite server.
*/
- environments: Record<'client' | 'ssr' | (string & Record<string, never>), DevEnvironment>;
+ environments: Record<'client' | 'ssr' | (string & {}), DevEnvironment>;
/**
* Module graph that tracks the import relationships, url to file mapping
* and hmr state.
Loading