New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

markmap-html-parser

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markmap-html-parser - npm Package Compare versions

Comparing version 0.18.0 to 0.18.2

13

dist/index.js

@@ -164,3 +164,8 @@ "use strict";

const isHeading = level <= 6;
let data = $child.data();
let data = {
// If the child is an inline element and expected to be a separate node,
// data from the closest `<p>` should be included, e.g. `<p data-lines><img /></p>`
...$child.closest("p").data(),
...$child.data()
};
let html2 = result.html || "";

@@ -176,8 +181,2 @@ if ($child.is("ol>li") && (node == null ? void 0 : node.children)) {

}
if ($child.children("code:only-child").length) {
data = {
...data,
...$child.children().data()
};
}
const childNode = addChild({

@@ -184,0 +183,0 @@ parent: node || getCurrentHeading(level),

{
"name": "markmap-html-parser",
"version": "0.18.0",
"version": "0.18.2",
"description": "Parse HTML into markmap data structure",

@@ -64,3 +64,3 @@ "author": "Gerald <gera2ld@live.com>",

},
"gitHead": "652d042cdd980487e5de70c8e1405ecf0721fa9c"
"gitHead": "75261f82190df5b126faf6f6dc82adeb1c3a2cc2"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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