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.7.3 to 2.7.5

9

markdown.d.ts

@@ -12,7 +12,12 @@ type Highlighter = (input: string, language: string) => string;

type SanitizerExtension = (html: string) => string;
type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void;
type CallbackFunction = (...args: CallbackArgType[]) => CallbackArgType;
/**
* A type representing a function to use as HTML sanitizer.
* This type can be passed to markdown parser, to be used to sanitize generated
* HTML before appending it to the document.
*/
type SanitizerExtension = (html: string) => string;
type SnapshotParserOptions = {

@@ -19,0 +24,0 @@ syntaxHighlighter?: HighlighterExtension;

{
"name": "@nlux/markdown",
"version": "2.7.3",
"version": "2.7.5",
"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