@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.
- package/dist/editorWorkerMain.js +3 -0
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -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;
|