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

@types/showdown

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/showdown - npm Package Compare versions

Comparing version 1.9.3 to 1.9.4

114

showdown/index.d.ts

@@ -41,22 +41,22 @@ // Type definitions for Showdown 1.9.0

interface ConverterGlobals {
converter?: Converter;
converter?: Converter | undefined;
gDimensions?: {
width?: number;
height?: number;
};
gHtmlBlocks?: string[];
gHtmlMdBlocks?: string[];
gHtmlSpans?: string[];
gListLevel?: number;
gTitles?: {[key: string]: string};
gUrls?: {[key: string]: string};
ghCodeBlocks?: {codeblock?: string, text?: string}[];
hashLinkCounts?: {[key: string]: number};
langExtensions?: ShowdownExtension[];
width?: number | undefined;
height?: number | undefined;
} | undefined;
gHtmlBlocks?: string[] | undefined;
gHtmlMdBlocks?: string[] | undefined;
gHtmlSpans?: string[] | undefined;
gListLevel?: number | undefined;
gTitles?: {[key: string]: string} | undefined;
gUrls?: {[key: string]: string} | undefined;
ghCodeBlocks?: {codeblock?: string | undefined, text?: string | undefined}[] | undefined;
hashLinkCounts?: {[key: string]: number} | undefined;
langExtensions?: ShowdownExtension[] | undefined;
metadata?: {
parsed?: {[key: string]: string};
raw?: string;
format?: string;
};
outputModifiers?: ShowdownExtension[];
parsed?: {[key: string]: string} | undefined;
raw?: string | undefined;
format?: string | undefined;
} | undefined;
outputModifiers?: ShowdownExtension[] | undefined;
}

@@ -77,3 +77,3 @@

*/
listeners?: {[event: string]: EventListener}
listeners?: {[event: string]: EventListener} | undefined
}

@@ -101,3 +101,3 @@

*/
regex?: string | RegExp;
regex?: string | RegExp | undefined;

@@ -125,3 +125,3 @@ /**

interface FilterExtension extends Extension {
filter?: (text: string, converter: Converter, options?: ConverterOptions) => string;
filter?: ((text: string, converter: Converter, options?: ConverterOptions) => string) | undefined;
}

@@ -214,3 +214,3 @@

*/
omitExtraWLInCodeBlocks?: boolean;
omitExtraWLInCodeBlocks?: boolean | undefined;

@@ -243,3 +243,3 @@ /**

*/
noHeaderId?: boolean;
noHeaderId?: boolean | undefined;

@@ -256,3 +256,3 @@ /**

*/
customizedHeaderId?: boolean;
customizedHeaderId?: boolean | undefined;

@@ -284,3 +284,3 @@ /**

*/
ghCompatibleHeaderId?: boolean;
ghCompatibleHeaderId?: boolean | undefined;

@@ -295,3 +295,3 @@ /**

*/
prefixHeaderId?: string | boolean;
prefixHeaderId?: string | boolean | undefined;

@@ -306,3 +306,3 @@ /**

*/
rawPrefixHeaderId?: boolean;
rawPrefixHeaderId?: boolean | undefined;

@@ -317,3 +317,3 @@ /**

*/
rawHeaderId?: boolean;
rawHeaderId?: boolean | undefined;

@@ -332,3 +332,3 @@ /**

*/
parseImgDimensions?: boolean;
parseImgDimensions?: boolean | undefined;

@@ -359,3 +359,3 @@ /**

*/
headerLevelStart?: number;
headerLevelStart?: number | undefined;

@@ -386,3 +386,3 @@ /**

*/
simplifiedAutoLink?: boolean;
simplifiedAutoLink?: boolean | undefined;

@@ -417,3 +417,3 @@ /**

*/
excludeTrailingPunctuationFromURLs?: boolean;
excludeTrailingPunctuationFromURLs?: boolean | undefined;

@@ -445,3 +445,3 @@ /**

*/
literalMidWordUnderscores?: boolean;
literalMidWordUnderscores?: boolean | undefined;

@@ -464,3 +464,3 @@ /**

*/
strikethrough?: boolean;
strikethrough?: boolean | undefined;

@@ -482,3 +482,3 @@ /**

*/
tables?: boolean;
tables?: boolean | undefined;

@@ -492,3 +492,3 @@ /**

*/
tablesHeaderId?: boolean;
tablesHeaderId?: boolean | undefined;

@@ -507,3 +507,3 @@ /**

*/
ghCodeBlocks?: boolean;
ghCodeBlocks?: boolean | undefined;

