@ckeditor/ckeditor5-watchdog 38.2.0-alpha.0 → 38.2.0-alpha.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-watchdog",
3
- "version": "38.2.0-alpha.0",
3
+ "version": "38.2.0-alpha.1",
4
4
  "description": "A watchdog feature for CKEditor 5 editors. It keeps a CKEditor 5 editor instance running.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -5,10 +5,10 @@
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
  *
@@ -2,10 +2,10 @@
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
- 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.
@@ -5,9 +5,9 @@
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
  *
@@ -2,8 +2,8 @@
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
- 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
@@ -5,6 +5,6 @@
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';
8
+ export { default as ContextWatchdog } from './contextwatchdog.js';
9
+ export { default as EditorWatchdog } from './editorwatchdog.js';
10
+ export { default as Watchdog } from './watchdog.js';
package/src/index.js CHANGED
@@ -5,6 +5,6 @@
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';
8
+ export { default as ContextWatchdog } from './contextwatchdog.js';
9
+ export { default as EditorWatchdog } from './editorwatchdog.js';
10
+ export { default as Watchdog } from './watchdog.js';
@@ -6,7 +6,7 @@
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
  */
package/src/watchdog.d.ts CHANGED
@@ -5,9 +5,9 @@
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
  *