xml-twig 1.2.86 → 1.2.88

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,9 +1517,8 @@ 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**
1521
1520
 
1522
- | Name | Type | Description |
1521
+ | Param | Type | Description |
1523
1522
  | --- | --- | --- |
1524
1523
  | name | <code>string</code> | Name of the element |
1525
1524
 
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "dependencies": {
3
- "sax": "^1.3.0",
4
- "xml-writer": "^1.7.0"
5
- },
6
- "name": "xml-twig",
7
- "description": "Node module for processing huge XML documents in tree mode",
8
- "version": "1.2.86",
9
- "main": "twig.js",
10
- "directories": {
11
- "doc": "doc"
12
- },
13
- "devDependencies": {
14
- "jsdoc-to-markdown": "^8.0.0",
15
- "luxon": "^2.1.1",
16
- "node-expat": "^2.4.0"
17
- },
18
- "scripts": {
19
- "test": "node demo.js"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/Wernfried/xml-twig.git"
24
- },
25
- "keywords": [
26
- "xml",
27
- "sax",
28
- "expat",
29
- "parser",
30
- "xml-reader"
31
- ],
32
- "author": "Wernfried Domscheit",
33
- "license": "ISC",
34
- "bugs": {
35
- "url": "https://github.com/Wernfried/xml-twig/issues"
36
- },
37
- "homepage": "https://github.com/Wernfried/xml-twig#readme"
38
- }
1
+ {
2
+ "dependencies": {
3
+ "sax": "^1.3.0",
4
+ "xml-writer": "^1.7.0"
5
+ },
6
+ "name": "xml-twig",
7
+ "description": "Node module for processing huge XML documents in tree mode",
8
+ "version": "1.2.88",
9
+ "main": "twig.js",
10
+ "directories": {
11
+ "doc": "doc"
12
+ },
13
+ "devDependencies": {
14
+ "jsdoc-to-markdown": "^8.0.0",
15
+ "luxon": "^2.1.1",
16
+ "node-expat": "^2.4.0"
17
+ },
18
+ "scripts": {
19
+ "test": "node demo.js"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/Wernfried/xml-twig.git"
24
+ },
25
+ "keywords": [
26
+ "xml",
27
+ "sax",
28
+ "expat",
29
+ "parser",
30
+ "xml-reader"
31
+ ],
32
+ "author": "Wernfried Domscheit",
33
+ "license": "ISC",
34
+ "bugs": {
35
+ "url": "https://github.com/Wernfried/xml-twig/issues"
36
+ },
37
+ "homepage": "https://github.com/Wernfried/xml-twig#readme"
38
+ }
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 HandlerConditionFilter
69
- * @property {string} name - Name of the element
68
+ * @typedef {function} HandlerConditionFilter
69
+ * @param {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 DELETED
File without changes