@@ -523,3 +523,3 @@ /**

*/
tasklists?: boolean;
tasklists?: boolean | undefined;

@@ -534,3 +534,3 @@ /**

*/
smoothLivePreview?: boolean;
smoothLivePreview?: boolean | undefined;

@@ -544,3 +544,3 @@ /**

*/
smartIndentationFix?: boolean;
smartIndentationFix?: boolean | undefined;

@@ -603,3 +603,3 @@ /**

*/
disableForced4SpacesIndentedSublists?: boolean;
disableForced4SpacesIndentedSublists?: boolean | undefined;

@@ -633,3 +633,3 @@ /**

*/
simpleLineBreaks?: boolean;
simpleLineBreaks?: boolean | undefined;

@@ -661,3 +661,3 @@ /**

*/
requireSpaceBeforeHeadingText?: boolean;
requireSpaceBeforeHeadingText?: boolean | undefined;

@@ -688,3 +688,3 @@ /**

*/
ghMentions?: boolean;
ghMentions?: boolean | undefined;

@@ -715,3 +715,3 @@ /**

*/
ghMentionsLink?: string;
ghMentionsLink?: string | undefined;

@@ -743,3 +743,3 @@ /**

*/
encodeEmails?: boolean;
encodeEmails?: boolean | undefined;

@@ -768,3 +768,3 @@ /**

*/
openLinksInNewWindow?: boolean;
openLinksInNewWindow?: boolean | undefined;

@@ -793,3 +793,3 @@ /**

*/
backslashEscapesHTMLTags?: boolean;
backslashEscapesHTMLTags?: boolean | undefined;

@@ -807,3 +807,3 @@ /**

*/
emoji?: boolean;
emoji?: boolean | undefined;

@@ -833,3 +833,3 @@ /**

*/
underline?: boolean;
underline?: boolean | undefined;

@@ -866,3 +866,3 @@ /**

*/
completeHTMLDocument?: boolean;
completeHTMLDocument?: boolean | undefined;

@@ -882,3 +882,3 @@ /**

*/
metadata?: boolean;
metadata?: boolean | undefined;

@@ -890,3 +890,3 @@ /**

*/
splitAdjacentBlockquotes?: boolean;
splitAdjacentBlockquotes?: boolean | undefined;

@@ -905,3 +905,3 @@ /**

*/
extensions?: ((() => ShowdownExtension[] | ShowdownExtension) | ShowdownExtension[] | ShowdownExtension | string)[];
extensions?: ((() => ShowdownExtension[] | ShowdownExtension) | ShowdownExtension[] | ShowdownExtension | string)[] | undefined;
}

@@ -921,11 +921,11 @@

*/
defaultValue?: boolean;
defaultValue?: boolean | undefined;
/**
* The description of the option.
*/
description?: string;
description?: string | undefined;
/**
* The type of the option value.
*/
type?: 'boolean' | 'string' | 'integer'
type?: 'boolean' | 'string' | 'integer' | undefined
}

@@ -932,0 +932,0 @@

{
"name": "@types/showdown",
"version": "1.9.3",
"version": "1.9.4",
"description": "TypeScript definitions for Showdown",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/showdown",
"license": "MIT",

@@ -34,3 +35,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -43,4 +44,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "6a962e2c0d228b7f443c8d72f07eb44f364e5b5d24de4422b8d33088568acf5a",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "62ca2e66ec6a309e0abc3462dc34377d0ad1fc62ca9ce1978bdb978c6de4500b",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for Showdown ( https://github.com/showdownjs/showdown ).
This package contains type definitions for Showdown (https://github.com/showdownjs/showdown).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/showdown
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/showdown.
Additional Details
* Last updated: Mon, 13 May 2019 16:48:49 GMT
### Additional Details
* Last updated: Tue, 06 Jul 2021 16:34:44 GMT
* Dependencies: none
* Global values: showdown
* Global values: `showdown`
# Credits
These definitions were written by Hamed Baatour <https://github.com/hamedbaatour>, cbowdon <https://github.com/cbowdon>, Pei-Tang Huang <https://github.com/tan9>, Ariel-Saldana <https://github.com/arielsaldana>, Yisrael Eliav <https://github.com/yisraelx>.
These definitions were written by [Hamed Baatour](https://github.com/hamedbaatour), [cbowdon](https://github.com/cbowdon), [Pei-Tang Huang](https://github.com/tan9), [Ariel-Saldana](https://github.com/arielsaldana), and [Yisrael Eliav](https://github.com/yisraelx).

Sorry, the diff of this file is not supported yet

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