@ckeditor/ckeditor5-utils 37.0.0 → 37.1.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 +5 -5
- package/src/dom/global.js +1 -1
- package/src/emittermixin.js +1 -1
- package/src/translation-service.js +1 -1
- package/src/version.d.ts +1 -1
- package/src/version.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-utils",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.1.0",
|
|
4
4
|
"description": "Miscellaneous utilities used by CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"lodash-es": "^4.17.15"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@ckeditor/ckeditor5-build-classic": "^37.
|
|
18
|
-
"@ckeditor/ckeditor5-editor-classic": "^37.
|
|
19
|
-
"@ckeditor/ckeditor5-core": "^37.
|
|
20
|
-
"@ckeditor/ckeditor5-engine": "^37.
|
|
17
|
+
"@ckeditor/ckeditor5-build-classic": "^37.1.0",
|
|
18
|
+
"@ckeditor/ckeditor5-editor-classic": "^37.1.0",
|
|
19
|
+
"@ckeditor/ckeditor5-core": "^37.1.0",
|
|
20
|
+
"@ckeditor/ckeditor5-engine": "^37.1.0",
|
|
21
21
|
"@types/lodash-es": "^4.17.6",
|
|
22
22
|
"typescript": "^4.8.4"
|
|
23
23
|
},
|
package/src/dom/global.js
CHANGED
|
@@ -25,7 +25,7 @@ try {
|
|
|
25
25
|
}
|
|
26
26
|
catch (e) {
|
|
27
27
|
// It's not possible to mock a window object to simulate lack of a window object without writing extremely convoluted code.
|
|
28
|
-
/* istanbul ignore next */
|
|
28
|
+
/* istanbul ignore next -- @preserve */
|
|
29
29
|
// Let's cast it to not change module's API.
|
|
30
30
|
// We only handle this so loading editor in environments without window and document doesn't fail.
|
|
31
31
|
// For better DX we shouldn't introduce mixed types and require developers to check the type manually.
|
package/src/emittermixin.js
CHANGED
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 = "37.
|
|
5
|
+
declare const version = "37.1.0";
|
|
6
6
|
export default version;
|
|
7
7
|
declare global {
|
|
8
8
|
var CKEDITOR_VERSION: string;
|
package/src/version.js
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
/* globals window, global */
|
|
9
9
|
import CKEditorError from './ckeditorerror';
|
|
10
|
-
const version = '37.
|
|
10
|
+
const version = '37.1.0';
|
|
11
11
|
export default version;
|
|
12
|
-
/* istanbul ignore next */
|
|
12
|
+
/* istanbul ignore next -- @preserve */
|
|
13
13
|
const windowOrGlobal = typeof window === 'object' ? window : global;
|
|
14
|
-
/* istanbul ignore next */
|
|
14
|
+
/* istanbul ignore next -- @preserve */
|
|
15
15
|
if (windowOrGlobal.CKEDITOR_VERSION) {
|
|
16
16
|
/**
|
|
17
17
|
* This error is thrown when due to a mistake in how CKEditor 5 was installed or initialized, some
|