@ckeditor/ckeditor5-utils 39.0.1 → 39.0.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/CHANGELOG.md CHANGED
@@ -93,13 +93,13 @@ Internal changes only (updated dependencies, documentation, etc.).
93
93
  ### Other changes
94
94
 
95
95
  * The issue tracker for this package was moved to https://github.com/ckeditor/ckeditor5/issues. See [ckeditor/ckeditor5#1988](https://github.com/ckeditor/ckeditor5/issues/1988). ([71469ac](https://github.com/ckeditor/ckeditor5-utils/commit/71469ac))
96
- * Removed the CKEditor 5 logger and its usage. Part of [ckeditor/ckeditor5#383](https://github.com/ckeditor/ckeditor5/issues/383). ([584ef1d](https://github.com/ckeditor/ckeditor5-utils/commit/584ef1d))
96
+ * Removed the CKEditor 5 logger and its usage. Part of [ckeditor/ckeditor5#383](https://github.com/ckeditor/ckeditor5/issues/383). ([584ef1d](https://github.com/ckeditor/ckeditor5-utils/commit/584ef1d))
97
97
 
98
98
  ### BREAKING CHANGES
99
99
 
100
100
  * The`Locale()` constructor arguments syntax has changed. Please refer to the API documentation to learn more.
101
101
  * The `Locale#language` property has been deprecated by `Locale#uiLanguage`. Please refer to the API documentation to learn more.
102
- * Removed the CKEditor 5 logger utility.
102
+ * Removed the CKEditor 5 logger utility.
103
103
 
104
104
 
105
105
  ## [13.0.1](https://github.com/ckeditor/ckeditor5-utils/compare/v13.0.0...v13.0.1) (2019-07-10)
@@ -217,7 +217,7 @@ Internal changes only (updated dependencies, documentation, etc.).
217
217
 
218
218
  ### BREAKING CHANGES
219
219
 
220
- * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
220
+ * The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
221
221
 
222
222
 
223
223
  ## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-utils/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018-04-19)
package/LICENSE.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Software License Agreement
2
2
  ==========================
3
3
 
4
- **CKEditor 5 utilities** – https://github.com/ckeditor/ckeditor5-utils <br>
4
+ **CKEditor&nbsp;5 utilities** – https://github.com/ckeditor/ckeditor5-utils <br>
5
5
  Copyright (c) 2003-2023, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
6
6
 
7
7
  Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
package/README.md CHANGED
@@ -1,15 +1,15 @@
1
- CKEditor 5 utilities
1
+ CKEditor&nbsp;5 utilities
2
2
  ========================================
3
3
 
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-utils.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-utils)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
6
  [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
7
 
8
- Various utilities used by CKEditor 5 and its features. This is a sort of CKEditor 5's standard library.
8
+ Various utilities used by CKEditor&nbsp;5 and its features. This is a sort of CKEditor&nbsp;5's standard library.
9
9
 
10
10
  ## Documentation
11
11
 
12
- See the [`@ckeditor/ckeditor5-utils` package](https://ckeditor.com/docs/ckeditor5/latest/api/utils.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
12
+ See the [`@ckeditor/ckeditor5-utils` package](https://ckeditor.com/docs/ckeditor5/latest/api/utils.html) page in [CKEditor&nbsp;5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
13
13
 
14
14
  ## License
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-utils",
3
- "version": "39.0.1",
3
+ "version": "39.0.2",
4
4
  "description": "Miscellaneous utilities used by CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,10 +13,6 @@
13
13
  "dependencies": {
14
14
  "lodash-es": "4.17.21"
15
15
  },
16
- "engines": {
17
- "node": ">=16.0.0",
18
- "npm": ">=5.7.1"
19
- },
20
16
  "author": "CKSource (http://cksource.com/)",
21
17
  "license": "GPL-2.0-or-later",
22
18
  "homepage": "https://ckeditor.com/ckeditor-5",
@@ -2,9 +2,6 @@
2
2
  * @license Copyright (c) 2003-2023, 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
- /**
6
- * @module utils/dom/getelementsintersectionrect
7
- */
8
5
  import Rect from './rect';
9
6
  /**
10
7
  * Calculates the intersection `Rect` of a given set of elements (and/or a `document`).
@@ -5,6 +5,7 @@
5
5
  /**
6
6
  * @module utils/dom/getelementsintersectionrect
7
7
  */
8
+ import global from './global';
8
9
  import Rect from './rect';
9
10
  /**
10
11
  * Calculates the intersection `Rect` of a given set of elements (and/or a `document`).
package/src/version.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @license Copyright (c) 2003-2023, 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 = "39.0.1";
5
+ declare const version = "39.0.2";
6
6
  export default version;
7
7
  export declare const releaseDate: Date;
8
8
  declare global {
package/src/version.js CHANGED
@@ -5,16 +5,13 @@
5
5
  /**
6
6
  * @module utils/version
7
7
  */
8
- /* globals window, global */
9
8
  import CKEditorError from './ckeditorerror';
10
- const version = '39.0.1';
9
+ const version = '39.0.2';
11
10
  export default version;
12
11
  // The second argument is not a month. It is `monthIndex` and starts from `0`.
13
- export const releaseDate = new Date(2023, 7, 10);
12
+ export const releaseDate = new Date(2023, 8, 6);
14
13
  /* istanbul ignore next -- @preserve */
15
- const windowOrGlobal = typeof window === 'object' ? window : global;
16
- /* istanbul ignore next -- @preserve */
17
- if (windowOrGlobal.CKEDITOR_VERSION) {
14
+ if (globalThis.CKEDITOR_VERSION) {
18
15
  /**
19
16
  * This error is thrown when due to a mistake in how CKEditor 5 was installed or initialized, some
20
17
  * of its modules were duplicated (evaluated and executed twice). Module duplication leads to inevitable runtime
@@ -152,5 +149,5 @@ if (windowOrGlobal.CKEDITOR_VERSION) {
152
149
  throw new CKEditorError('ckeditor-duplicated-modules', null);
153
150
  }
154
151
  else {
155
- windowOrGlobal.CKEDITOR_VERSION = version;
152
+ globalThis.CKEDITOR_VERSION = version;
156
153
  }