@ckeditor/ckeditor5-utils 40.2.0 → 41.0.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.
Files changed (135) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/LICENSE.md +1 -1
  3. package/package.json +2 -1
  4. package/src/abortabledebounce.d.ts +1 -1
  5. package/src/abortabledebounce.js +1 -1
  6. package/src/areconnectedthroughproperties.d.ts +1 -1
  7. package/src/areconnectedthroughproperties.js +1 -1
  8. package/src/ckeditorerror.d.ts +1 -1
  9. package/src/ckeditorerror.js +1 -1
  10. package/src/collection.d.ts +3 -3
  11. package/src/collection.js +5 -5
  12. package/src/comparearrays.d.ts +1 -1
  13. package/src/comparearrays.js +1 -1
  14. package/src/config.d.ts +1 -1
  15. package/src/config.js +1 -1
  16. package/src/count.d.ts +1 -1
  17. package/src/count.js +1 -1
  18. package/src/delay.d.ts +1 -1
  19. package/src/delay.js +1 -1
  20. package/src/diff.d.ts +2 -2
  21. package/src/diff.js +2 -2
  22. package/src/difftochanges.d.ts +2 -2
  23. package/src/difftochanges.js +1 -1
  24. package/src/dom/createelement.d.ts +1 -1
  25. package/src/dom/createelement.js +2 -2
  26. package/src/dom/emittermixin.d.ts +4 -4
  27. package/src/dom/emittermixin.js +5 -5
  28. package/src/dom/findclosestscrollableancestor.d.ts +1 -1
  29. package/src/dom/findclosestscrollableancestor.js +2 -2
  30. package/src/dom/getancestors.d.ts +1 -1
  31. package/src/dom/getancestors.js +1 -1
  32. package/src/dom/getborderwidths.d.ts +1 -1
  33. package/src/dom/getborderwidths.js +1 -1
  34. package/src/dom/getcommonancestor.d.ts +1 -1
  35. package/src/dom/getcommonancestor.js +2 -2
  36. package/src/dom/getdatafromelement.d.ts +1 -1
  37. package/src/dom/getdatafromelement.js +1 -1
  38. package/src/dom/getpositionedancestor.d.ts +1 -1
  39. package/src/dom/getpositionedancestor.js +2 -2
  40. package/src/dom/global.d.ts +1 -1
  41. package/src/dom/global.js +1 -1
  42. package/src/dom/indexof.d.ts +1 -1
  43. package/src/dom/indexof.js +1 -1
  44. package/src/dom/insertat.d.ts +1 -1
  45. package/src/dom/insertat.js +1 -1
  46. package/src/dom/iscomment.d.ts +1 -1
  47. package/src/dom/iscomment.js +1 -1
  48. package/src/dom/isnode.d.ts +1 -1
  49. package/src/dom/isnode.js +1 -1
  50. package/src/dom/isrange.d.ts +1 -1
  51. package/src/dom/isrange.js +1 -1
  52. package/src/dom/istext.d.ts +1 -1
  53. package/src/dom/istext.js +1 -1
  54. package/src/dom/isvalidattributename.d.ts +1 -1
  55. package/src/dom/isvalidattributename.js +2 -2
  56. package/src/dom/isvisible.d.ts +1 -1
  57. package/src/dom/isvisible.js +1 -1
  58. package/src/dom/iswindow.d.ts +1 -1
  59. package/src/dom/iswindow.js +1 -1
  60. package/src/dom/position.d.ts +7 -7
  61. package/src/dom/position.js +4 -4
  62. package/src/dom/rect.d.ts +1 -1
  63. package/src/dom/rect.js +7 -7
  64. package/src/dom/remove.d.ts +1 -1
  65. package/src/dom/remove.js +1 -1
  66. package/src/dom/resizeobserver.d.ts +1 -1
  67. package/src/dom/resizeobserver.js +4 -3
  68. package/src/dom/scroll.d.ts +1 -1
  69. package/src/dom/scroll.js +4 -4
  70. package/src/dom/setdatainelement.d.ts +1 -1
  71. package/src/dom/setdatainelement.js +1 -1
  72. package/src/dom/tounit.d.ts +1 -1
  73. package/src/dom/tounit.js +1 -1
  74. package/src/elementreplacer.d.ts +1 -1
  75. package/src/elementreplacer.js +1 -1
  76. package/src/emittermixin.d.ts +5 -5
  77. package/src/emittermixin.js +7 -7
  78. package/src/env.d.ts +1 -1
  79. package/src/env.js +1 -1
  80. package/src/eventinfo.d.ts +1 -1
  81. package/src/eventinfo.js +2 -2
  82. package/src/fastdiff.d.ts +3 -3
  83. package/src/fastdiff.js +1 -1
  84. package/src/first.d.ts +1 -1
  85. package/src/first.js +1 -1
  86. package/src/focustracker.d.ts +5 -5
  87. package/src/focustracker.js +4 -4
  88. package/src/index.d.ts +58 -58
  89. package/src/index.js +57 -57
  90. package/src/inserttopriorityarray.d.ts +2 -2
  91. package/src/inserttopriorityarray.js +2 -2
  92. package/src/isiterable.d.ts +1 -1
  93. package/src/isiterable.js +1 -1
  94. package/src/keyboard.d.ts +2 -2
  95. package/src/keyboard.js +3 -3
  96. package/src/keystrokehandler.d.ts +4 -4
  97. package/src/keystrokehandler.js +3 -3
  98. package/src/language.d.ts +1 -1
  99. package/src/language.js +1 -1
  100. package/src/locale.d.ts +3 -3
  101. package/src/locale.js +4 -4
  102. package/src/mapsequal.d.ts +1 -1
  103. package/src/mapsequal.js +1 -1
  104. package/src/mix.d.ts +1 -1
  105. package/src/mix.js +1 -1
  106. package/src/nth.d.ts +1 -1
  107. package/src/nth.js +1 -1
  108. package/src/objecttomap.d.ts +1 -1
  109. package/src/objecttomap.js +1 -1
  110. package/src/observablemixin.d.ts +3 -3
  111. package/src/observablemixin.js +3 -3
  112. package/src/priorities.d.ts +1 -1
  113. package/src/priorities.js +1 -1
  114. package/src/retry.d.ts +1 -1
  115. package/src/retry.js +2 -2
  116. package/src/splicearray.d.ts +1 -1
  117. package/src/splicearray.js +1 -1
  118. package/src/spy.d.ts +1 -1
  119. package/src/spy.js +1 -1
  120. package/src/toarray.d.ts +1 -1
  121. package/src/toarray.js +1 -1
  122. package/src/tomap.d.ts +1 -1
  123. package/src/tomap.js +3 -3
  124. package/src/translation-service.d.ts +1 -1
  125. package/src/translation-service.js +3 -3
  126. package/src/uid.d.ts +1 -1
  127. package/src/uid.js +1 -1
  128. package/src/unicode.d.ts +1 -1
  129. package/src/unicode.js +1 -1
  130. package/src/verifylicense.d.ts +1 -1
  131. package/src/verifylicense.js +2 -2
  132. package/src/version.d.ts +2 -2
  133. package/src/version.js +4 -4
  134. package/src/wait.d.ts +1 -1
  135. package/src/wait.js +1 -1
