vzcode 3.2.0 → 3.3.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.
Files changed (64) hide show
  1. package/README.md +185 -40
  2. package/dist/assets/App-C9mRI7eH.js +387 -0
  3. package/dist/assets/App-CxiKy3Rs.css +1 -0
  4. package/dist/assets/bindings_wasm_bg-IWNG_AjZ.wasm +0 -0
  5. package/dist/assets/buildWorker-N5tFTOqM.js +794 -0
  6. package/dist/assets/index-COLyIkCc.js +43 -0
  7. package/dist/assets/index-CZT-v4sH.css +1 -0
  8. package/dist/assets/rolldown-runtime-COiEfhsA.js +1 -0
  9. package/dist/assets/worker-BpV7Ustv.js +223 -0
  10. package/dist/assets/worker-CLeezw6h.js +458 -0
  11. package/dist/assets/worker-DaSIYBQX.js +327 -0
  12. package/dist/cli.js +170 -99
  13. package/dist/index.html +3 -2
  14. package/dist/server/accessControl.js +104 -0
  15. package/dist/server/computeInitialDocument.js +4 -1
  16. package/dist/server/createServer.js +356 -104
  17. package/dist/server/index.js +4 -3
  18. package/dist/server/workspaceSecurity.js +115 -0
  19. package/dist/server/workspaceSync.js +141 -0
  20. package/package.json +74 -72
  21. package/src/cli.ts +203 -182
  22. package/src/client/App/index.tsx +2 -0
  23. package/src/client/App/usePending.ts +3 -1
  24. package/src/client/RunCodeWidget/index.tsx +1 -0
  25. package/src/client/VZCodeContext/types.ts +6 -0
  26. package/src/client/VZCodeContext/useVZCodeState.ts +2 -0
  27. package/src/client/VZSidebar/AIChatWrapper.tsx +2 -0
  28. package/src/client/VZSidebar/VisualEditor/CheckboxWidget.tsx +22 -30
  29. package/src/client/VZSidebar/VisualEditor/ColorWidget.tsx +198 -126
  30. package/src/client/VZSidebar/VisualEditor/DropdownWidget.tsx +25 -67
  31. package/src/client/VZSidebar/VisualEditor/PropertySection.tsx +41 -0
  32. package/src/client/VZSidebar/VisualEditor/SegmentedWidget.tsx +34 -0
  33. package/src/client/VZSidebar/VisualEditor/SliderWidget.tsx +60 -12
  34. package/src/client/VZSidebar/VisualEditor/VisualEditor.tsx +31 -393
  35. package/src/client/VZSidebar/VisualEditor/VisualEditorControls.tsx +478 -0
  36. package/src/client/VZSidebar/VisualEditor/colorUtils.ts +12 -0
  37. package/src/client/VZSidebar/VisualEditor/status.ts +47 -0
  38. package/src/client/VZSidebar/VisualEditor/updateConfig.ts +51 -24
  39. package/src/client/VZSidebar/VisualEditor/utils.ts +1 -1
  40. package/src/client/VZSidebar/styles.scss +420 -0
  41. package/src/client/WorkspaceConflictBanner.tsx +120 -0
  42. package/src/client/index.ts +2 -0
  43. package/src/client/main.jsx +54 -12
  44. package/src/llm-streaming-server/README.md +4 -16
  45. package/src/llm-streaming-ui/README.md +41 -2
  46. package/src/llm-streaming-ui/components/ChatInput.tsx +65 -13
  47. package/src/llm-streaming-ui/components/index.tsx +2 -0
  48. package/src/llm-streaming-ui/hooks/useAutoScroll.ts +1 -1
  49. package/src/llm-streaming-ui/index.ts +1 -0
  50. package/src/llm-streaming-ui/props.ts +26 -2
  51. package/src/server/accessControl.ts +151 -0
  52. package/src/server/computeInitialDocument.ts +6 -2
  53. package/src/server/createServer.ts +487 -138
  54. package/src/server/index.ts +4 -5
  55. package/src/server/workspaceSecurity.ts +160 -0
  56. package/src/server/workspaceSync.ts +203 -0
  57. package/src/types.ts +29 -27
  58. package/dist/assets/bindings_wasm_bg-9w8E-TmY.wasm +0 -0
  59. package/dist/assets/buildWorker-BZlya278.js +0 -687
  60. package/dist/assets/index-B7NRhsN6.js +0 -356
  61. package/dist/assets/index-D1V1AKed.css +0 -1
  62. package/dist/assets/worker-1oQYaz-F.js +0 -342
  63. package/dist/assets/worker-BfgPD8zR.js +0 -125
  64. package/dist/assets/worker-CoJaqtpi.js +0 -436
