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

@udecode/plate-font

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-font - npm Package Compare versions

Comparing version 23.7.4 to 24.0.0

4

dist/index.es.js

@@ -1,2 +0,2 @@

import { createPluginFactory, usePlateEditorState, getMark, select, focusEditor, setMarks, removeMark } from '@udecode/plate-common';
import { createPluginFactory, useEditorState, getMark, select, focusEditor, setMarks, removeMark } from '@udecode/plate-common';
import { useState, useCallback, useEffect, useRef, useMemo } from 'react';

@@ -140,3 +140,3 @@

}) => {
const editor = usePlateEditorState();
const editor = useEditorState();
const color = editor && getMark(editor, nodeType);

@@ -143,0 +143,0 @@ const [selectedColor, setSelectedColor] = useState();

@@ -142,3 +142,3 @@ 'use strict';

}) => {
const editor = plateCommon.usePlateEditorState();
const editor = plateCommon.useEditorState();
const color = editor && plateCommon.getMark(editor, nodeType);

@@ -145,0 +145,0 @@ const [selectedColor, setSelectedColor] = react.useState();

{
"name": "@udecode/plate-font",
"version": "23.7.4",
"version": "24.0.0",
"description": "Font plugins for Plate",

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

"dependencies": {
"@udecode/plate-common": "23.7.4"
"@udecode/plate-common": "24.0.0"
},

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

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