@ckeditor/ckeditor5-watchdog 45.2.1 → 46.0.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/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/contextwatchdog.d.ts +6 -6
- package/src/contextwatchdog.js +5 -5
- package/src/editorwatchdog.d.ts +8 -5
- package/src/editorwatchdog.js +3 -3
- package/src/index.d.ts +4 -3
- package/src/index.js +3 -3
- package/src/utils/areconnectedthroughproperties.d.ts +3 -1
- package/src/utils/areconnectedthroughproperties.js +4 -2
- package/src/utils/getsubnodes.d.ts +4 -1
- package/src/utils/getsubnodes.js +4 -1
- package/src/watchdog.d.ts +7 -7
- package/src/watchdog.js +1 -1
package/dist/index.js
CHANGED
|
@@ -192,6 +192,8 @@ import { throttle, isElement, cloneDeepWith } from 'es-toolkit/compat';
|
|
|
192
192
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
193
193
|
*/ /**
|
|
194
194
|
* @module watchdog/utils/getsubnodes
|
|
195
|
+
*/ /**
|
|
196
|
+
* @internal
|
|
195
197
|
*/ function getSubNodes(head, excludedProperties = new Set()) {
|
|
196
198
|
const nodes = [
|
|
197
199
|
head
|
|
@@ -252,6 +254,8 @@ function shouldNodeBeIncluded(node) {
|
|
|
252
254
|
|
|
253
255
|
/**
|
|
254
256
|
* Traverses both structures to find out whether there is a reference that is shared between both structures.
|
|
257
|
+
*
|
|
258
|
+
* @internal
|
|
255
259
|
*/ function areConnectedThroughProperties(target1, target2, excludedNodes = new Set()) {
|
|
256
260
|
if (target1 === target2 && isObject(target1)) {
|
|
257
261
|
return true;
|