Comparing version 3.0.5 to 3.0.6
@@ -136,3 +136,6 @@ /** | ||
} else if ('Null' === name) { | ||
next_child.ele('null').txt(''); | ||
} | ||
} |
@@ -132,4 +132,5 @@ /** | ||
if (counter % 2 === 1) { | ||
throw new Error('Missing value for "' + key + '" while parsing <dict/>'); | ||
new_obj[key] = ''; | ||
} | ||
return new_obj; | ||
@@ -216,2 +217,5 @@ | ||
} else if (node.nodeName === 'null') { | ||
return null; | ||
} else if (node.nodeName === 'true') { | ||
@@ -222,3 +226,5 @@ return true; | ||
return false; | ||
} else { | ||
throw new Error('Invalid PLIST tag ' + node.nodeName); | ||
} | ||
} |
{ | ||
"name": "plist", | ||
"description": "Mac OS X Plist parser/builder for Node.js and browsers", | ||
"version": "3.0.5", | ||
"description": "Apple's property list parser/builder for Node.js and browsers", | ||
"version": "3.0.6", | ||
"author": "Nathan Rajlich <nathan@tootallnate.net>", | ||
@@ -29,9 +29,9 @@ "contributors": [ | ||
"base64-js": "^1.5.1", | ||
"xmlbuilder": "^9.0.7" | ||
"xmlbuilder": "^15.1.1" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^17.0.0", | ||
"mocha": "^5.2.0", | ||
"multiline": "^1.0.2", | ||
"zuul": "3.10.1" | ||
"mocha": "^9.2.2", | ||
"multiline": "^2.0.0", | ||
"zuul": "3.12.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
plist.js | ||
======== | ||
### Mac OS X Plist parser/builder for Node.js and browsers | ||
### Apple's Property list parser/builder for Node.js and browsers | ||
[![Build Status](https://travis-ci.org/TooTallNate/plist.js.svg?branch=master)](https://travis-ci.org/TooTallNate/plist.js) | ||
[![ci](https://github.com/TooTallNate/plist.js/actions/workflows/ci.yml/badge.svg)](https://github.com/TooTallNate/plist.js/actions/workflows/ci.yml) | ||
Provides facilities for reading and writing Mac OS X Plist (property list) | ||
files. These are often used in programming OS X and iOS applications, as | ||
well as the iTunes configuration XML file. | ||
Provides facilities for reading and writing Plist (property list) files. | ||
These are often used in programming OS X and iOS applications, as well | ||
as the iTunes configuration XML file. | ||
@@ -11,0 +11,0 @@ Plist files represent stored programming "object"s. They are very similar |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
685547
19
20088
+ Addedxmlbuilder@15.1.1(transitive)
- Removedxmlbuilder@9.0.7(transitive)
Updatedxmlbuilder@^15.1.1