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

degausser

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degausser - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

14

dist/degausser.js

@@ -901,3 +901,8 @@ (function (global, factory) {

range.setStart(entry.node, adjustedStart + skips);
if (adjustedStart + skips - entry.node.length === 1) {
// space between the end of the node and the start of the next
range.setStartAfter(entry.node);
} else {
range.setStart(entry.node, adjustedStart + skips);
}
}

@@ -930,3 +935,8 @@ }

range.setEnd(entry.node, adjustedEnd + _skips);
if (adjustedEnd + _skips - entry.node.length === 1) {
// space between the end of the node and the start of the next
range.setEndAfter(entry.node);
} else {
range.setEnd(entry.node, adjustedEnd + _skips);
}
}

@@ -933,0 +943,0 @@

2

package.json
{
"name": "degausser",
"version": "2.3.1",
"version": "2.3.2",
"description": "Transforms HTML to plain text by eliminating tags from a document.",

@@ -5,0 +5,0 @@ "author": "FlowPub",

@@ -46,3 +46,8 @@ import { StringCollector } from './stringCollector'

range.setStart(entry.node, adjustedStart + skips)
if (adjustedStart + skips - entry.node.length === 1){
// space between the end of the node and the start of the next
range.setStartAfter(entry.node)
} else {
range.setStart(entry.node, adjustedStart + skips)
}
}

@@ -64,3 +69,8 @@ }

range.setEnd(entry.node, adjustedEnd + skips)
if (adjustedEnd + skips - entry.node.length === 1){
// space between the end of the node and the start of the next
range.setEndAfter(entry.node)
} else {
range.setEnd(entry.node, adjustedEnd + skips)
}
}

@@ -67,0 +77,0 @@ break

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