@@ -0,0 +1,115 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ export class UnsafeWorkspacePathError extends Error {
4
+ constructor(name) {
5
+ super('Unsafe workspace path: ' + name);
6
+ this.name = 'UnsafeWorkspacePathError';
7
+ }
8
+ }
9
+ export const createWorkspacePathResolver = (root) => {
10
+ // A symlink in the initial workspace argument is acceptable; all names
11
+ // are validated against the resolved real root thereafter.
12
+ const realRoot = fs.realpathSync(root);
13
+ const resolve = (name) => {
14
+ if (typeof name !== 'string' ||
15
+ name.length === 0 ||
16
+ name.includes('\0') ||
17
+ name.includes('\\') ||
18
+ path.posix.isAbsolute(name) ||
19
+ path.win32.isAbsolute(name) ||
20
+ /^[A-Za-z]:/.test(name)) {
21
+ throw new UnsafeWorkspacePathError(String(name));
22
+ }
23
+ const withoutTrailingSlash = name.endsWith('/')
24
+ ? name.slice(0, -1)
25
+ : name;
26
+ const segments = withoutTrailingSlash.split('/');
27
+ if (segments.length === 0 ||
28
+ segments.some((segment) => !segment ||
29
+ segment === '.' ||
30
+ segment === '..' ||
31
+ /[:\x00-\x1f]/.test(segment) ||
32
+ (process.platform === 'win32' &&
33
+ (/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(\..*)?$/i.test(segment) ||
34
+ /[. ]$/.test(segment))))) {
35
+ throw new UnsafeWorkspacePathError(name);
36
+ }
37
+ let current = realRoot;
38
+ for (let index = 0; index < segments.length; index++) {
39
+ current = path.join(current, segments[index]);
40
+ // lstat does not follow symlinks. Reject a symlink in any
41
+ // existing parent or the leaf before using filesystem APIs.
42
+ try {
43
+ const stat = fs.lstatSync(current);
44
+ if (stat.isSymbolicLink() ||
45
+ (index < segments.length - 1 &&
46
+ !stat.isDirectory())) {
47
+ throw new UnsafeWorkspacePathError(name);
48
+ }
49
+ }
50
+ catch (error) {
51
+ if (error?.code !== 'ENOENT')
52
+ throw error;
53
+ }
54
+ }
55
+ return current;
56
+ };
57
+ const validateFiles = (files) => {
58
+ if (!files ||
59
+ typeof files !== 'object' ||
60
+ Array.isArray(files)) {
61
+ throw new UnsafeWorkspacePathError('invalid file collection');
62
+ }
63
+ const names = new Set();
64
+ for (const [id, file] of Object.entries(files)) {
65
+ if (['__proto__', 'prototype', 'constructor'].includes(id)) {
66
+ throw new UnsafeWorkspacePathError('unsafe file identifier');
67
+ }
68
+ if (!file ||
69
+ typeof file !== 'object' ||
70
+ Array.isArray(file)) {
71
+ throw new UnsafeWorkspacePathError('invalid file entry');
72
+ }
73
+ const entry = file;
74
+ if (typeof entry.name !== 'string' ||
75
+ (entry.text !== null &&
76
+ typeof entry.text !== 'string')) {
77
+ throw new UnsafeWorkspacePathError('invalid file entry');
78
+ }
79
+ resolve(entry.name);
80
+ if ((entry.name.endsWith('/') && entry.text !== null) ||
81
+ (!entry.name.endsWith('/') &&
82
+ typeof entry.text !== 'string')) {
83
+ throw new UnsafeWorkspacePathError(entry.name);
84
+ }
85
+ const normalized = entry.name.replace(/\/$/, '');
86
+ if (names.has(normalized)) {
87
+ throw new UnsafeWorkspacePathError(entry.name);
88
+ }
89
+ names.add(normalized);
90
+ }
91
+ };
92
+ // O_NOFOLLOW protects against replacing the leaf with a symlink
93
+ // between validation and opening the file. Parent-directory swaps
94
+ // still require OS-level sandboxing for race-free protection.
95
+ const writeFile = (name, content) => {
96
+ const destination = resolve(name);
97
+ const flags = fs.constants.O_WRONLY |
98
+ fs.constants.O_CREAT |
99
+ fs.constants.O_TRUNC |
100
+ (fs.constants.O_NOFOLLOW ?? 0);
101
+ const fd = fs.openSync(destination, flags, 0o666);
102
+ try {
103
+ fs.writeFileSync(fd, content);
104
+ }
105
+ finally {
106
+ fs.closeSync(fd);
107
+ }
108
+ };
109
+ return {
110
+ root: realRoot,
111
+ resolve,
112
+ validateFiles,
113
+ writeFile,
114
+ };
115
+ };
@@ -0,0 +1,141 @@
1
+ import fs from 'node:fs';
2
+ import { computeInitialDocument } from './computeInitialDocument.js';
3
+ import { randomId } from '../randomId.js';
4
+ import { createWorkspacePathResolver } from './workspaceSecurity.js';
5
+ export const sameFile = (a, b) => (!a && !b) ||
6
+ (!!a && !!b && a.name === b.name && a.text === b.text);
7
+ export const copyFiles = (files) => Object.fromEntries(Object.entries(files).map(([id, file]) => [
8
+ id,
9
+ { name: file.name, text: file.text },
10
+ ]));
11
+ const diskFile = (entry) => ({
12
+ name: entry.name,
13
+ text: entry.text,
14
+ });
15
+ /**
16
+ * Use the same ignore rules and symlink exclusions as initial startup.
17
+ * The repeated scan is also a portable fallback for nested directories on
18
+ * platforms without recursive fs.watch support.
19
+ */
20
+ export const readWorkspaceDisk = (root) => {
21
+ const workspace = createWorkspacePathResolver(root);
22
+ const snapshot = computeInitialDocument({
23
+ fullPath: workspace.root,
24
+ });
25
+ const files = new Map();
26
+ for (const file of Object.values(snapshot.files)) {
27
+ const stat = fs.lstatSync(workspace.resolve(file.name));
28
+ if (stat.isSymbolicLink())
29
+ continue;
30
+ const identity = stat.ino > 0
31
+ ? String(stat.dev) + ':' + String(stat.ino)
32
+ : undefined;
33
+ files.set(file.name, {
34
+ name: file.name,
35
+ text: file.text,
36
+ identity,
37
+ });
38
+ }
39
+ return files;
40
+ };
41
+ /** Check content and paths, rather than timestamps that can be coarse. */
42
+ export const diskMatchesBaseline = (baseline, disk) => {
43
+ if (Object.keys(baseline).length !== disk.size) {
44
+ return false;
45
+ }
46
+ for (const file of Object.values(baseline)) {
47
+ const onDisk = disk.get(file.name);
48
+ if (!onDisk || !sameFile(file, onDisk))
49
+ return false;
50
+ }
51
+ return true;
52
+ };
53
+ /**
54
+ * Three-way merge: previous saved disk state, live collaborative document,
55
+ * and the new filesystem snapshot. Only apply an external change when the
56
+ * matching editor entry has not changed locally. Conflicts stay unsaved.
57
+ * The caller must publish files+conflicts as ONE OT change.
58
+ */
59
+ export const reconcileDisk = ({ baseline, current, disk, identities, makeId = randomId, }) => {
60
+ const files = copyFiles(current);
61
+ const nextBaseline = copyFiles(baseline);
62
+ const nextIdentities = { ...identities };
63
+ const conflicts = new Set();
64
+ const unclaimed = new Set(disk.keys());
65
+ const byIdentity = new Map();
66
+ for (const file of disk.values()) {
67
+ if (!file.identity)
68
+ continue;
69
+ const matches = byIdentity.get(file.identity) ?? [];
70
+ matches.push(file);
71
+ byIdentity.set(file.identity, matches);
72
+ }
73
+ for (const [id, saved] of Object.entries(baseline)) {
74
+ let observed = disk.get(saved.name);
75
+ // Only recognize a rename by an unambiguous filesystem identity.
76
+ if (!observed && identities[id]) {
77
+ const matches = (byIdentity.get(identities[id]) ?? []).filter((file) => unclaimed.has(file.name));
78
+ if (matches.length === 1)
79
+ observed = matches[0];
80
+ }
81
+ if (observed)
82
+ unclaimed.delete(observed.name);
83
+ const remoteChanged = !sameFile(saved, observed);
84
+ const localChanged = !sameFile(saved, current[id]);
85
+ if (remoteChanged &&
86
+ localChanged &&
87
+ !sameFile(current[id], observed)) {
88
+ conflicts.add(saved.name);
89
+ continue;
90
+ }
91
+ if (remoteChanged) {
92
+ if (observed) {
93
+ files[id] = diskFile(observed);
94
+ nextBaseline[id] = diskFile(observed);
95
+ nextIdentities[id] = observed.identity;
96
+ }
97
+ else {
98
+ delete files[id];
99
+ delete nextBaseline[id];
100
+ delete nextIdentities[id];
101
+ }
102
+ }
103
+ else if (observed) {
104
+ nextIdentities[id] = observed.identity;
105
+ }
106
+ }
107
+ // New disk entries are imported, while simultaneous creation of a
108
+ // same-name file in the editor is treated as a conflict.
109
+ for (const name of unclaimed) {
110
+ const observed = disk.get(name);
111
+ const editorEntry = Object.entries(files).find(([, file]) => file.name === name);
112
+ if (editorEntry) {
113
+ const [id, editorFile] = editorEntry;
114
+ if (!baseline[id] && sameFile(editorFile, observed)) {
115
+ nextBaseline[id] = diskFile(observed);
116
+ nextIdentities[id] = observed.identity;
117
+ }
118
+ else {
119
+ conflicts.add(name);
120
+ }
121
+ continue;
122
+ }
123
+ let id = makeId();
124
+ while (files[id] || nextBaseline[id]) {
125
+ id = makeId();
126
+ }
127
+ files[id] = diskFile(observed);
128
+ nextBaseline[id] = diskFile(observed);
129
+ nextIdentities[id] = observed.identity;
130
+ }
131
+ const changed = Object.keys(files).length !==
132
+ Object.keys(current).length ||
133
+ Object.entries(files).some(([id, file]) => !sameFile(file, current[id]));
134
+ return {
135
+ files,
136
+ baseline: nextBaseline,
137
+ identities: nextIdentities,
138
+ conflicts: Array.from(conflicts).sort(),
139
+ changed,
140
+ };
141
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vzcode",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Multiplayer code editor system",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -30,7 +30,9 @@
30
30
  "tauri:dev": "tauri dev",
31
31
  "tauri:build": "tauri build",
32
32
  "prepublishOnly": "npm run build-release",
33
- "upgrade": "ncu -x react,react-dom,@types/react,@types/react-dom -u"
33
+ "upgrade": "ncu -x react,react-dom,@types/react,@types/react-dom -u",
34
+ "test:package": "node scripts/test-packaged-cli.mjs",
35
+ "test:sync": "vitest run test/workspaceSync.test.ts test/workspaceSyncServer.test.ts"
34
36
  },
