vzcode 0.69.0 → 0.70.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-czCP4WYS.js"></script>
23
+ <script type="module" crossorigin src="/assets/index-Bfl2hCW9.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.69.0",
3
+ "version": "0.70.0",
4
4
  "description": "Multiplayer code editor system",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -8,8 +8,6 @@ import {
8
8
  LinterResponse,
9
9
  } from './requestTypes';
10
10
 
11
- let isFileSystemInitialized = false;
12
-
13
11
  let env: tsvfs.VirtualTypeScriptEnvironment = null;
14
12
 
15
13
  const debug = false;
@@ -238,6 +236,10 @@ onmessage = async ({ data }) => {
238
236
  // "Variable 'mic' implicitly has type 'any' in some locations where its type cannot be determined."
239
237
  const LINT_ERROR_CODE_ANY_TYPE = 7034;
240
238
 
239
+ // "Element implicitly has an 'any' type because expression
240
+ // of type '"test"' can't be used to index type '{}'."
241
+ const LINT_ERROR_CODE_ANY_TYPE_KEYS = 7053;
242
+
241
243
  if (debug) {
242
244
  console.log(tsErrors);
243
245
  }
@@ -246,7 +248,8 @@ onmessage = async ({ data }) => {
246
248
  error.code !== LINT_ERROR_CODE_ANY &&
247
249
  error.code !== LINT_ERROR_CODE_IMPORT &&
248
250
  error.code !== LINT_ERROR_CODE_ANY_PARAM &&
249
- error.code !== LINT_ERROR_CODE_ANY_TYPE,
251
+ error.code !== LINT_ERROR_CODE_ANY_TYPE &&
252
+ error.code !== LINT_ERROR_CODE_ANY_TYPE_KEYS,
250
253
  );
251
254
  }
252
255
  tsErrors = convertToCodeMirrorDiagnostic(tsErrors);