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

@dreamworld/web-util

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/web-util - npm Package Compare versions

Comparing version 1.3.0-html-trim.3 to 1.3.0-html-trim.4

4

htmlToText.js

@@ -13,4 +13,2 @@

return d.textContent;
}
export default htmlToText;
}
import textToHtml from './textToHtml';
import htmlToText from './htmlToText';

@@ -46,5 +45,5 @@ /**

html = removeEmptyNodes(html, deep);
return htmlToText(html, true);
return html.innerHTML;
}
export default htmlTrim;
{
"name": "@dreamworld/web-util",
"version": "1.3.0-html-trim.3",
"version": "1.3.0-html-trim.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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