@ckeditor/ckeditor5-engine
Advanced tools
Comparing version 29.2.0 to 30.0.0
{ | ||
"name": "@ckeditor/ckeditor5-engine", | ||
"version": "29.2.0", | ||
"version": "30.0.0", | ||
"description": "The editing engine of CKEditor 5 – the best browser-based rich text editor.", | ||
@@ -26,24 +26,24 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-utils": "^29.2.0", | ||
"@ckeditor/ckeditor5-utils": "^30.0.0", | ||
"lodash-es": "^4.17.15" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-basic-styles": "^29.2.0", | ||
"@ckeditor/ckeditor5-block-quote": "^29.2.0", | ||
"@ckeditor/ckeditor5-clipboard": "^29.2.0", | ||
"@ckeditor/ckeditor5-core": "^29.2.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^29.2.0", | ||
"@ckeditor/ckeditor5-enter": "^29.2.0", | ||
"@ckeditor/ckeditor5-essentials": "^29.2.0", | ||
"@ckeditor/ckeditor5-heading": "^29.2.0", | ||
"@ckeditor/ckeditor5-image": "^29.2.0", | ||
"@ckeditor/ckeditor5-link": "^29.2.0", | ||
"@ckeditor/ckeditor5-list": "^29.2.0", | ||
"@ckeditor/ckeditor5-paragraph": "^29.2.0", | ||
"@ckeditor/ckeditor5-table": "^29.2.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^29.2.0", | ||
"@ckeditor/ckeditor5-typing": "^29.2.0", | ||
"@ckeditor/ckeditor5-ui": "^29.2.0", | ||
"@ckeditor/ckeditor5-undo": "^29.2.0", | ||
"@ckeditor/ckeditor5-widget": "^29.2.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^30.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^30.0.0", | ||
"@ckeditor/ckeditor5-clipboard": "^30.0.0", | ||
"@ckeditor/ckeditor5-core": "^30.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^30.0.0", | ||
"@ckeditor/ckeditor5-enter": "^30.0.0", | ||
"@ckeditor/ckeditor5-essentials": "^30.0.0", | ||
"@ckeditor/ckeditor5-heading": "^30.0.0", | ||
"@ckeditor/ckeditor5-image": "^30.0.0", | ||
"@ckeditor/ckeditor5-link": "^30.0.0", | ||
"@ckeditor/ckeditor5-list": "^30.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^30.0.0", | ||
"@ckeditor/ckeditor5-table": "^30.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^30.0.0", | ||
"@ckeditor/ckeditor5-typing": "^30.0.0", | ||
"@ckeditor/ckeditor5-ui": "^30.0.0", | ||
"@ckeditor/ckeditor5-undo": "^30.0.0", | ||
"@ckeditor/ckeditor5-widget": "^30.0.0", | ||
"webpack": "^4.43.0", | ||
@@ -50,0 +50,0 @@ "webpack-cli": "^3.3.11" |
@@ -55,8 +55,9 @@ /** | ||
/** | ||
* Checks if marker with given `markerName` is in the collection. | ||
* Checks if given {@link ~Marker marker} or marker name is in the collection. | ||
* | ||
* @param {String} markerName Marker name. | ||
* @returns {Boolean} `true` if marker with given `markerName` is in the collection, `false` otherwise. | ||
* @param {String|module:engine/model/markercollection~Marker} markerOrName Name of marker or marker instance to check. | ||
* @returns {Boolean} `true` if marker is in the collection, `false` otherwise. | ||
*/ | ||
has( markerName ) { | ||
has( markerOrName ) { | ||
const markerName = markerOrName instanceof Marker ? markerOrName.name : markerOrName; | ||
return this._markers.has( markerName ); | ||
@@ -63,0 +64,0 @@ } |
@@ -449,3 +449,3 @@ /** | ||
* | ||
* @param {Object} options Object with configuration options. See {@link module:engine/model/treewalker~TreeWalker}. | ||
* @param {Object} [options] Object with configuration options. See {@link module:engine/model/treewalker~TreeWalker}. | ||
* @returns {Iterable.<module:engine/model/item~Item>} | ||
@@ -452,0 +452,0 @@ */ |
@@ -238,3 +238,3 @@ /** | ||
if ( pattern instanceof RegExp ) { | ||
return pattern.test( name ); | ||
return !!name.match( pattern ); | ||
} | ||
@@ -398,3 +398,3 @@ | ||
patternKey === itemKey || | ||
patternKey instanceof RegExp && patternKey.test( itemKey ); | ||
patternKey instanceof RegExp && itemKey.match( patternKey ); | ||
} | ||
@@ -413,3 +413,7 @@ | ||
return patternValue === itemValue || patternValue instanceof RegExp && patternValue.test( itemValue ); | ||
// For now, the reducers are not returning the full tree of properties. | ||
// Casting to string preserves the old behavior until the root cause is fixed. | ||
// More can be found in https://github.com/ckeditor/ckeditor5/issues/10399. | ||
return patternValue === itemValue || | ||
patternValue instanceof RegExp && !!String( itemValue ).match( patternValue ); | ||
} | ||
@@ -416,0 +420,0 @@ |
@@ -39,2 +39,7 @@ /** | ||
'springgreen', 'steelblue', 'tan', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'whitesmoke', 'yellowgreen', | ||
// CSS Color Module Level 3 (System Colors) | ||
'activeborder', 'activecaption', 'appworkspace', 'background', 'buttonface', 'buttonhighlight', 'buttonshadow', | ||
'buttontext', 'captiontext', 'graytext', 'highlight', 'highlighttext', 'inactiveborder', 'inactivecaption', | ||
'inactivecaptiontext', 'infobackground', 'infotext', 'menu', 'menutext', 'scrollbar', 'threeddarkshadow', | ||
'threedface', 'threedhighlight', 'threedlightshadow', 'threedshadow', 'window', 'windowframe', 'windowtext', | ||
// CSS Color Module Level 4 | ||
@@ -41,0 +46,0 @@ 'rebeccapurple', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41446
1735070
117
+ Added@ckeditor/ckeditor5-utils@30.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@29.2.0(transitive)