@scalar/code-highlight 0.4.8 → 0.4.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @scalar/code-highlight
2
2
 
3
+ ## 0.4.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#10559](https://github.com/scalar/scalar/pull/10559): Clean up Biome warnings in package code and tests. Handle rejected debounced callbacks and await streaming writes.
8
+ - [#10506](https://github.com/scalar/scalar/pull/10506): Organize imports consistently with the checks enforced in CI.
9
+
3
10
  ## 0.4.8
4
11
 
5
12
  ### Patch Changes
@@ -20801,7 +20801,7 @@ var extractInlineChildrenFromMarkdown = (value) => {
20801
20801
  const tree = inlineMarkdownProcessor.runSync(inlineMarkdownProcessor.parse(value));
20802
20802
  if (tree.children.length !== 1) return [];
20803
20803
  const paragraph = tree.children.at(0);
20804
- if (!paragraph || paragraph.type !== "element" || paragraph.tagName !== "p") return [];
20804
+ if (paragraph?.type !== "element" || paragraph.tagName !== "p") return [];
20805
20805
  return paragraph.children;
20806
20806
  };
20807
20807
  /**