@lvce-editor/editor-worker 19.26.3 → 19.26.4

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.
@@ -11571,6 +11571,9 @@ const getProblems = async () => {
11571
11571
  const diagnostics = keys.flatMap(key => {
11572
11572
  const numericKey = Number(key);
11573
11573
  const editor = get$7(numericKey);
11574
+ if (!editor?.newState) {
11575
+ return [];
11576
+ }
11574
11577
  return editor.newState.diagnostics;
11575
11578
  });
11576
11579
  return diagnostics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.26.3",
3
+ "version": "19.26.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"