@types/marked
Advanced tools
Comparing version 4.0.8 to 4.3.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for Marked 4.0 | ||
// Type definitions for Marked 4.3 | ||
// Project: https://github.com/markedjs/marked, https://marked.js.org | ||
@@ -557,2 +557,12 @@ // Definitions by: William Orr <https://github.com/worr> | ||
/** | ||
* Hooks are methods that hook into some part of marked. | ||
* preprocess is called to process markdown before sending it to marked. | ||
* postprocess is called to process html after marked has finished parsing. | ||
*/ | ||
hooks?: { | ||
preprocess?: (markdown: string) => string, | ||
postprocess?: (html: string) => string, | ||
}; | ||
/** | ||
* Set the prefix for code block classes. | ||
@@ -559,0 +569,0 @@ */ |
{ | ||
"name": "@types/marked", | ||
"version": "4.0.8", | ||
"version": "4.3.0", | ||
"description": "TypeScript definitions for Marked", | ||
@@ -78,4 +78,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/marked", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "fc4c81046b5803035080bd3f53c8caf24d53cb71eb615ed82e89e00d19a7a2d2", | ||
"typeScriptVersion": "4.2", | ||
"typesPublisherContentHash": "9c637316fdbceba2d765db8c4a10b7570a753d89a12fdace50c74989c4a870a3", | ||
"typeScriptVersion": "4.3", | ||
"exports": { | ||
@@ -82,0 +82,0 @@ ".": { |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 09 Dec 2022 08:33:05 GMT | ||
* Last updated: Mon, 01 May 2023 15:02:50 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25984
564