@lvce-editor/editor-worker 19.66.0 → 19.66.1

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.
@@ -9539,6 +9539,9 @@ const getEditorHoverInfo = async (editorUid, position) => {
9539
9539
  displayStringLanguageId = '',
9540
9540
  documentation = ''
9541
9541
  } = hover || {};
9542
+ if (!displayString.trim() && !documentation.trim() && matchingDiagnostics.length === 0) {
9543
+ return undefined;
9544
+ }
9542
9545
  const tokenizerPath = '';
9543
9546
  const lineInfos = displayString ? await tokenizeCodeBlock(displayString, displayStringLanguageId || fallbackDisplayStringLanguageId, tokenizerPath) : [];
9544
9547
  const wordPart = getWordBefore(editor, rowIndex, columnIndex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/editor-worker",
3
- "version": "19.66.0",
3
+ "version": "19.66.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:lvce-editor/editor-worker.git"