Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

readabilitySAX

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readabilitySAX - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

2

package.json
{
"name": "readabilitySAX",
"version": "1.4.2",
"version": "1.4.3",
"description": "the readability script ported to a sax parser",

@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>",

@@ -494,6 +494,4 @@ /*

if(elem.children.length === 0) return;
if("a" in elem.info.tagCount) return;
if(elem.children.length === 1 && typeof elem.children[0] === "string") return;
}
else if(elem.info.tagCount.img > p ) return;
if((elem.info.tagCount.li - 100) > p && tagName !== "ul" && tagName !== "ol") return;

@@ -500,0 +498,0 @@ if(contentLength < 25 && (!("img" in elem.info.tagCount) || elem.info.tagCount.img > 2) ) return;

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