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

@ckeditor/ckeditor5-font

Package Overview
Dependencies
Maintainers
1
Versions
704
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-font - npm Package Compare versions

Comparing version 26.0.0 to 27.0.0

22

package.json
{
"name": "@ckeditor/ckeditor5-font",
"version": "26.0.0",
"version": "27.0.0",
"description": "Font feature for CKEditor 5.",

@@ -14,15 +14,15 @@ "keywords": [

"dependencies": {
"ckeditor5": "^26.0.0"
"ckeditor5": "^27.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-core": "^26.0.0",
"@ckeditor/ckeditor5-core": "^27.0.0",
"@ckeditor/ckeditor5-dev-utils": "^24.0.0",
"@ckeditor/ckeditor5-editor-classic": "^26.0.0",
"@ckeditor/ckeditor5-engine": "^26.0.0",
"@ckeditor/ckeditor5-highlight": "^26.0.0",
"@ckeditor/ckeditor5-paragraph": "^26.0.0",
"@ckeditor/ckeditor5-table": "^26.0.0",
"@ckeditor/ckeditor5-theme-lark": "^26.0.0",
"@ckeditor/ckeditor5-ui": "^26.0.0",
"@ckeditor/ckeditor5-utils": "^26.0.0",
"@ckeditor/ckeditor5-editor-classic": "^27.0.0",
"@ckeditor/ckeditor5-engine": "^27.0.0",
"@ckeditor/ckeditor5-highlight": "^27.0.0",
"@ckeditor/ckeditor5-paragraph": "^27.0.0",
"@ckeditor/ckeditor5-table": "^27.0.0",
"@ckeditor/ckeditor5-theme-lark": "^27.0.0",
"@ckeditor/ckeditor5-ui": "^27.0.0",
"@ckeditor/ckeditor5-utils": "^27.0.0",
"webpack": "^4.43.0",

@@ -29,0 +29,0 @@ "webpack-cli": "^3.3.11"

@@ -12,2 +12,3 @@ /**

import { CKEditorError } from 'ckeditor5/src/utils';
import { isLength, isPercentage } from 'ckeditor5/src/engine';

@@ -113,3 +114,5 @@ import FontSizeCommand from './fontsizecommand';

// If `fontSize.supportAllValues=true`, we do not allow to use named presets in the plugin's configuration.
const presets = definition.model.values.filter( value => !String( value ).match( /[\d.]+[\w%]+/ ) );
const presets = definition.model.values.filter( value => {
return !isLength( String( value ) ) && !isPercentage( String( value ) );
} );

@@ -116,0 +119,0 @@ if ( presets.length ) {

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