Socket
Socket
Sign inDemoInstall

@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.1 to 4.0.2

41

marked/index.d.ts

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

// Anatolii Titov <https://github.com/Toliak>
// Jean-Francois Cere <https://github.com/jfcere>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -165,7 +166,7 @@

options: MarkedOptions;
code(this: RendererThis, code: string, language: string | undefined, isEscaped: boolean): string | T;
blockquote(this: RendererThis, quote: string): string | T;
html(this: RendererThis, html: string): string | T;
code(this: Renderer | RendererThis, code: string, language: string | undefined, isEscaped: boolean): string | T;
blockquote(this: Renderer | RendererThis, quote: string): string | T;
html(this: Renderer | RendererThis, html: string): string | T;
heading(
this: RendererThis,
this: Renderer | RendererThis,
text: string,

@@ -176,11 +177,11 @@ level: 1 | 2 | 3 | 4 | 5 | 6,

): string | T;
hr(this: RendererThis): string | T;
list(this: RendererThis, body: string, ordered: boolean, start: number): string | T;
listitem(this: RendererThis, text: string, task: boolean, checked: boolean): string | T;
checkbox(this: RendererThis, checked: boolean): string | T;
paragraph(this: RendererThis, text: string): string | T;
table(this: RendererThis, header: string, body: string): string | T;
tablerow(this: RendererThis, content: string): string | T;
hr(this: Renderer | RendererThis): string | T;
list(this: Renderer | RendererThis, body: string, ordered: boolean, start: number): string | T;
listitem(this: Renderer | RendererThis, text: string, task: boolean, checked: boolean): string | T;
checkbox(this: Renderer | RendererThis, checked: boolean): string | T;
paragraph(this: Renderer | RendererThis, text: string): string | T;
table(this: Renderer | RendererThis, header: string, body: string): string | T;
tablerow(this: Renderer | RendererThis, content: string): string | T;
tablecell(
this: RendererThis,
this: Renderer | RendererThis,
content: string,

@@ -192,10 +193,10 @@ flags: {

): string | T;
strong(this: RendererThis, text: string): string | T;
em(this: RendererThis, text: string): string | T;
codespan(this: RendererThis, code: string): string | T;
br(this: RendererThis): string | T;
del(this: RendererThis, text: string): string | T;
link(this: RendererThis, href: string | null, title: string | null, text: string): string | T;
image(this: RendererThis, href: string | null, title: string | null, text: string): string | T;
text(this: RendererThis, text: string): string | T;
strong(this: Renderer | RendererThis, text: string): string | T;
em(this: Renderer | RendererThis, text: string): string | T;
codespan(this: Renderer | RendererThis, code: string): string | T;
br(this: Renderer | RendererThis): string | T;
del(this: Renderer | RendererThis, text: string): string | T;
link(this: Renderer | RendererThis, href: string | null, title: string | null, text: string): string | T;
image(this: Renderer | RendererThis, href: string | null, title: string | null, text: string): string | T;
text(this: Renderer | RendererThis, text: string): string | T;
}

@@ -202,0 +203,0 @@

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

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

"githubUsername": "Toliak"
},
{
"name": "Jean-Francois Cere",
"url": "https://github.com/jfcere",
"githubUsername": "jfcere"
}

@@ -69,4 +74,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "2c68d8f5b436fc4b3f28e5a8faeeddfc57770222382e2ec04f410e90a3551bed",
"typeScriptVersion": "3.7",
"typesPublisherContentHash": "c56b3ecb653aad20fb0272cc8e39d20cf0a249b07d9b2e18ae8023dfb8169231",
"typeScriptVersion": "3.8",
"exports": {

@@ -78,4 +83,5 @@ ".": {

}
}
},
"./package.json": "./package.json"
}
}

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

### Additional Details
* Last updated: Thu, 18 Nov 2021 01:01:25 GMT
* Last updated: Sun, 30 Jan 2022 19:31:29 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), and [Anatolii Titov](https://github.com/Toliak).
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).

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