package/src/index.js CHANGED
@@ -1,63 +1,63 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils
7
7
  */
8
- export { default as env } from './env';
9
- export { default as diff } from './diff';
10
- export { default as fastDiff } from './fastdiff';
11
- export { default as diffToChanges } from './difftochanges';
12
- export { default as mix } from './mix';
13
- export { default as EmitterMixin } from './emittermixin';
14
- export { default as EventInfo } from './eventinfo';
15
- export { default as ObservableMixin } from './observablemixin';
16
- export { default as CKEditorError, logError, logWarning } from './ckeditorerror';
17
- export { default as ElementReplacer } from './elementreplacer';
18
- export { default as abortableDebounce } from './abortabledebounce';
19
- export { default as count } from './count';
20
- export { default as compareArrays } from './comparearrays';
21
- export { default as createElement } from './dom/createelement';
22
- export { default as Config } from './config';
23
- export { default as isIterable } from './isiterable';
24
- export { default as DomEmitterMixin } from './dom/emittermixin';
25
- export { default as findClosestScrollableAncestor } from './dom/findclosestscrollableancestor';
26
- export { default as global } from './dom/global';
27
- export { default as getAncestors } from './dom/getancestors';
28
- export { default as getDataFromElement } from './dom/getdatafromelement';
29
- export { default as getBorderWidths } from './dom/getborderwidths';
30
- export { default as isText } from './dom/istext';
31
- export { default as Rect } from './dom/rect';
32
- export { default as ResizeObserver } from './dom/resizeobserver';
33
- export { default as setDataInElement } from './dom/setdatainelement';
34
- export { default as toUnit } from './dom/tounit';
35
- export { default as indexOf } from './dom/indexof';
36
- export { default as insertAt } from './dom/insertat';
37
- export { default as isComment } from './dom/iscomment';
38
- export { default as isNode } from './dom/isnode';
39
- export { default as isRange } from './dom/isrange';
40
- export { default as isValidAttributeName } from './dom/isvalidattributename';
41
- export { default as isVisible } from './dom/isvisible';
42
- export { getOptimalPosition } from './dom/position';
43
- export { default as remove } from './dom/remove';
44
- export * from './dom/scroll';
45
- export * from './keyboard';
46
- export * from './language';
47
- export { default as Locale } from './locale';
48
- export { default as Collection } from './collection';
49
- export { default as first } from './first';
50
- export { default as FocusTracker } from './focustracker';
51
- export { default as KeystrokeHandler } from './keystrokehandler';
52
- export { default as toArray } from './toarray';
53
- export { default as toMap } from './tomap';
54
- export { default as priorities } from './priorities';
55
- export { default as retry, exponentialDelay } from './retry';
56
- export { default as insertToPriorityArray } from './inserttopriorityarray';
57
- export { default as spliceArray } from './splicearray';
58
- export { default as uid } from './uid';
59
- export { default as delay } from './delay';
60
- export { default as verifyLicense } from './verifylicense';
61
- export { default as wait } from './wait';
62
- export * from './unicode';
63
- export { default as version, releaseDate } from './version';
8
+ export { default as env } from './env.js';
9
+ export { default as diff } from './diff.js';
10
+ export { default as fastDiff } from './fastdiff.js';
11
+ export { default as diffToChanges } from './difftochanges.js';
12
+ export { default as mix } from './mix.js';
13
+ export { default as EmitterMixin } from './emittermixin.js';
14
+ export { default as EventInfo } from './eventinfo.js';
15
+ export { default as ObservableMixin } from './observablemixin.js';
16
+ export { default as CKEditorError, logError, logWarning } from './ckeditorerror.js';
17
+ export { default as ElementReplacer } from './elementreplacer.js';
18
+ export { default as abortableDebounce } from './abortabledebounce.js';
19
+ export { default as count } from './count.js';
20
+ export { default as compareArrays } from './comparearrays.js';
21
+ export { default as createElement } from './dom/createelement.js';
22
+ export { default as Config } from './config.js';
23
+ export { default as isIterable } from './isiterable.js';
24
+ export { default as DomEmitterMixin } from './dom/emittermixin.js';
25
+ export { default as findClosestScrollableAncestor } from './dom/findclosestscrollableancestor.js';
26
+ export { default as global } from './dom/global.js';
27
+ export { default as getAncestors } from './dom/getancestors.js';
28
+ export { default as getDataFromElement } from './dom/getdatafromelement.js';
29
+ export { default as getBorderWidths } from './dom/getborderwidths.js';
30
+ export { default as isText } from './dom/istext.js';
31
+ export { default as Rect } from './dom/rect.js';
32
+ export { default as ResizeObserver } from './dom/resizeobserver.js';
33
+ export { default as setDataInElement } from './dom/setdatainelement.js';
34
+ export { default as toUnit } from './dom/tounit.js';
35
+ export { default as indexOf } from './dom/indexof.js';
36
+ export { default as insertAt } from './dom/insertat.js';
37
+ export { default as isComment } from './dom/iscomment.js';
38
+ export { default as isNode } from './dom/isnode.js';
39
+ export { default as isRange } from './dom/isrange.js';
40
+ export { default as isValidAttributeName } from './dom/isvalidattributename.js';
41
+ export { default as isVisible } from './dom/isvisible.js';
42
+ export { getOptimalPosition } from './dom/position.js';
43
+ export { default as remove } from './dom/remove.js';
44
+ export * from './dom/scroll.js';
45
+ export * from './keyboard.js';
46
+ export * from './language.js';
47
+ export { default as Locale } from './locale.js';
48
+ export { default as Collection } from './collection.js';
49
+ export { default as first } from './first.js';
50
+ export { default as FocusTracker } from './focustracker.js';
51
+ export { default as KeystrokeHandler } from './keystrokehandler.js';
52
+ export { default as toArray } from './toarray.js';
53
+ export { default as toMap } from './tomap.js';
54
+ export { default as priorities } from './priorities.js';
55
+ export { default as retry, exponentialDelay } from './retry.js';
56
+ export { default as insertToPriorityArray } from './inserttopriorityarray.js';
57
+ export { default as spliceArray } from './splicearray.js';
58
+ export { default as uid } from './uid.js';
59
+ export { default as delay } from './delay.js';
60
+ export { default as verifyLicense } from './verifylicense.js';
61
+ export { default as wait } from './wait.js';
62
+ export * from './unicode.js';
63
+ export { default as version, releaseDate } from './version.js';
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { type PriorityString } from './priorities';
5
+ import { type PriorityString } from './priorities.js';
6
6
  /**
7
7
  * @module utils/inserttopriorityarray
8
8
  */
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import priorities from './priorities';
5
+ import priorities from './priorities.js';
6
6
  /**
7
7
  * Inserts any object with priority at correct index by priority so registered objects are always sorted from highest to lowest priority.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/isiterable.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/keyboard.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * @module utils/keyboard
9
9
  */
