You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@udecode/plate-juice

Package Overview
Dependencies
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-juice - npm Package Compare versions

Comparing version

to
8.3.0

2

CHANGELOG.md
# @udecode/plate-juice
## 8.3.0
## 8.1.0

5

dist/index.es.js

@@ -13,3 +13,6 @@ import { createPluginFactory, KEY_DESERIALIZE_HTML } from '@udecode/plate-core';

transformData: data => {
return juice(data);
// juice ignores the first class when there is <!-- just after <style>, so we remove it
let newData = data.replace(/<style>(\s*?)<!--/g, '<style>');
newData = juice(newData);
return newData;
}

@@ -16,0 +19,0 @@ }

@@ -21,3 +21,6 @@ 'use strict';

transformData: data => {
return juice__default['default'](data);
// juice ignores the first class when there is <!-- just after <style>, so we remove it
let newData = data.replace(/<style>(\s*?)<!--/g, '<style>');
newData = juice__default['default'](newData);
return newData;
}

@@ -24,0 +27,0 @@ }

{
"name": "@udecode/plate-juice",
"version": "8.1.0",
"version": "8.3.0",
"description": "HTML juice plugin for Plate",

@@ -35,3 +35,3 @@ "keywords": [

"dependencies": {
"@udecode/plate-core": "8.1.0",
"@udecode/plate-core": "8.3.0",
"juice": "8.0.0"

@@ -38,0 +38,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet