xml-twig 1.2.1 → 1.2.3

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/README.md CHANGED
@@ -366,13 +366,13 @@ To update the XML, use these methods. These methods modify the XML tree in the m
366
366
 
367
367
  `.attribute(name, value)`: Updates an attribute.
368
368
  - `name`: Name of the attribute. Regular Expression or other conditions are not supported
369
- - `value`: Then new value
369
+ - `value`: The new value
370
370
 
371
371
  `.deleteAttribute(name)`: Deletes the attribute.<br>
372
372
  - `name`: Name of the attribute. Regular Expression or other conditions are not supported
373
373
 
374
374
  `.text(value)`: Update the text (PCDATA) of current element<br>
375
- - `value`: The new text or `null` to remove any text
375
+ - `value`: The new text or `null` to remove existing text
376
376
 
377
377
  `.addElement(name, text, attributes, position)`: Adds a new child element to the current element<br>
378
378
  - `name`: The name/tag of the new element<br>
package/doc/build.sh CHANGED
@@ -1,6 +1,6 @@
1
- #!/bin/bash
2
-
3
- jsdoc2md --private ../twig.js > ./twig.md
4
-
5
- # see https://github.com/jsdoc2md/jsdoc-to-markdown
6
-
1
+ #!/bin/bash
2
+
3
+ jsdoc2md --private ../twig.js > ./twig.md
4
+
5
+ # see https://github.com/jsdoc2md/jsdoc-to-markdown
6
+
package/package.json CHANGED
@@ -5,12 +5,13 @@
5
5
  },
6
6
  "name": "xml-twig",
7
7
  "description": "Node module for processing huge XML documents in tree mode",
8
- "version": "1.2.1",
8
+ "version": "1.2.3",
9
9
  "main": "twig.js",
10
10
  "directories": {
11
11
  "doc": "doc"
12
12
  },
13
13
  "devDependencies": {
14
+ "jsdoc-to-markdown": "^8.0.0",
14
15
  "luxon": "^2.1.1",
15
16
  "node-expat": "^2.4.0"
16
17
  },