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.2.5 to 12.2.6

10

lib/index.d.ts

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

export type Content = import('hast').ElementContent
export type PositionLike = import('unist-util-position').PositionLike
export type EmbeddedHastFields = {

@@ -51,2 +50,11 @@ /**

}
export type PositionLike = {
start?: PointLike | null | undefined
end?: PointLike | null | undefined
}
export type PointLike = {
line?: number | null | undefined
column?: number | null | undefined
offset?: number | null | undefined
}
/**

@@ -53,0 +61,0 @@ * Handle a node.

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

* @typedef {import('hast').ElementContent} Content
* @typedef {import('unist-util-position').PositionLike} PositionLike
*

@@ -27,2 +26,11 @@ * @typedef EmbeddedHastFields

*
* @typedef PositionLike
* @property {PointLike | null | undefined} [start]
* @property {PointLike | null | undefined} [end]
*
* @typedef PointLike
* @property {number | null | undefined} [line]
* @property {number | null | undefined} [column]
* @property {number | null | undefined} [offset]
*
* @callback Handler

@@ -29,0 +37,0 @@ * Handle a node.

2

package.json
{
"name": "mdast-util-to-hast",
"version": "12.2.5",
"version": "12.2.6",
"description": "mdast utility to transform to hast",

@@ -5,0 +5,0 @@ "license": "MIT",

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