@ckeditor/ckeditor5-utils
Advanced tools
Comparing version 33.0.0 to 34.0.0
{ | ||
"name": "@ckeditor/ckeditor5-utils", | ||
"version": "33.0.0", | ||
"version": "34.0.0", | ||
"description": "Miscellaneous utilities used by CKEditor 5.", | ||
@@ -17,6 +17,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-build-classic": "^33.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^33.0.0", | ||
"@ckeditor/ckeditor5-core": "^33.0.0", | ||
"@ckeditor/ckeditor5-engine": "^33.0.0" | ||
"@ckeditor/ckeditor5-build-classic": "^34.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^34.0.0", | ||
"@ckeditor/ckeditor5-core": "^34.0.0", | ||
"@ckeditor/ckeditor5-engine": "^34.0.0" | ||
}, | ||
@@ -23,0 +23,0 @@ "engines": { |
@@ -6,3 +6,4 @@ CKEditor 5 utilities | ||
[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master) | ||
[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://travis-ci.com/ckeditor/ckeditor5) | ||
[![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5) | ||
![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-utils) | ||
@@ -9,0 +10,0 @@ Various utilities used by CKEditor 5 and its features. This is a sort of CKEditor 5's standard library. |
@@ -13,2 +13,3 @@ /** | ||
import priorities from './priorities'; | ||
import insertToPriorityArray from './inserttopriorityarray'; | ||
@@ -302,17 +303,3 @@ // To check if component is loaded more than once. | ||
// Add the callback to the list in the right priority position. | ||
let added = false; | ||
for ( let i = 0; i < callbacks.length; i++ ) { | ||
if ( callbacks[ i ].priority < priority ) { | ||
callbacks.splice( i, 0, callbackDefinition ); | ||
added = true; | ||
break; | ||
} | ||
} | ||
// Add at the end, if right place was not found. | ||
if ( !added ) { | ||
callbacks.push( callbackDefinition ); | ||
} | ||
insertToPriorityArray( callbacks, callbackDefinition ); | ||
} | ||
@@ -319,0 +306,0 @@ }, |
@@ -30,2 +30,3 @@ /** | ||
export { default as isVisible } from './dom/isvisible'; | ||
export * from './dom/scroll'; | ||
@@ -32,0 +33,0 @@ export * from './keyboard'; |
@@ -14,3 +14,3 @@ /** | ||
const version = '33.0.0'; | ||
const version = '34.0.0'; | ||
@@ -53,3 +53,3 @@ export default version; | ||
* | ||
* Read more in the {@glink builds/guides/integration/installing-plugins "Installing plugins"} guide. | ||
* Read more in the {@glink installation/getting-started/installing-plugins "Installing plugins"} guide. | ||
* | ||
@@ -61,3 +61,3 @@ * # Confused an editor build with an editor implementation | ||
* Let's assume that you wanted to use CKEditor 5 from source, as explained in the | ||
* {@glink builds/guides/integration/advanced-setup#scenario-2-building-from-source "Building from source"} section | ||
* {@glink installation/advanced/alternative-setups/integrating-from-source "Building from source"} section | ||
* or in the {@glink framework/guides/quick-start "Quick start"} guide of CKEditor 5 Framework. | ||
@@ -104,3 +104,3 @@ * | ||
* If you want to use two different types of editors at once, see the | ||
* {@glink builds/guides/integration/advanced-setup#scenario-3-using-two-different-editors "Using two different editors"} | ||
* {@glink installation/advanced/using-two-editors "Using two different editors"} | ||
* section. | ||
@@ -131,3 +131,3 @@ * | ||
* whether you use packages coming from the same CKEditor 5 version. You can read more about versioning in the | ||
* {@glink framework/guides/support/versioning-policy Versioning policy} guide. | ||
* {@glink support/versioning-policy Versioning policy} guide. | ||
* | ||
@@ -134,0 +134,0 @@ * # Packages were duplicated in `node_modules` |
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
265544
61
7060
18