plist 3.0.6 → 3.1.0
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/History.md +5 -0
- package/dist/plist-build.js +3 -0
- package/dist/plist-parse.js +3272 -498
- package/dist/plist.js +1 -1
- package/lib/build.js +3 -0
- package/lib/parse.js +1 -1
- package/package.json +3 -2
- package/.travis.yml +0 -22
- package/lib/xmldom/dom-parser.js +0 -253
- package/lib/xmldom/dom.js +0 -1283
- package/lib/xmldom/entities.js +0 -243
- package/lib/xmldom/sax.js +0 -642
package/History.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
3.1.0 / 2023-07-06
|
|
2
|
+
==================
|
|
3
|
+
* replace inlined xmldom with @xmldom/xmldom
|
|
4
|
+
|
|
5
|
+
|
|
1
6
|
3.0.5 / 2022-03-23
|
|
2
7
|
==================
|
|
3
8
|
* [[`96e2303d05`]](https://github.com/TooTallNate/plist.js/commit/96e2303d059e6be0c9e0c4773226d14b4758de52) Prototype Pollution using .parse() #114 (mario-canva)
|
package/dist/plist-build.js
CHANGED
|
@@ -119,6 +119,9 @@ function walk_obj(next, next_child) {
|
|
|
119
119
|
tag_type = (next % 1 === 0) ? 'integer' : 'real';
|
|
120
120
|
next_child.ele(tag_type).txt(next.toString());
|
|
121
121
|
|
|
122
|
+
} else if ('BigInt' == name) {
|
|
123
|
+
next_child.ele('integer').txt(next);
|
|
124
|
+
|
|
122
125
|
} else if ('Date' == name) {
|
|
123
126
|
next_child.ele('date').txt(ISODateString(new Date(next)));
|
|
124
127
|
|