@lvce-editor/editor-worker 19.30.4 → 19.30.5

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.
@@ -13894,8 +13894,7 @@ const editorDiagnosticEffect = {
13894
13894
  apply(editor) {
13895
13895
  return updateDiagnostics(editor);
13896
13896
  },
13897
- // TODO avoid slow comparison
13898
- isActive: (oldEditor, newEditor) => newEditor.diagnosticsEnabled && JSON.stringify(oldEditor.lines) !== JSON.stringify(newEditor.lines)
13897
+ isActive: (oldEditor, newEditor) => newEditor.diagnosticsEnabled && oldEditor.lines !== newEditor.lines
13899
13898
  };
13900
13899
 
13901
13900
  const queues = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.30.4",
3
+ "version": "19.30.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"