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

braft-convert

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

braft-convert - npm Package Compare versions

Comparing version 1.8.12 to 1.8.13

10

dist/configs.js

@@ -453,6 +453,2 @@ "use strict";

newStyle = _color ? newStyle.add('BGCOLOR-' + _color.replace('#', '').toUpperCase()) : newStyle;
} else if (nodeName === 'sup') {
newStyle = newStyle.add('SUPERSCRIPT');
} else if (nodeName === 'sub') {
newStyle = newStyle.add('SUBSCRIPT');
} else if (nodeName === 'span' && node.style[i] === 'font-size') {

@@ -477,2 +473,8 @@ newStyle = newStyle.add('FONTSIZE-' + parseInt(node.style.fontSize, 10));

if (nodeName === 'sup') {
newStyle = newStyle.add('SUPERSCRIPT');
} else if (nodeName === 'sub') {
newStyle = newStyle.add('SUBSCRIPT');
}
return newStyle;

@@ -479,0 +481,0 @@ };

2

package.json
{
"name": "braft-convert",
"version": "1.8.12",
"version": "1.8.13",
"description": "A convert helper for Braft Editor.",

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

Sorry, the diff of this file is not supported yet

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