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

@styla/quilldto-to-html

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@styla/quilldto-to-html - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "@styla/quilldto-to-html",
"version": "1.2.1",
"version": "1.2.2",
"main": "QuillDeltaToHtmlConverter.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:styladev/quill-delta-to-html-parcel.git",

@@ -446,3 +446,10 @@ "use strict";

if (this.op.isImage()) {
this.op.attributes.width && (tagAttrs = tagAttrs.concat(makeAttr('width', this.op.attributes.width)));
const {width, alt} = this.op.attributes;
if (width) {
tagAttrs = tagAttrs.concat(makeAttr('width', width));
}
if (alt || alt === '') {
tagAttrs = tagAttrs.concat(makeAttr('alt', alt));
}
return tagAttrs.concat(makeAttr('src', url.sanitize(this.op.insert.value + '') + ''));

@@ -449,0 +456,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