35
37
  "repository": {
36
38
  "type": "git",
@@ -115,108 +117,108 @@
115
117
  },
116
118
  "homepage": "https://github.com/vizhub-core/vzcode#readme",
117
119
  "dependencies": {
118
- "@codemirror/autocomplete": "^6.20.0",
120
+ "@codemirror/autocomplete": "^6.20.4",
119
121
  "@codemirror/commands": "^6.11.1",
120
122
  "@codemirror/lang-css": "^6.3.1",
121
- "@codemirror/lang-html": "^6.4.11",
122
- "@codemirror/lang-javascript": "^6.2.4",
123
+ "@codemirror/lang-html": "^6.4.12",
124
+ "@codemirror/lang-javascript": "^6.2.5",
123
125
  "@codemirror/lang-json": "^6.0.2",
124
- "@codemirror/lang-markdown": "^6.5.0",
126
+ "@codemirror/lang-markdown": "^6.5.2",
125
127
  "@codemirror/language": "^6.13.1",
126
- "@codemirror/lint": "^6.9.2",
128
+ "@codemirror/lint": "^6.9.8",
127
129
  "@codemirror/search": "^6.7.2",
128
- "@codemirror/state": "^6.5.3",
130
+ "@codemirror/state": "^6.7.6",
129
131
  "@codemirror/theme-one-dark": "^6.1.3",
130
- "@codemirror/view": "^6.39.8",
132
+ "@codemirror/view": "^6.43.15",
131
133
  "@dmsnell/diff-match-patch": "^1.1.0",
132
- "@langchain/core": "^1.1.8",
133
- "@langchain/openai": "^1.2.0",
134
- "@lezer/common": "^1.5.4",
135
- "@lezer/highlight": "^1.2.3",
136
- "@livekit/components-react": "^2.9.17",
134
+ "@langchain/core": "^1.5.0",
135
+ "@langchain/openai": "^1.8.5",
136
+ "@lezer/common": "^1.5.6",
137
+ "@lezer/highlight": "^1.2.5",
138
+ "@livekit/components-react": "^2.9.26",
137
139
  "@replit/codemirror-indentation-markers": "^6.5.3",
138
140
  "@replit/codemirror-interact": "^6.3.1",
139
141
  "@replit/codemirror-lang-svelte": "^6.0.0",
140
142
  "@replit/codemirror-vscode-keymap": "^6.0.2",
141
143
  "@teamwork/websocket-json-stream": "^2.0.0",
142
- "@typescript/vfs": "^1.6.2",
143
- "@uiw/codemirror-theme-abcdef": "^4.25.4",
144
- "@uiw/codemirror-theme-dracula": "^4.25.4",
145
- "@uiw/codemirror-theme-eclipse": "^4.25.4",
146
- "@uiw/codemirror-theme-github": "^4.25.4",
147
- "@uiw/codemirror-theme-material": "^4.25.4",
148
- "@uiw/codemirror-theme-nord": "^4.25.4",
149
- "@uiw/codemirror-theme-okaidia": "^4.25.4",
150
- "@uiw/codemirror-theme-xcode": "^4.25.4",
151
- "@uiw/codemirror-themes": "^4.25.4",
144
+ "@typescript/vfs": "^1.6.6",
145
+ "@uiw/codemirror-theme-abcdef": "^4.25.12",
146
+ "@uiw/codemirror-theme-dracula": "^4.25.12",
147
+ "@uiw/codemirror-theme-eclipse": "^4.25.12",
148
+ "@uiw/codemirror-theme-github": "^4.25.12",
149
+ "@uiw/codemirror-theme-material": "^4.25.12",
150
+ "@uiw/codemirror-theme-nord": "^4.25.12",
151
+ "@uiw/codemirror-theme-okaidia": "^4.25.12",
152
+ "@uiw/codemirror-theme-xcode": "^4.25.12",
153
+ "@uiw/codemirror-themes": "^4.25.12",
152
154
  "@valtown/codemirror-ts": "^2.3.1",
153
- "@vizhub/runtime": "^4.5.0",
155
+ "@vizhub/runtime": "^4.7.0",
154
156
  "@vizhub/viz-types": "^0.5.0",
155
- "@vizhub/viz-utils": "^1.5.0",
156
- "body-parser": "^2.2.1",
157
+ "@vizhub/viz-utils": "^1.6.0",
158
+ "body-parser": "^2.4.0",
157
159
  "codemirror": "^6.0.2",
158
160
  "codemirror-copilot": "^0.0.7",
159
161
  "codemirror-ot": "^5.8.0",
160
162
  "color-hash": "^2.0.2",
161
163
  "comlink": "^4.4.2",
162
- "d3-array": "^3.2.4",
163
- "d3-color": "^3.1.0",
164
- "diff": "^8.0.2",
165
- "diff2html": "3.4.52",
166
- "dotenv": "^17.2.3",
167
- "editcodewithai": "^2.4.0",
168
- "eslint-linter-browserify": "^9.39.2",
169
- "express": "^5.2.1",
170
- "ignore": "^7.0.5",
164
+ "d3-array": "^3.2.5",
165
+ "d3-color": "^3.1.1",
166
+ "diff": "^9.0.0",
167
+ "diff2html": "3.4.56",
168
+ "dotenv": "^18.0.10",
169
+ "editcodewithai": "^2.10.0",
170
+ "eslint-linter-browserify": "^10.15.0",
171
+ "express": "^5.3.0",
172
+ "ignore": "^7.0.16",
171
173
  "json0-ot-diff": "^1.1.2",
172
- "jszip": "^3.10.1",
173
- "livekit-server-sdk": "^2.15.0",
174
- "llm-code-format": "^3.1.0",
175
- "lucide-react": "^0.562.0",
176
- "open": "^11.0.0",
177
- "openai": "^6.9.1",
178
- "prettier-plugin-svelte": "^3.4.1",
179
- "react": "^18",
180
- "react-dom": "^18",
174
+ "jszip": "^3.10.2",
175
+ "livekit-server-sdk": "^2.20.1",
176
+ "llm-code-format": "^3.3.0",
177
+ "lucide-react": "^1.78.0",
178
+ "open": "^11.0.4",
179
+ "openai": "^7.62.0",
180
+ "prettier-plugin-svelte": "^4.2.0",
181
+ "react": "^19",
182
+ "react-dom": "^19",
181
183
  "react-markdown": "^10.1.0",
182
- "react-router-dom": "^7.11.0",
184
+ "react-router-dom": "^7.18.6",
183
185
  "remark-gfm": "^4.0.1",
184
- "sharedb": "^5.2.2",
186
+ "sharedb": "^8.0.0",
185
187
  "sharedb-client-browser": "^5.2.2",
186
- "uuid": "^13.0.0",
187
- "ws": "^8.18.3"
188
+ "uuid": "^14.0.3",
189
+ "ws": "^8.23.0"
188
190
  },
