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

mdast-util-to-hast

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast-util-to-hast - npm Package Compare versions

Comparing version 12.0.0 to 12.1.0

2

index.d.ts

@@ -1,2 +0,1 @@

export {toHast} from './lib/index.js'
export type Options = import('./lib/index.js').Options

@@ -8,1 +7,2 @@ export type Handler = import('./lib/index.js').Handler

export {one, all} from './lib/traverse.js'
export {defaultHandlers, toHast} from './lib/index.js'

@@ -10,2 +10,2 @@ /**

export {one, all} from './lib/traverse.js'
export {toHast} from './lib/index.js'
export {defaultHandlers, toHast} from './lib/index.js'

@@ -12,2 +12,3 @@ /**

): HastNode | null | undefined
export {handlers as defaultHandlers} from './handlers/index.js'
export type MdastNode =

@@ -14,0 +15,0 @@ | import('mdast').Root

@@ -234,1 +234,3 @@ /**

}
export {handlers as defaultHandlers} from './handlers/index.js'
{
"name": "mdast-util-to-hast",
"version": "12.0.0",
"version": "12.1.0",
"description": "mdast utility to transform to hast",

@@ -63,3 +63,3 @@ "license": "MIT",

"typescript": "^4.0.0",
"xo": "^0.45.0"
"xo": "^0.47.0"
},

@@ -66,0 +66,0 @@ "scripts": {

@@ -57,3 +57,4 @@ # mdast-util-to-hast

This package exports the following identifiers: `toHast`, `all`, `one`
This package exports the following identifiers: `toHast`, `defaultHandlers`,
`all`, `one`
There is no default export.

@@ -248,2 +249,7 @@

### `defaultHandlers`
Object mapping mdast node types to functions that can handle them.
See [`lib/handlers/index.js`][handlers-index].
### `all(h, parent)`

@@ -473,2 +479,4 @@

[handlers-index]: lib/handlers/index.js
[hname]: #hname

@@ -475,0 +483,0 @@

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