xml-twig 1.2.85 → 1.2.86

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/doc/twig.md CHANGED
@@ -1517,8 +1517,9 @@ Custom filter function to specify when handler shall be called
1517
1517
 
1518
1518
  **Kind**: global typedef
1519
1519
  **Returns**: <code>boolean</code> - If the function returns `true`, then it is included in the filter
1520
+ **Properties**
1520
1521
 
1521
- | Param | Type | Description |
1522
+ | Name | Type | Description |
1522
1523
  | --- | --- | --- |
1523
1524
  | name | <code>string</code> | Name of the element |
1524
1525
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "name": "xml-twig",
7
7
  "description": "Node module for processing huge XML documents in tree mode",
8
- "version": "1.2.85",
8
+ "version": "1.2.86",
9
9
  "main": "twig.js",
10
10
  "directories": {
11
11
  "doc": "doc"
package/twig.js CHANGED
@@ -41,9 +41,9 @@ const Any = new AnyHandler();
41
41
  * Element can be specified as string, Regular Expression, custom function, `Twig.Root` or `Twig.Any`<br>
42
42
  * You can specify a `function` or a `event` name
43
43
  * @typedef TwigHandler
44
- * @property {HandlerCondition} tag - Element specification
44
+ * @property {?HandlerCondition} tag - Element specification
45
45
  * @property {HandlerFunction} [function] - Definition of handler function, either anonymous or explicit function
46
- * @property {string} [event] - Type of the event to be emitted
46
+ * @property {?string} [event] - Type of the event to be emitted
47
47
  */
48
48
 
49
49
  /**
@@ -65,8 +65,8 @@ const Any = new AnyHandler();
65
65
 
66
66
  /**
67
67
  * Custom filter function to specify when handler shall be called
68
- * @typedef {function} HandlerConditionFilter
69
- * @param {string} name - Name of the element
68
+ * @typedef HandlerConditionFilter
69
+ * @property {string} name - Name of the element
70
70
  * @returns {boolean} If the function returns `true`, then it is included in the filter
71
71
  */
72
72
 
package/twig.md ADDED
File without changes