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

@types/marked

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/marked - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

49

marked/index.d.ts

@@ -14,2 +14,3 @@ // Type definitions for Marked 4.0

// Jean-Francois Cere <https://github.com/jfcere>
// Mykhaylo Stolyarchuk <https://github.com/MykSto>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -131,30 +132,30 @@

options: MarkedOptions;
space(this: TokenizerThis, src: string): Tokens.Space | T;
code(this: TokenizerThis, src: string): Tokens.Code | T;
fences(this: TokenizerThis, src: string): Tokens.Code | T;
heading(this: TokenizerThis, src: string): Tokens.Heading | T;
hr(this: TokenizerThis, src: string): Tokens.Hr | T;
blockquote(this: TokenizerThis, src: string): Tokens.Blockquote | T;
list(this: TokenizerThis, src: string): Tokens.List | T;
html(this: TokenizerThis, src: string): Tokens.HTML | T;
def(this: TokenizerThis, src: string): Tokens.Def | T;
table(this: TokenizerThis, src: string): Tokens.Table | T;
lheading(this: TokenizerThis, src: string): Tokens.Heading | T;
paragraph(this: TokenizerThis, src: string): Tokens.Paragraph | T;
text(this: TokenizerThis, src: string): Tokens.Text | T;
escape(this: TokenizerThis, src: string): Tokens.Escape | T;
tag(this: TokenizerThis, src: string): Tokens.Tag | T;
link(this: TokenizerThis, src: string): Tokens.Image | Tokens.Link | T;
space(this: Tokenizer & TokenizerThis, src: string): Tokens.Space | T;
code(this: Tokenizer & TokenizerThis, src: string): Tokens.Code | T;
fences(this: Tokenizer & TokenizerThis, src: string): Tokens.Code | T;
heading(this: Tokenizer & TokenizerThis, src: string): Tokens.Heading | T;
hr(this: Tokenizer & TokenizerThis, src: string): Tokens.Hr | T;
blockquote(this: Tokenizer & TokenizerThis, src: string): Tokens.Blockquote | T;
list(this: Tokenizer & TokenizerThis, src: string): Tokens.List | T;
html(this: Tokenizer & TokenizerThis, src: string): Tokens.HTML | T;
def(this: Tokenizer & TokenizerThis, src: string): Tokens.Def | T;
table(this: Tokenizer & TokenizerThis, src: string): Tokens.Table | T;
lheading(this: Tokenizer & TokenizerThis, src: string): Tokens.Heading | T;
paragraph(this: Tokenizer & TokenizerThis, src: string): Tokens.Paragraph | T;
text(this: Tokenizer & TokenizerThis, src: string): Tokens.Text | T;
escape(this: Tokenizer & TokenizerThis, src: string): Tokens.Escape | T;
tag(this: Tokenizer & TokenizerThis, src: string): Tokens.Tag | T;
link(this: Tokenizer & TokenizerThis, src: string): Tokens.Image | Tokens.Link | T;
reflink(
this: TokenizerThis,
this: Tokenizer & TokenizerThis,
src: string,
links: Tokens.Link[] | Tokens.Image[],
): Tokens.Link | Tokens.Image | Tokens.Text | T;
emStrong(this: TokenizerThis, src: string, maskedSrc: string, prevChar: string): Tokens.Em | Tokens.Strong | T;
codespan(this: TokenizerThis, src: string): Tokens.Codespan | T;
br(this: TokenizerThis, src: string): Tokens.Br | T;
del(this: TokenizerThis, src: string): Tokens.Del | T;
autolink(this: TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
url(this: TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
inlineText(this: TokenizerThis, src: string, smartypants: (cap: string) => string): Tokens.Text | T;
emStrong(this: Tokenizer & TokenizerThis, src: string, maskedSrc: string, prevChar: string): Tokens.Em | Tokens.Strong | T;
codespan(this: Tokenizer & TokenizerThis, src: string): Tokens.Codespan | T;
br(this: Tokenizer & TokenizerThis, src: string): Tokens.Br | T;
del(this: Tokenizer & TokenizerThis, src: string): Tokens.Del | T;
autolink(this: Tokenizer & TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
url(this: Tokenizer & TokenizerThis, src: string, mangle: (cap: string) => string): Tokens.Link | T;
inlineText(this: Tokenizer & TokenizerThis, src: string, smartypants: (cap: string) => string): Tokens.Text | T;
}

@@ -161,0 +162,0 @@

{
"name": "@types/marked",
"version": "4.0.2",
"version": "4.0.3",
"description": "TypeScript definitions for Marked",

@@ -62,2 +62,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked",

"githubUsername": "jfcere"
},
{
"name": "Mykhaylo Stolyarchuk",
"url": "https://github.com/MykSto",
"githubUsername": "MykSto"
}

@@ -74,4 +79,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "c56b3ecb653aad20fb0272cc8e39d20cf0a249b07d9b2e18ae8023dfb8169231",
"typeScriptVersion": "3.8",
"typesPublisherContentHash": "b33e1af17fb00a1cbf698146c2d72ef6123f95980b5f17dd637874c386c3d453",
"typeScriptVersion": "3.9",
"exports": {

@@ -78,0 +83,0 @@ ".": {

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 30 Jan 2022 19:31:29 GMT
* Last updated: Mon, 21 Mar 2022 11:01:43 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [William Orr](https://github.com/worr), [BendingBender](https://github.com/BendingBender), [CrossR](https://github.com/CrossR), [Mike Wickett](https://github.com/mwickett), [Hitomi Hatsukaze](https://github.com/htkzhtm), [Ezra Celli](https://github.com/ezracelli), [Romain LE BARO](https://github.com/scandinave), [Sarun Intaralawan](https://github.com/sarunint), [Tony Brix](https://github.com/UziTech), [Anatolii Titov](https://github.com/Toliak), and [Jean-Francois Cere](https://github.com/jfcere).
These definitions were written by [William Orr](https://github.com/worr), [BendingBender](https://github.com/BendingBender), [CrossR](https://github.com/CrossR), [Mike Wickett](https://github.com/mwickett), [Hitomi Hatsukaze](https://github.com/htkzhtm), [Ezra Celli](https://github.com/ezracelli), [Romain LE BARO](https://github.com/scandinave), [Sarun Intaralawan](https://github.com/sarunint), [Tony Brix](https://github.com/UziTech), [Anatolii Titov](https://github.com/Toliak), [Jean-Francois Cere](https://github.com/jfcere), and [Mykhaylo Stolyarchuk](https://github.com/MykSto).
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