Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nlux/markdown

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlux/markdown - npm Package Compare versions

Comparing version 2.0.12-alpha to 2.1.0-beta

5

markdown.d.ts

@@ -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;

2

package.json
{
"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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc