You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@udecode/plate-alignment

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-alignment - npm Package Compare versions

Comparing version

to
19.5.0

4

dist/index.es.js

@@ -43,3 +43,5 @@ import { createPluginFactory, getPluginType, ELEMENT_DEFAULT, mapInjectPropsToPlugin, getPluginInjectProps, unsetNodes, setElements, isBlock } from '@udecode/plate-core';

const match = n => isBlock(editor, n) && !!validTypes && validTypes.includes(n.type);
const match = n => {
return isBlock(editor, n) && !!validTypes && validTypes.includes(n.type);
};

@@ -46,0 +48,0 @@ if (value === defaultNodeValue) {

@@ -47,3 +47,5 @@ 'use strict';

const match = n => plateCore.isBlock(editor, n) && !!validTypes && validTypes.includes(n.type);
const match = n => {
return plateCore.isBlock(editor, n) && !!validTypes && validTypes.includes(n.type);
};

@@ -50,0 +52,0 @@ if (value === defaultNodeValue) {

{
"name": "@udecode/plate-alignment",
"version": "19.4.4",
"version": "19.5.0",
"description": "Text alignment plugin for Plate",

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

"dependencies": {
"@udecode/plate-core": "19.4.4"
"@udecode/plate-core": "19.5.0"
},

@@ -25,0 +25,0 @@ "peerDependencies": {

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