10
- import type { LanguageDirection } from './language';
10
+ import type { LanguageDirection } from './language.js';
11
11
  /**
12
12
  * An object with `keyName => keyCode` pairs for a set of known keys.
13
13
  *
package/src/keyboard.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import CKEditorError from './ckeditorerror';
6
- import env from './env';
5
+ import CKEditorError from './ckeditorerror.js';
6
+ import env from './env.js';
7
7
  const modifiersToGlyphsMac = {
8
8
  ctrl: '⌃',
9
9
  cmd: '⌘',
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import type { Emitter } from './emittermixin';
6
- import { type KeystrokeInfo } from './keyboard';
7
- import type { PriorityString } from './priorities';
5
+ import type { Emitter } from './emittermixin.js';
6
+ import { type KeystrokeInfo } from './keyboard.js';
7
+ import type { PriorityString } from './priorities.js';
8
8
  /**
9
9
  * Keystroke handler allows registering callbacks for given keystrokes.
10
10
  *
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/keystrokehandler
7
7
  */
8
- import DomEmitterMixin from './dom/emittermixin';
9
- import { getCode, parseKeystroke } from './keyboard';
8
+ import DomEmitterMixin from './dom/emittermixin.js';
9
+ import { getCode, parseKeystroke } from './keyboard.js';
10
10
  /**
11
11
  * Keystroke handler allows registering callbacks for given keystrokes.
12
12
  *
package/src/language.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/language.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  const RTL_LANGUAGE_CODES = [
package/src/locale.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- import { type Message } from './translation-service';
6
- import { type LanguageDirection } from './language';
5
+ import { type Message } from './translation-service.js';
6
+ import { type LanguageDirection } from './language.js';
7
7
  /**
8
8
  * Represents the localization services.
9
9
  */
