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

@udecode/plate-utils

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-utils - npm Package Compare versions

Comparing version 24.3.5 to 24.3.6

19

dist/index.js

@@ -206,3 +206,4 @@ "use strict";

// src/utils/createNodesHOC.tsx
var import_lodash_es = require("lodash-es");
var import_castArray = __toESM(require("lodash/castArray.js"));
var import_merge = __toESM(require("lodash/merge.js"));
var createHOC = (withHOC) => {

@@ -212,3 +213,3 @@ return (components, options) => {

const optionsByKey = {};
const optionsList = (0, import_lodash_es.castArray)(options);
const optionsList = (0, import_castArray.default)(options);
optionsList.forEach((_a) => {

@@ -218,3 +219,3 @@ var _b = _a, { key, keys } = _b, opt = __objRest(_b, ["key", "keys"]);

_keys.forEach((_key) => {
optionsByKey[_key] = (0, import_lodash_es.merge)(optionsByKey[_key], opt);
optionsByKey[_key] = (0, import_merge.default)(optionsByKey[_key], opt);
});

@@ -495,5 +496,5 @@ });

var import_plate_core4 = require("@udecode/plate-core");
var import_lodash_es2 = require("lodash-es");
var import_defaults = __toESM(require("lodash/defaults.js"));
var defaultsDeepToNodes = (options) => {
(0, import_plate_core4.applyDeepToNodes)(__spreadProps(__spreadValues({}, options), { apply: import_lodash_es2.defaults }));
(0, import_plate_core4.applyDeepToNodes)(__spreadProps(__spreadValues({}, options), { apply: import_defaults.default }));
};

@@ -548,3 +549,3 @@

var import_plate_core5 = require("@udecode/plate-core");
var import_lodash_es3 = require("lodash-es");
var import_castArray2 = __toESM(require("lodash/castArray.js"));
var onKeyDownToggleElement = (editor, { type, options: { hotkey } }) => (e) => {

@@ -556,3 +557,3 @@ if (e.defaultPrevented)

return;
const hotkeys = (0, import_lodash_es3.castArray)(hotkey);
const hotkeys = (0, import_castArray2.default)(hotkey);
for (const _hotkey of hotkeys) {

@@ -589,5 +590,5 @@ if ((0, import_plate_core5.isHotkey)(_hotkey, e)) {

var import_plate_core7 = require("@udecode/plate-core");
var import_lodash_es4 = require("lodash-es");
var import_castArray3 = __toESM(require("lodash/castArray.js"));
var isType = (editor, node, key) => {
const keys = (0, import_lodash_es4.castArray)(key);
const keys = (0, import_castArray3.default)(key);
const types = [];

@@ -594,0 +595,0 @@ keys.forEach((_key) => types.push((0, import_plate_core7.getPluginType)(editor, _key)));

{
"name": "@udecode/plate-utils",
"version": "24.3.5",
"version": "24.3.6",
"description": "Plate utils",

@@ -43,9 +43,9 @@ "license": "MIT",

"@radix-ui/react-slot": "^1.0.2",
"@udecode/plate-core": "24.3.5",
"@udecode/slate": "24.3.5",
"@udecode/slate-react": "24.3.5",
"@udecode/slate-utils": "24.3.5",
"@udecode/plate-core": "24.3.6",
"@udecode/slate": "24.3.6",
"@udecode/slate-react": "24.3.6",
"@udecode/slate-utils": "24.3.6",
"@udecode/utils": "24.3.0",
"clsx": "^1.2.1",
"lodash-es": "^4.17.21"
"lodash": "^4.17.21"
},

@@ -52,0 +52,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

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