vzcode 1.20.0 → 1.21.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/dist/index.html CHANGED
@@ -20,7 +20,7 @@
20
20
  href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap"
21
21
  rel="stylesheet"
22
22
  />
23
- <script type="module" crossorigin src="/assets/index-w9VAfRwW.js"></script>
23
+ <script type="module" crossorigin src="/assets/index-CrtGDLnC.js"></script>
24
24
  <link rel="stylesheet" crossorigin href="/assets/index-zzK6rRiK.css">
25
25
  </head>
26
26
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vzcode",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Multiplayer code editor system",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -103,33 +103,34 @@
103
103
  },
104
104
  "homepage": "https://github.com/vizhub-core/vzcode#readme",
105
105
  "dependencies": {
106
- "@codemirror/autocomplete": "^6.18.4",
106
+ "@babel/runtime": "^7.26.9",
107
+ "@codemirror/autocomplete": "^6.18.6",
107
108
  "@codemirror/lang-css": "^6.3.1",
108
109
  "@codemirror/lang-html": "^6.4.9",
109
- "@codemirror/lang-javascript": "^6.2.2",
110
+ "@codemirror/lang-javascript": "^6.2.3",
110
111
  "@codemirror/lang-json": "^6.0.1",
111
112
  "@codemirror/lang-markdown": "^6.3.2",
112
- "@codemirror/state": "^6.5.1",
113
+ "@codemirror/state": "^6.5.2",
113
114
  "@codemirror/theme-one-dark": "^6.1.2",
114
115
  "@codemirror/view": "^6.36.2",
115
116
  "@lezer/highlight": "^1.2.1",
116
- "@livekit/components-react": "^2.7.0",
117
+ "@livekit/components-react": "^2.8.1",
117
118
  "@livekit/components-styles": "^1.1.4",
118
119
  "@replit/codemirror-indentation-markers": "^6.5.3",
119
120
  "@replit/codemirror-interact": "^6.3.1",
120
121
  "@replit/codemirror-lang-svelte": "^6.0.0",
121
122
  "@replit/codemirror-vscode-keymap": "^6.0.2",
122
123
  "@teamwork/websocket-json-stream": "^2.0.0",
123
- "@typescript/vfs": "^1.6.0",
124
- "@uiw/codemirror-theme-abcdef": "^4.23.7",
125
- "@uiw/codemirror-theme-dracula": "^4.23.7",
126
- "@uiw/codemirror-theme-eclipse": "^4.23.7",
127
- "@uiw/codemirror-theme-github": "^4.23.7",
128
- "@uiw/codemirror-theme-material": "^4.23.7",
129
- "@uiw/codemirror-theme-nord": "^4.23.7",
130
- "@uiw/codemirror-theme-okaidia": "^4.23.7",
131
- "@uiw/codemirror-theme-xcode": "^4.23.7",
132
- "@uiw/codemirror-themes": "^4.23.7",
124
+ "@typescript/vfs": "^1.6.1",
125
+ "@uiw/codemirror-theme-abcdef": "^4.23.8",
126
+ "@uiw/codemirror-theme-dracula": "^4.23.8",
127
+ "@uiw/codemirror-theme-eclipse": "^4.23.8",
128
+ "@uiw/codemirror-theme-github": "^4.23.8",
129
+ "@uiw/codemirror-theme-material": "^4.23.8",
130
+ "@uiw/codemirror-theme-nord": "^4.23.8",
131
+ "@uiw/codemirror-theme-okaidia": "^4.23.8",
132
+ "@uiw/codemirror-theme-xcode": "^4.23.8",
133
+ "@uiw/codemirror-themes": "^4.23.8",
133
134
  "body-parser": "^1.20.3",
134
135
  "codemirror": "^6.0.1",
135
136
  "codemirror-copilot": "^0.0.7",
@@ -141,16 +142,16 @@
141
142
  "express": "^4.21.2",
142
143
  "ignore": "^7.0.3",
143
144
  "json0-ot-diff": "^1.1.2",
144
- "livekit-client": "^2.8.0",
145
- "livekit-server-sdk": "^2.9.7",
145
+ "livekit-client": "^2.9.1",
146
+ "livekit-server-sdk": "^2.10.1",
146
147
  "ngrok": "^4.3.3",
147
148
  "open": "^10.1.0",
148
- "openai": "^4.78.1",
149
+ "openai": "^4.85.1",
149
150
  "prettier-plugin-svelte": "^3.3.3",
150
151
  "react": "^19.0.0",
151
- "react-bootstrap": "^2.10.7",
152
+ "react-bootstrap": "^2.10.9",
152
153
  "react-dom": "^19.0.0",
153
- "react-router-dom": "^7.1.2",
154
+ "react-router-dom": "^7.1.5",
154
155
  "sharedb": "^5.1.1",
155
156
  "sharedb-client-browser": "^5.1.1",
156
157
  "uuid": "^11.0.5",
@@ -158,19 +159,19 @@
158
159
  "ws": "^8.18.0"
159
160
  },
160
161
  "devDependencies": {
161
- "@types/react": "^19.0.7",
162
- "@types/react-dom": "^19.0.3",
162
+ "@types/react": "^19.0.10",
163
+ "@types/react-dom": "^19.0.4",
163
164
  "@vitejs/plugin-react": "^4.3.4",
164
165
  "concurrently": "^9.1.2",
165
166
  "cross-env": "^7.0.3",
166
- "prettier": "^3.4.2",
167
- "sass": "^1.83.4",
167
+ "prettier": "^3.5.1",
168
+ "sass": "^1.85.0",
168
169
  "typescript": "^5.7.3",
169
- "vite": "^6.0.7",
170
- "vitest": "^3.0.1"
170
+ "vite": "^6.1.0",
171
+ "vitest": "^3.0.5"
171
172
  },
172
173
  "optionalDependencies": {
173
- "@rollup/rollup-darwin-arm64": "^4.30.1",
174
- "@rollup/rollup-win32-x64-msvc": "^4.30.1"
174
+ "@rollup/rollup-darwin-arm64": "^4.34.8",
175
+ "@rollup/rollup-win32-x64-msvc": "^4.34.8"
175
176
  }
176
177
  }
@@ -1,4 +1,4 @@
1
- import React, {
1
+ import {
2
2
  useCallback,
3
3
  useContext,
4
4
  useEffect,
@@ -9,6 +9,8 @@ import { Button, Modal, Form } from './bootstrap';
9
9
  import { ThemeLabel, themes } from './themes';
10
10
  import { VZCodeContext } from './VZCodeContext';
11
11
 
12
+ const DEBUG = false;
13
+
12
14
  // Font size options for the editor
13
15
  const fontSizes = [
14
16
  '10px',
@@ -114,10 +116,10 @@ export const VZSettings = ({
114
116
  for (const font of systemFonts) {
115
117
  if (isFontAvailable(font)) {
116
118
  detectedFonts.push(font);
117
- if (process.env.NODE_ENV === 'development') {
119
+ if (DEBUG) {
118
120
  console.log(`${font} is available`);
119
121
  }
120
- } else if (process.env.NODE_ENV === 'development') {
122
+ } else if (DEBUG) {
121
123
  console.log(`${font} is not available`);
122
124
  }
123
125
  }