@ckeditor/ckeditor5-utils 47.7.1 → 47.7.2-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-utils",
3
- "version": "47.7.1",
3
+ "version": "47.7.2-alpha.0",
4
4
  "description": "Miscellaneous utilities used by CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,7 +12,7 @@
12
12
  "type": "module",
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "@ckeditor/ckeditor5-ui": "47.7.1",
15
+ "@ckeditor/ckeditor5-ui": "47.7.2-alpha.0",
16
16
  "es-toolkit": "1.39.5"
17
17
  },
18
18
  "author": "CKSource (http://cksource.com/)",
package/src/diff.js CHANGED
@@ -33,7 +33,7 @@ export function diff(a, b, cmp) {
33
33
  };
34
34
  const aLength = a.length;
35
35
  const bLength = b.length;
36
- // Perform `fastDiff` for longer strings/arrays (see #269).
36
+ // Perform `fastDiff` for longer strings/arrays (see https://github.com/ckeditor/ckeditor5-utils/issues/269).
37
37
  if (aLength > 200 || bLength > 200 || aLength + bLength > 300) {
38
38
  return diff.fastDiff(a, b, cmp, true);
39
39
  }
package/src/fastdiff.js CHANGED
@@ -115,7 +115,7 @@ export function fastDiff(a, b, cmp, atomicChanges) {
115
115
  // Convert the string (or any array-like object - eg. NodeList) to an array by using the slice() method because,
116
116
  // unlike Array.from(), it returns array of UTF-16 code units instead of the code points of a string.
117
117
  // One code point might be a surrogate pair of two code units. All text offsets are expected to be in code units.
118
- // See ckeditor/ckeditor5#3147.
118
+ // See https://github.com/ckeditor/ckeditor5/issues/3147.
119
119
  //
120
120
  // We need to make sure here that fastDiff() works identical to diff().
121
121
  const arrayA = Array.isArray(a) ? a : Array.prototype.slice.call(a);
@@ -65,7 +65,8 @@ export function ObservableMixin(base) {
65
65
  if (newValue === undefined) {
66
66
  newValue = value;
67
67
  }
68
- // Allow undefined as an initial value like A.define( 'x', undefined ) (#132).
68
+ // Allow undefined as an initial value like A.define( 'x', undefined ).
69
+ // See https://github.com/ckeditor/ckeditor5/issues/132.
69
70
  // Note: When properties map has no such own property, then its value is undefined.
70
71
  if (oldValue !== newValue || !properties.has(name)) {
71
72
  properties.set(name, newValue);
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.1";
5
+ export declare const version = "47.7.2-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.1';
9
+ export const version = '47.7.2-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, 3, 23);
11
+ export const releaseDate = new Date(2026, 4, 15);
12
12
  /* istanbul ignore next -- @preserve */
13
13
  if (globalThis.CKEDITOR_VERSION) {
14
14
  /**