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

@prezly/docx-cleaner

Package Overview
Dependencies
Maintainers
4
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prezly/docx-cleaner - npm Package Compare versions

Comparing version 0.1.0-alpha.21 to 0.1.0-alpha.22

4

package.json
{
"name": "@prezly/docx-cleaner",
"version": "0.1.0-alpha.21",
"version": "0.1.0-alpha.22",
"description": "Normalize dirty HTML and DOCX/RTF documents into clean, understandable HTML",

@@ -30,3 +30,3 @@ "license": "MIT",

},
"gitHead": "f976f56acbf40fd4c58ddc82e272be3f80db26cf"
"gitHead": "e6180ea6f508a88bc79f93b3acc6153c8b50c776"
}

@@ -18,5 +18,4 @@ # @prezly/docx-cleaner

const handlePaste = (event: ClipboardEvent<HTMLTextAreaElement>) => {
const clipboardData = event.clipboardData || window.clipboardData;
const html = data.getData('text/html');
const rtf = data.getData('text/rtf');
const html = event.clipboardData.getData('text/html');
const rtf = event.clipboardData.getData('text/rtf');

@@ -27,2 +26,3 @@ try {

} catch (error) {
setValue(error.message);
console.error(error);

@@ -29,0 +29,0 @@ }

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