@nlux/markdown
Advanced tools
Comparing version 2.0.12-alpha to 2.1.0-beta
@@ -12,2 +12,5 @@ type Highlighter = (input: string, language: string) => string; | ||
type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void; | ||
type CallbackFunction = (...args: CallbackArgType[]) => CallbackArgType; | ||
type MarkdownStreamParser = { | ||
@@ -23,3 +26,3 @@ next(value: string): void; | ||
showCodeBlockCopyButton?: boolean; | ||
onComplete?: Function; | ||
onComplete?: CallbackFunction; | ||
}; | ||
@@ -26,0 +29,0 @@ declare const createMarkdownStreamParser: (domElement: HTMLElement, options?: MarkdownStreamParserOptions) => MarkdownStreamParser; |
{ | ||
"name": "@nlux/markdown", | ||
"version": "2.0.12-alpha", | ||
"version": "2.1.0-beta", | ||
"description": "A lightweight and fast markdown parser used by nlux that can be used to parse markdown text streams into DOM.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
77527
308
0