189
191
  "devDependencies": {
190
- "@eslint/js": "^9.39.2",
191
- "@playwright/test": "^1.57.0",
192
- "@tauri-apps/cli": "^2.9.6",
192
+ "@eslint/js": "^9.39.5",
193
+ "@playwright/test": "^1.65.1",
194
+ "@tauri-apps/cli": "^2.12.6",
193
195
  "@types/d3-color": "^3.1.3",
194
- "@types/node": "^22.20.5",
195
- "@types/react": "^18",
196
- "@types/react-dom": "^18",
197
- "@typescript-eslint/eslint-plugin": "^8.51.0",
198
- "@typescript-eslint/parser": "^8.51.0",
199
- "@vitejs/plugin-react": "^5.1.2",
200
- "concurrently": "^9.2.1",
196
+ "@types/node": "^26.6.6",
197
+ "@types/react": "^19",
198
+ "@types/react-dom": "^19",
199
+ "@typescript-eslint/eslint-plugin": "^8.74.0",
200
+ "@typescript-eslint/parser": "^8.74.0",
201
+ "@vitejs/plugin-react": "^6.3.0",
202
+ "concurrently": "^10.0.7",
201
203
  "cross-env": "^10.1.0",
202
- "eslint": "^9.39.2",
204
+ "eslint": "^9.39.5",
203
205
  "eslint-plugin-jsx-a11y": "^6.10.2",
204
206
  "eslint-plugin-react": "^7.37.5",
205
- "eslint-plugin-react-hooks": "^7.0.1",
206
- "globals": "^17.0.0",
207
- "livekit-client": "^2.16.0",
208
- "npm-check-updates": "^19.2.0",
209
- "prettier": "^3.7.4",
210
- "sass": "^1.97.1",
211
- "svelte": "^5.20.1",
207
+ "eslint-plugin-react-hooks": "^7.1.1",
208
+ "globals": "^17.14.0",
209
+ "livekit-client": "^2.25.0",
210
+ "npm-check-updates": "^23.1.1",
211
+ "prettier": "^3.10.1",
212
+ "sass": "^1.108.2",
213
+ "svelte": "^5.59.1",
212
214
  "ts-node": "^10.9.2",
213
- "tsx": "^4.21.0",
215
+ "tsx": "^4.23.15",
214
216
  "typescript": "^5.9.3",
215
- "vite": "^7.3.0",
216
- "vitest": "^4.0.16"
217
+ "vite": "^8.3.8",
218
+ "vitest": "^5.1.1"
217
219
  },
218
220
  "optionalDependencies": {
219
- "@rollup/rollup-darwin-arm64": "^4.54.0",
220
- "@rollup/rollup-win32-x64-msvc": "^4.54.0"
221
+ "@rollup/rollup-darwin-arm64": "^4.68.8",
222
+ "@rollup/rollup-win32-x64-msvc": "^4.68.8"
221
223
  }
222
224
  }