@ckeditor/ckeditor5-utils 47.7.3 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/emittermixin.js +5 -2
- package/src/version.d.ts +1 -1
- package/src/version.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-utils",
|
|
3
|
-
"version": "47.7.
|
|
3
|
+
"version": "47.7.5-alpha.0",
|
|
4
4
|
"description": "Miscellaneous utilities used by CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "src/index.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ckeditor/ckeditor5-ui": "47.7.
|
|
16
|
-
"es-toolkit": "1.
|
|
15
|
+
"@ckeditor/ckeditor5-ui": "47.7.5-alpha.0",
|
|
16
|
+
"es-toolkit": "1.52.0"
|
|
17
17
|
},
|
|
18
18
|
"author": "CKSource (http://cksource.com/)",
|
|
19
19
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/emittermixin.js
CHANGED
|
@@ -344,8 +344,11 @@ function createEventNamespace(source, eventName) {
|
|
|
344
344
|
events[name].childEvents.push(childEventName);
|
|
345
345
|
}
|
|
346
346
|
childEventName = name;
|
|
347
|
-
//
|
|
348
|
-
|
|
347
|
+
// Truncate to the parent namespace. Do not use `substr( 0, lastIndexOf( ':' ) )`:
|
|
348
|
+
// when there is no `:`, `lastIndexOf` is -1 and some JSC builds (Safari 27 x86_64)
|
|
349
|
+
// miscompile `substr` with a negative length, returning the original string instead of `''`.
|
|
350
|
+
const colonIndex = name.lastIndexOf(':');
|
|
351
|
+
name = colonIndex > -1 ? name.substring(0, colonIndex) : '';
|
|
349
352
|
}
|
|
350
353
|
if (name !== '') {
|
|
351
354
|
// If name is not empty, we found an already registered event that was a parent of the
|
package/src/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
export declare const version = "47.7.
|
|
5
|
+
export declare const version = "47.7.5-alpha.0";
|
|
6
6
|
export declare const releaseDate: Date;
|
|
7
7
|
declare global {
|
|
8
8
|
var CKEDITOR_VERSION: string;
|
package/src/version.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* @module utils/version
|
|
7
7
|
*/
|
|
8
8
|
import { CKEditorError } from './ckeditorerror.js';
|
|
9
|
-
export const version = '47.7.
|
|
9
|
+
export const version = '47.7.5-alpha.0';
|
|
10
10
|
// The second argument is not a month. It is `monthIndex` and starts from `0`.
|
|
11
|
-
export const releaseDate = new Date(2026,
|
|
11
|
+
export const releaseDate = new Date(2026, 8, 18);
|
|
12
12
|
/* istanbul ignore next -- @preserve */
|
|
13
13
|
if (globalThis.CKEDITOR_VERSION) {
|
|
14
14
|
/**
|