vzcode 0.68.0 → 0.69.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/assets/{index-DBoSKqLe.js → index-czCP4WYS.js} +5 -5
- package/dist/assets/{worker-DJL5sCX4.js → worker-FhZpMMPl.js} +43 -43
- package/dist/assets/{worker-DoodSOTA.js → worker-_NbuAnR0.js} +183 -183
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/client/CodeEditor/style.scss +6 -4
- package/src/client/useTypeScript/worker.ts +6 -1
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-
|
|
23
|
+
<script type="module" crossorigin src="/assets/index-czCP4WYS.js"></script>
|
|
24
24
|
<link rel="stylesheet" crossorigin href="/assets/index-DOd2vdTJ.css">
|
|
25
25
|
</head>
|
|
26
26
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vzcode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.69.0",
|
|
4
4
|
"description": "Multiplayer code editor system",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"react": "^18.2.0",
|
|
106
106
|
"react-bootstrap": "^2.10.1",
|
|
107
107
|
"react-dom": "^18.2.0",
|
|
108
|
-
"react-router-dom": "^6.22.
|
|
108
|
+
"react-router-dom": "^6.22.1",
|
|
109
109
|
"sharedb": "^4.1.2",
|
|
110
110
|
"sharedb-client-browser": "^4.4.0",
|
|
111
111
|
"vizhub-ui": "^3.19.0",
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"@vitejs/plugin-react": "^4.2.1",
|
|
118
118
|
"concurrently": "^8.2.2",
|
|
119
119
|
"prettier": "^3.2.5",
|
|
120
|
-
"sass": "^1.
|
|
120
|
+
"sass": "^1.71.0",
|
|
121
121
|
"typescript": "^5.3.3",
|
|
122
122
|
"vite": "^5.1.3",
|
|
123
|
-
"vitest": "^1.
|
|
123
|
+
"vitest": "^1.3.0"
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -25,19 +25,21 @@
|
|
|
25
25
|
max-width: 500px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
/* Style the completion tooltip container */
|
|
29
29
|
.cm-tooltip.cm-tooltip-autocomplete {
|
|
30
30
|
border: 1px solid #888;
|
|
31
|
-
background-color: #
|
|
31
|
+
background-color: #1f2022;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/* Style the individual completion items */
|
|
35
35
|
.cm-tooltip-autocomplete .cm-completionLabel {
|
|
36
|
-
color: #
|
|
36
|
+
color: #bdc7dc;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/* Style the selected completion item */
|
|
40
|
-
.cm-tooltip-autocomplete
|
|
40
|
+
.cm-tooltip-autocomplete
|
|
41
|
+
.cm-completionLabel
|
|
42
|
+
.cm-completion-active {
|
|
41
43
|
background-color: #0077cc;
|
|
42
44
|
color: white;
|
|
43
45
|
}
|
|
@@ -234,6 +234,10 @@ onmessage = async ({ data }) => {
|
|
|
234
234
|
// "Cannot find module 'd3' or its corresponding type declarations."
|
|
235
235
|
const LINT_ERROR_CODE_IMPORT = 2307;
|
|
236
236
|
|
|
237
|
+
// This code is for errors like:
|
|
238
|
+
// "Variable 'mic' implicitly has type 'any' in some locations where its type cannot be determined."
|
|
239
|
+
const LINT_ERROR_CODE_ANY_TYPE = 7034;
|
|
240
|
+
|
|
237
241
|
if (debug) {
|
|
238
242
|
console.log(tsErrors);
|
|
239
243
|
}
|
|
@@ -241,7 +245,8 @@ onmessage = async ({ data }) => {
|
|
|
241
245
|
(error: { code: number }) =>
|
|
242
246
|
error.code !== LINT_ERROR_CODE_ANY &&
|
|
243
247
|
error.code !== LINT_ERROR_CODE_IMPORT &&
|
|
244
|
-
error.code !== LINT_ERROR_CODE_ANY_PARAM
|
|
248
|
+
error.code !== LINT_ERROR_CODE_ANY_PARAM &&
|
|
249
|
+
error.code !== LINT_ERROR_CODE_ANY_TYPE,
|
|
245
250
|
);
|
|
246
251
|
}
|
|
247
252
|
tsErrors = convertToCodeMirrorDiagnostic(tsErrors);
|