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
1
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 2.1.1 to 2.1.2

2

lib/handlers/list-item.js

@@ -19,3 +19,3 @@ 'use strict';

if (typeof node.checked === 'boolean') {
if (!single && head.type !== 'paragraph') {
if (!single && (!head || head.type !== 'paragraph')) {
result.unshift(h(null, 'p', []));

@@ -22,0 +22,0 @@ }

{
"name": "mdast-util-to-hast",
"version": "2.1.1",
"version": "2.1.2",
"description": "Transform MDAST 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