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.8 to 4.3.0

12

marked/index.d.ts

@@ -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 @@ */

6

marked/package.json
{
"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

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