@ckeditor/ckeditor5-utils
Advanced tools
Comparing version 37.0.0-alpha.3 to 37.0.0-rc.0
{ | ||
"name": "@ckeditor/ckeditor5-utils", | ||
"version": "37.0.0-alpha.3", | ||
"version": "37.0.0-rc.0", | ||
"description": "Miscellaneous utilities used by CKEditor 5.", | ||
@@ -17,6 +17,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-build-classic": "^37.0.0-alpha.3", | ||
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.3", | ||
"@ckeditor/ckeditor5-core": "^37.0.0-alpha.3", | ||
"@ckeditor/ckeditor5-engine": "^37.0.0-alpha.3", | ||
"@ckeditor/ckeditor5-build-classic": "^37.0.0-rc.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^37.0.0-rc.0", | ||
"@ckeditor/ckeditor5-core": "^37.0.0-rc.0", | ||
"@ckeditor/ckeditor5-engine": "^37.0.0-rc.0", | ||
"@types/lodash-es": "^4.17.6", | ||
@@ -29,3 +29,3 @@ "typescript": "^4.8.4" | ||
"engines": { | ||
"node": ">=14.0.0", | ||
"node": ">=16.0.0", | ||
"npm": ">=5.7.1" | ||
@@ -32,0 +32,0 @@ }, |
@@ -13,3 +13,3 @@ /** | ||
* Mixin that injects the DOM events API into its host. It provides the API | ||
* compatible with {@link module:utils/emittermixin~EmitterMixin}. | ||
* compatible with {@link module:utils/emittermixin~Emitter}. | ||
* | ||
@@ -39,3 +39,3 @@ * This function creates a class that inherits from the provided `base` and implements `Emitter` interface. | ||
* Mixin that injects the DOM events API into its host. It provides the API | ||
* compatible with {@link module:utils/emittermixin~EmitterMixin}. | ||
* compatible with {@link module:utils/emittermixin~Emitter}. | ||
* | ||
@@ -42,0 +42,0 @@ * This function creates a class that implements `Emitter` interface. |
@@ -58,3 +58,3 @@ /** | ||
* | ||
* Can be easily implemented by a class by mixing the {@link module:utils/emittermixin~EmitterMixin} mixin. | ||
* Can be easily implemented by a class by mixing the {@link module:utils/emittermixin~Emitter} mixin. | ||
* | ||
@@ -61,0 +61,0 @@ * ```ts |
@@ -80,2 +80,6 @@ /** | ||
/** | ||
* Stops listening to `keydown` events from the given emitter. | ||
*/ | ||
stopListening(emitter?: Emitter | HTMLElement | Window): void; | ||
/** | ||
* Destroys the keystroke handler. | ||
@@ -82,0 +86,0 @@ */ |
@@ -111,7 +111,13 @@ /** | ||
/** | ||
* Stops listening to `keydown` events from the given emitter. | ||
*/ | ||
stopListening(emitter) { | ||
this._listener.stopListening(emitter); | ||
} | ||
/** | ||
* Destroys the keystroke handler. | ||
*/ | ||
destroy() { | ||
this._listener.stopListening(); | ||
this.stopListening(); | ||
} | ||
} |
@@ -58,3 +58,3 @@ /** | ||
* | ||
* Can be easily implemented by a class by mixing the {@link module:utils/observablemixin~ObservableMixin} mixin. | ||
* Can be easily implemented by a class by mixing the {@link module:utils/observablemixin~Observable} mixin. | ||
* | ||
@@ -61,0 +61,0 @@ * ```ts |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
declare const version = "37.0.0-alpha.2"; | ||
declare const version = "37.0.0-rc.0"; | ||
export default version; | ||
@@ -8,0 +8,0 @@ declare global { |
@@ -10,3 +10,3 @@ /** | ||
import CKEditorError from './ckeditorerror'; | ||
const version = '37.0.0-alpha.2'; | ||
const version = '37.0.0-rc.0'; | ||
export default version; | ||
@@ -13,0 +13,0 @@ /* istanbul ignore next */ |
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
418380
10014