@types/marked
Advanced tools
@@ -1,1 +0,1 @@ | ||
| export * from './index.js'; | ||
| export * from "./index.js"; |
+29
-29
@@ -258,3 +258,3 @@ // Type definitions for Marked 5.0 | ||
| type TokenizerObject = Partial<Omit<Tokenizer<false>, 'constructor' | 'options'>>; | ||
| type TokenizerObject = Partial<Omit<Tokenizer<false>, "constructor" | "options">>; | ||
@@ -286,3 +286,3 @@ class Renderer<T = never> { | ||
| header: boolean; | ||
| align: 'center' | 'left' | 'right' | null; | ||
| align: "center" | "left" | "right" | null; | ||
| }, | ||
@@ -300,3 +300,3 @@ ): string | T; | ||
| type RendererObject = Partial<Omit<Renderer<false>, 'constructor' | 'options'>>; | ||
| type RendererObject = Partial<Omit<Renderer<false>, "constructor" | "options">>; | ||
@@ -394,3 +394,3 @@ class TextRenderer { | ||
| interface Space { | ||
| type: 'space'; | ||
| type: "space"; | ||
| raw: string; | ||
@@ -400,5 +400,5 @@ } | ||
| interface Code { | ||
| type: 'code'; | ||
| type: "code"; | ||
| raw: string; | ||
| codeBlockStyle?: 'indented' | undefined; | ||
| codeBlockStyle?: "indented" | undefined; | ||
| lang?: string | undefined; | ||
@@ -409,3 +409,3 @@ text: string; | ||
| interface Heading { | ||
| type: 'heading'; | ||
| type: "heading"; | ||
| raw: string; | ||
@@ -418,5 +418,5 @@ depth: number; | ||
| interface Table { | ||
| type: 'table'; | ||
| type: "table"; | ||
| raw: string; | ||
| align: Array<'center' | 'left' | 'right' | null>; | ||
| align: Array<"center" | "left" | "right" | null>; | ||
| header: TableCell[]; | ||
@@ -432,3 +432,3 @@ rows: TableCell[][]; | ||
| interface Hr { | ||
| type: 'hr'; | ||
| type: "hr"; | ||
| raw: string; | ||
@@ -438,3 +438,3 @@ } | ||
| interface Blockquote { | ||
| type: 'blockquote'; | ||
| type: "blockquote"; | ||
| raw: string; | ||
@@ -446,6 +446,6 @@ text: string; | ||
| interface List { | ||
| type: 'list'; | ||
| type: "list"; | ||
| raw: string; | ||
| ordered: boolean; | ||
| start: number | ''; | ||
| start: number | ""; | ||
| loose: boolean; | ||
@@ -456,3 +456,3 @@ items: ListItem[]; | ||
| interface ListItem { | ||
| type: 'list_item'; | ||
| type: "list_item"; | ||
| raw: string; | ||
@@ -467,3 +467,3 @@ task: boolean; | ||
| interface Paragraph { | ||
| type: 'paragraph'; | ||
| type: "paragraph"; | ||
| raw: string; | ||
@@ -476,3 +476,3 @@ pre?: boolean | undefined; | ||
| interface HTML { | ||
| type: 'html'; | ||
| type: "html"; | ||
| raw: string; | ||
@@ -485,3 +485,3 @@ pre: boolean; | ||
| interface Text { | ||
| type: 'text'; | ||
| type: "text"; | ||
| raw: string; | ||
@@ -493,3 +493,3 @@ text: string; | ||
| interface Def { | ||
| type: 'def'; | ||
| type: "def"; | ||
| raw: string; | ||
@@ -502,3 +502,3 @@ tag: string; | ||
| interface Escape { | ||
| type: 'escape'; | ||
| type: "escape"; | ||
| raw: string; | ||
@@ -509,3 +509,3 @@ text: string; | ||
| interface Tag { | ||
| type: 'text' | 'html'; | ||
| type: "text" | "html"; | ||
| raw: string; | ||
@@ -519,3 +519,3 @@ inLink: boolean; | ||
| interface Link { | ||
| type: 'link'; | ||
| type: "link"; | ||
| raw: string; | ||
@@ -529,3 +529,3 @@ href: string; | ||
| interface Image { | ||
| type: 'image'; | ||
| type: "image"; | ||
| raw: string; | ||
@@ -538,3 +538,3 @@ href: string; | ||
| interface Strong { | ||
| type: 'strong'; | ||
| type: "strong"; | ||
| raw: string; | ||
@@ -546,3 +546,3 @@ text: string; | ||
| interface Em { | ||
| type: 'em'; | ||
| type: "em"; | ||
| raw: string; | ||
@@ -554,3 +554,3 @@ text: string; | ||
| interface Codespan { | ||
| type: 'codespan'; | ||
| type: "codespan"; | ||
| raw: string; | ||
@@ -561,3 +561,3 @@ text: string; | ||
| interface Br { | ||
| type: 'br'; | ||
| type: "br"; | ||
| raw: string; | ||
@@ -567,3 +567,3 @@ } | ||
| interface Del { | ||
| type: 'del'; | ||
| type: "del"; | ||
| raw: string; | ||
@@ -588,3 +588,3 @@ text: string; | ||
| name: string; | ||
| level: 'block' | 'inline'; | ||
| level: "block" | "inline"; | ||
| start?: ((this: TokenizerThis, src: string) => number | void) | undefined; | ||
@@ -743,3 +743,3 @@ tokenizer: (this: TokenizerThis, src: string, tokens: Token[] | TokensList) => Tokens.Generic | void; | ||
| interface MarkedOptions extends Omit<MarkedExtension, 'extensions'> { | ||
| interface MarkedOptions extends Omit<MarkedExtension, "extensions"> { | ||
| /** | ||
@@ -746,0 +746,0 @@ * Type: object Default: new Renderer() |
| { | ||
| "name": "@types/marked", | ||
| "version": "5.0.1", | ||
| "version": "5.0.2", | ||
| "description": "TypeScript definitions for Marked", | ||
@@ -78,4 +78,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked", | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "4f58854d58c53e9f2d76cd69695c4e1ff087392e624e53f520b8d7e6e9cdfcb8", | ||
| "typeScriptVersion": "4.3", | ||
| "typesPublisherContentHash": "16be8ba4196d8d4bf0e717e331a9e711d2dcd9da855c277bd57f9e82f6b55ce6", | ||
| "typeScriptVersion": "4.5", | ||
| "exports": { | ||
@@ -82,0 +82,0 @@ ".": { |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Fri, 14 Jul 2023 15:32:57 GMT | ||
| * Last updated: Wed, 27 Sep 2023 09:42:15 GMT | ||
| * Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
0
-100%