mdast-util-to-hast
Advanced tools
Comparing version 12.0.0 to 12.1.0
@@ -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 @@ |
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
64609
1746
486