@ckeditor/ckeditor5-watchdog 40.2.0 → 41.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/LICENSE.md +1 -1
- package/package.json +2 -1
- package/src/augmentation.d.ts +2 -2
- package/src/augmentation.js +1 -1
- package/src/contextwatchdog.d.ts +5 -5
- package/src/contextwatchdog.js +5 -5
- package/src/editorwatchdog.d.ts +4 -4
- package/src/editorwatchdog.js +3 -3
- package/src/index.d.ts +5 -5
- package/src/index.js +5 -5
- package/src/utils/areconnectedthroughproperties.d.ts +1 -1
- package/src/utils/areconnectedthroughproperties.js +2 -2
- package/src/utils/getsubnodes.d.ts +1 -1
- package/src/utils/getsubnodes.js +1 -1
- package/src/watchdog.d.ts +4 -4
- package/src/watchdog.js +1 -1
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 watchdog feature** – https://github.com/ckeditor/ckeditor5-watchdog <br>
|
|
5
|
-
Copyright (c) 2003–
|
|
5
|
+
Copyright (c) 2003–2024, [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).
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-watchdog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "41.1.0",
|
|
4
4
|
"description": "A watchdog feature for CKEditor 5 editors. It keeps a CKEditor 5 editor instance running.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"ckeditor5-lib",
|
|
10
10
|
"ckeditor5-dll"
|
|
11
11
|
],
|
|
12
|
+
"type": "module",
|
|
12
13
|
"main": "src/index.js",
|
|
13
14
|
"dependencies": {
|
|
14
15
|
"lodash-es": "4.17.21"
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 { EditorData } from './editorwatchdog';
|
|
5
|
+
import type { EditorData } from './editorwatchdog.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
package/src/augmentation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 {};
|
package/src/contextwatchdog.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 watchdog/contextwatchdog
|
|
7
7
|
*/
|
|
8
|
-
import type { Context, Editor, EditorConfig, ContextConfig } from 'ckeditor5/src/core';
|
|
9
|
-
import type { ArrayOrItem, CKEditorError } from 'ckeditor5/src/utils';
|
|
10
|
-
import Watchdog, { type WatchdogConfig, type WatchdogState } from './watchdog';
|
|
11
|
-
import EditorWatchdog, { type EditorCreatorFunction } from './editorwatchdog';
|
|
8
|
+
import type { Context, Editor, EditorConfig, ContextConfig } from 'ckeditor5/src/core.js';
|
|
9
|
+
import type { ArrayOrItem, CKEditorError } from 'ckeditor5/src/utils.js';
|
|
10
|
+
import Watchdog, { type WatchdogConfig, type WatchdogState } from './watchdog.js';
|
|
11
|
+
import EditorWatchdog, { type EditorCreatorFunction } from './editorwatchdog.js';
|
|
12
12
|
/**
|
|
13
13
|
* A watchdog for the {@link module:core/context~Context} class.
|
|
14
14
|
*
|
package/src/contextwatchdog.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 Watchdog from './watchdog';
|
|
6
|
-
import EditorWatchdog from './editorwatchdog';
|
|
7
|
-
import areConnectedThroughProperties from './utils/areconnectedthroughproperties';
|
|
8
|
-
import getSubNodes from './utils/getsubnodes';
|
|
5
|
+
import Watchdog from './watchdog.js';
|
|
6
|
+
import EditorWatchdog from './editorwatchdog.js';
|
|
7
|
+
import areConnectedThroughProperties from './utils/areconnectedthroughproperties.js';
|
|
8
|
+
import getSubNodes from './utils/getsubnodes.js';
|
|
9
9
|
const mainQueueId = Symbol('MainQueueId');
|
|
10
10
|
/**
|
|
11
11
|
* A watchdog for the {@link module:core/context~Context} class.
|
package/src/editorwatchdog.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 watchdog/editorwatchdog
|
|
7
7
|
*/
|
|
8
|
-
import type { CKEditorError } from 'ckeditor5/src/utils';
|
|
9
|
-
import type { Editor, EditorConfig, Context } from 'ckeditor5/src/core';
|
|
10
|
-
import Watchdog, { type WatchdogConfig } from './watchdog';
|
|
8
|
+
import type { CKEditorError } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import type { Editor, EditorConfig, Context } from 'ckeditor5/src/core.js';
|
|
10
|
+
import Watchdog, { type WatchdogConfig } from './watchdog.js';
|
|
11
11
|
/**
|
|
12
12
|
* A watchdog for CKEditor 5 editors.
|
|
13
13
|
*
|
package/src/editorwatchdog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 areConnectedThroughProperties from './utils/areconnectedthroughproperties';
|
|
6
|
-
import Watchdog from './watchdog';
|
|
5
|
+
import areConnectedThroughProperties from './utils/areconnectedthroughproperties.js';
|
|
6
|
+
import Watchdog from './watchdog.js';
|
|
7
7
|
import { throttle, cloneDeepWith, isElement } from 'lodash-es';
|
|
8
8
|
/**
|
|
9
9
|
* A watchdog for CKEditor 5 editors.
|
package/src/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 watchdog
|
|
7
7
|
*/
|
|
8
|
-
export { default as ContextWatchdog } from './contextwatchdog';
|
|
9
|
-
export { default as EditorWatchdog } from './editorwatchdog';
|
|
10
|
-
export { default as Watchdog } from './watchdog';
|
|
11
|
-
import './augmentation';
|
|
8
|
+
export { default as ContextWatchdog } from './contextwatchdog.js';
|
|
9
|
+
export { default as EditorWatchdog } from './editorwatchdog.js';
|
|
10
|
+
export { default as Watchdog } from './watchdog.js';
|
|
11
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 watchdog
|
|
7
7
|
*/
|
|
8
|
-
export { default as ContextWatchdog } from './contextwatchdog';
|
|
9
|
-
export { default as EditorWatchdog } from './editorwatchdog';
|
|
10
|
-
export { default as Watchdog } from './watchdog';
|
|
11
|
-
import './augmentation';
|
|
8
|
+
export { default as ContextWatchdog } from './contextwatchdog.js';
|
|
9
|
+
export { default as EditorWatchdog } from './editorwatchdog.js';
|
|
10
|
+
export { default as Watchdog } from './watchdog.js';
|
|
11
|
+
import './augmentation.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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-
|
|
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 watchdog/utils/areconnectedthroughproperties
|
|
7
7
|
*/
|
|
8
8
|
/* globals console */
|
|
9
|
-
import getSubNodes from './getsubnodes';
|
|
9
|
+
import getSubNodes from './getsubnodes.js';
|
|
10
10
|
/**
|
|
11
11
|
* Traverses both structures to find out whether there is a reference that is shared between both structures.
|
|
12
12
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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/utils/getsubnodes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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/watchdog.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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 watchdog/watchdog
|
|
7
7
|
*/
|
|
8
|
-
import type { CKEditorError } from 'ckeditor5/src/utils';
|
|
9
|
-
import type { EditorWatchdogRestartEvent } from './editorwatchdog';
|
|
10
|
-
import type { ContextWatchdogItemErrorEvent, ContextWatchdogItemRestartEvent } from './contextwatchdog';
|
|
8
|
+
import type { CKEditorError } from 'ckeditor5/src/utils.js';
|
|
9
|
+
import type { EditorWatchdogRestartEvent } from './editorwatchdog.js';
|
|
10
|
+
import type { ContextWatchdogItemErrorEvent, ContextWatchdogItemRestartEvent } from './contextwatchdog.js';
|
|
11
11
|
/**
|
|
12
12
|
* An abstract watchdog class that handles most of the error handling process and the state of the underlying component.
|
|
13
13
|
*
|
package/src/watchdog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
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
|
/**
|