@ckeditor/ckeditor5-utils 47.7.1 → 47.7.2

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 CHANGED
@@ -297,7 +297,7 @@ const userAgent = /* #__PURE__ */ getUserAgent();
297
297
  // Convert the string (or any array-like object - eg. NodeList) to an array by using the slice() method because,
298
298
  // unlike Array.from(), it returns array of UTF-16 code units instead of the code points of a string.
299
299
  // One code point might be a surrogate pair of two code units. All text offsets are expected to be in code units.
300
- // See ckeditor/ckeditor5#3147.
300
+ // See https://github.com/ckeditor/ckeditor5/issues/3147.
301
301
  //
302
302
  // We need to make sure here that fastDiff() works identical to diff().
303
303
  const arrayA = Array.isArray(a) ? a : Array.prototype.slice.call(a);
@@ -456,7 +456,7 @@ const userAgent = /* #__PURE__ */ getUserAgent();
456
456
  };
457
457
  const aLength = a.length;
458
458
  const bLength = b.length;
459
- // Perform `fastDiff` for longer strings/arrays (see #269).
459
+ // Perform `fastDiff` for longer strings/arrays (see https://github.com/ckeditor/ckeditor5-utils/issues/269).
460
460
  if (aLength > 200 || bLength > 200 || aLength + bLength > 300) {
461
461
  return diff.fastDiff(a, b, cmp, true);
462
462
  }
@@ -987,9 +987,9 @@ function isObject(structure) {
987
987
  ];
988
988
  }
989
989
 
990
- const version = '47.7.1';
990
+ const version = '47.7.2';
991
991
  // The second argument is not a month. It is `monthIndex` and starts from `0`.
992
- const releaseDate = new Date(2026, 3, 23);
992
+ const releaseDate = new Date(2026, 4, 18);
993
993
  /* istanbul ignore next -- @preserve */ if (globalThis.CKEDITOR_VERSION) {
994
994
  /**
995
995
  * This error is thrown when, due to a mistake in the way CKEditor 5 was installed,
@@ -1619,7 +1619,8 @@ function ObservableMixin(base) {
1619
1619
  if (newValue === undefined) {
1620
1620
  newValue = value;
1621
1621
  }
1622
- // Allow undefined as an initial value like A.define( 'x', undefined ) (#132).
1622
+ // Allow undefined as an initial value like A.define( 'x', undefined ).
1623
+ // See https://github.com/ckeditor/ckeditor5/issues/132.
1623
1624
  // Note: When properties map has no such own property, then its value is undefined.
1624
1625
  if (oldValue !== newValue || !properties.has(name)) {
1625
1626
  properties.set(name, newValue);