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

@notable/html2markdown

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notable/html2markdown - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

dist/turndown.plugin.tables.js

@@ -56,4 +56,4 @@ "use strict";

return (parentNode.nodeName === 'THEAD' ||
((parentNode.nodeName === 'TABLE' || isFirstTbody(parentNode)) &&
every.call(tr.childNodes, function (n) { return n.nodeName === 'TH'; })));
((parentNode.nodeName === 'TABLE' || isFirstTbody(parentNode)) && (tr.previousSibling === null ||
every.call(tr.childNodes, function (n) { return n.nodeName === 'TH'; }))));
}

@@ -60,0 +60,0 @@ function isFirstTbody(element) {

{
"name": "@notable/html2markdown",
"description": "A small function for converting HTML to Markdown.",
"version": "1.1.1",
"version": "1.1.2",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "types": "dist/index.d.ts",

@@ -68,4 +68,6 @@

(
(parentNode.nodeName === 'TABLE' || isFirstTbody(parentNode)) &&
every.call(tr.childNodes, function (n) { return n.nodeName === 'TH' })
(parentNode.nodeName === 'TABLE' || isFirstTbody(parentNode)) && (
tr.previousSibling === null ||
every.call(tr.childNodes, function (n) { return n.nodeName === 'TH' })
)
)

@@ -72,0 +74,0 @@ )

@@ -96,3 +96,3 @@ # Title

### **TABLE**
### **TABLES**

@@ -103,1 +103,6 @@ | Foo | Bar |

| Jane | Doe |
| Foo | Bar |
| --- | --- |
| John | Doe |
| Jane | Doe |

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