package/src/locale.js CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/locale
7
7
  */
8
8
  /* globals console */
9
- import toArray from './toarray';
10
- import { _translate } from './translation-service';
11
- import { getLanguageDirection } from './language';
9
+ import toArray from './toarray.js';
10
+ import { _translate } from './translation-service.js';
11
+ import { getLanguageDirection } from './language.js';
12
12
  /**
13
13
  * Represents the localization services.
14
14
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/mapsequal.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/mix.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/mix.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/nth.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/nth.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/observablemixin
7
7
  */
8
- import { type Emitter } from './emittermixin';
9
- import type { Constructor, Mixed } from './mix';
8
+ import { type Emitter } from './emittermixin.js';
9
+ import type { Constructor, Mixed } from './mix.js';
10
10
  /**
11
11
  * A mixin that injects the "observable properties" and data binding functionality described in the
12
12
  * {@link ~Observable} interface.
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /* eslint-disable @typescript-eslint/unified-signatures */
6
6
  /**
7
7
  * @module utils/observablemixin
8
8
  */
9
- import EmitterMixin from './emittermixin';
10
- import CKEditorError from './ckeditorerror';
9
+ import EmitterMixin from './emittermixin.js';
10
+ import CKEditorError from './ckeditorerror.js';
11
11
  import { isObject } from 'lodash-es';
