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

@udecode/plate-ui-dnd

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-ui-dnd - npm Package Compare versions

Comparing version

to
10.1.1

6

CHANGELOG.md
# @udecode/plate-dnd
## 10.1.1
### Patch Changes
- [#1388](https://github.com/udecode/plate/pull/1388) by [@zbeyens](https://github.com/zbeyens) – fix for docs only: use `Array.from` instead of destructuring generators
## 10.1.0

@@ -4,0 +10,0 @@

6

dist/index.es.js

@@ -467,6 +467,8 @@ import { createPluginFactory, findNode, isExpanded, useEditorRef, createNodesWithHOC, getNodes, unhangRange } from '@udecode/plate-core';

const getBlocksWithId = (editor, options) => {
return [...getNodes(editor, {
const _nodes = getNodes(editor, {
match: n => Editor.isBlock(editor, n) && !!n.id,
...options
})];
});
return Array.from(_nodes);
};

@@ -473,0 +475,0 @@

@@ -477,6 +477,8 @@ 'use strict';

const getBlocksWithId = (editor, options) => {
return [...plateCore.getNodes(editor, {
const _nodes = plateCore.getNodes(editor, {
match: n => slate.Editor.isBlock(editor, n) && !!n.id,
...options
})];
});
return Array.from(_nodes);
};

@@ -483,0 +485,0 @@

{
"name": "@udecode/plate-ui-dnd",
"version": "10.1.0",
"version": "10.1.1",
"description": "Drag & drop feature for Plate",

@@ -39,4 +39,4 @@ "keywords": [

"@tippyjs/react": "^4.2.0",
"@udecode/plate-core": "10.1.0",
"@udecode/plate-styled-components": "10.1.0",
"@udecode/plate-core": "10.1.1",
"@udecode/plate-styled-components": "10.1.1",
"react-dnd": "^14.0.2",

@@ -43,0 +43,0 @@ "react-dnd-html5-backend": "^14.0.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