Socket
Socket
Sign inDemoInstall

@udecode/slate-utils

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/slate-utils - npm Package Compare versions

Comparing version 36.0.6 to 36.3.4

2

dist/index.d.ts

@@ -273,3 +273,3 @@ import * as _udecode_slate from '@udecode/slate';

declare const replaceNode: <N extends EElementOrText<V>, V extends Value = Value>(editor: TEditor<V>, { at, insertOptions, nodes }: ReplaceNodeChildrenOptions<N, V>) => void;
declare const replaceNode: <N extends EElementOrText<V>, V extends Value = Value>(editor: TEditor<V>, { at, insertOptions, nodes, removeOptions }: ReplaceNodeChildrenOptions<N, V>) => void;

@@ -276,0 +276,0 @@ /** Select the end point of the block above the selection. */

@@ -835,5 +835,5 @@ "use strict";

var import_slate46 = require("@udecode/slate");
var replaceNode = (editor, { at, insertOptions, nodes }) => {
var replaceNode = (editor, { at, insertOptions, nodes, removeOptions }) => {
(0, import_slate46.withoutNormalizing)(editor, () => {
(0, import_slate46.removeNodes)(editor, __spreadProps(__spreadValues({}, insertOptions), { at }));
(0, import_slate46.removeNodes)(editor, __spreadProps(__spreadValues({}, removeOptions), { at }));
(0, import_slate46.insertNodes)(editor, nodes, __spreadProps(__spreadValues({}, insertOptions), {

@@ -840,0 +840,0 @@ at

{
"name": "@udecode/slate-utils",
"version": "36.0.6",
"version": "36.3.4",
"description": "Slate utils",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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