12
12
  const observablePropertiesSymbol = Symbol('observableProperties');
13
13
  const boundObservablesSymbol = Symbol('boundObservables');
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/priorities.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/retry.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/retry.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/retry
7
7
  */
8
- import wait from './wait';
8
+ import wait from './wait.js';
9
9
  /**
10
10
  * Tries calling the given callback until it sucessfully resolves.
11
11
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/spy.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/spy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/toarray.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/toarray.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  export default function toArray(data) {
package/src/tomap.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/tomap.js CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/tomap
7
7
  */
8
- import objectToMap from './objecttomap';
9
- import isIterable from './isiterable';
8
+ import objectToMap from './objecttomap.js';
9
+ import isIterable from './isiterable.js';
10
10
  /**
11
11
  * Transforms object or iterable to map. Iterable needs to be in the format acceptable by the `Map` constructor.
12
12
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  declare global {
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /* eslint-disable no-var */
6
6
  /**
7
7
  * @module utils/translation-service
8
8
  */
9
- import CKEditorError from './ckeditorerror';
10
- import global from './dom/global';
9
+ import CKEditorError from './ckeditorerror.js';
10
+ import global from './dom/global.js';
11
11
  /* istanbul ignore else -- @preserve */
12
12
  if (!global.window.CKEDITOR_TRANSLATIONS) {
13
13
  global.window.CKEDITOR_TRANSLATIONS = {};
package/src/uid.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/uid.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/unicode.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
package/src/unicode.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/verifylicense
7
7
  */
8
- import { releaseDate } from './version';
8
+ import { releaseDate } from './version.js';
9
9
  /**
10
10
  * Checks whether the given string contains information that allows you to verify the license status.
11
11
  *
package/src/version.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
- declare const version = "40.2.0";
5
+ declare const version = "41.0.0";
6
6
  export default version;
7
7
  export declare const releaseDate: Date;
8
8
  declare global {
package/src/version.js CHANGED
@@ -1,15 +1,15 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module utils/version
7
7
  */
8
- import CKEditorError from './ckeditorerror';
9
- const version = '40.2.0';
8
+ import CKEditorError from './ckeditorerror.js';
9
+ const version = '41.0.0';
10
10
  export default version;
11
11
  // The second argument is not a month. It is `monthIndex` and starts from `0`.
12
- export const releaseDate = new Date(2023, 11, 12);
12
+ export const releaseDate = new Date(2024, 0, 17);
13
13
  /* istanbul ignore next -- @preserve */
14
14
  if (globalThis.CKEDITOR_VERSION) {
15
15
  /**
package/src/wait.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**