clientnode 4.0.1393 → 4.0.1394

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/domNode.d.ts CHANGED
@@ -14,9 +14,9 @@ export declare const getText: (root: Node, recursive?: boolean) => Array<string>
14
14
  /**
15
15
  * Checks whether given html or text strings are equal.
16
16
  * @param first - First html, selector to dom node or text to compare.
17
- * @param second - Second html, selector to dom node or text to compare.
17
+ * @param second - Second html, selector to dom node or text to compare.
18
18
  * @param forceHTMLString - Indicates whether given contents are
19
- * interpreted as html string (otherwise an automatic detection will be
19
+ * interpreted as html string (otherwise automatic detection will be
20
20
  * triggered).
21
21
  * @returns Returns true if both dom representations are equivalent.
22
22
  */
@@ -34,7 +34,7 @@ export declare const isEquivalent: (first: Node | string, second: Node | string,
34
34
  export declare const isHidden: (domNode: HTMLElement) => boolean;
35
35
  export declare const onDocumentReady: (callback?: () => void) => Promise<void>;
36
36
  /**
37
- * Replaces given dom node with given nodes.
37
+ * Replaces a given dom node with given nodes.
38
38
  * @param domNodeToReplace - Node to replace its children.
39
39
  * @param replacementDomNodes - Node or array of nodes to use as replacement.
40
40
  * @param skipEmptyTextNodes - Configures whether to trim text.
@@ -42,7 +42,8 @@ export declare const onDocumentReady: (callback?: () => void) => Promise<void>;
42
42
  export declare const replace: (domNodeToReplace: HTMLElement, replacementDomNodes: Array<Node> | Node, skipEmptyTextNodes?: boolean) => void;
43
43
  export declare const wrap: (domNodes: Node | NodeListOf<Node>, wrapper: HTMLElement) => void;
44
44
  /**
45
- * Moves content of given dom node one level up and removes given node.
45
+ * Moves the content of a given dom node one level up and removes the given
46
+ * node.
46
47
  * @param domNode - Node to unwrap.
47
48
  * @returns List of unwrapped nodes.
48
49
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "4.0.1393",
3
+ "version": "4.0.1394",
4
4
  "description": "upgrade to object orientated rock solid plugins",
5
5
  "keywords": [
6
6
  "client",