-
Notifications
You must be signed in to change notification settings - Fork 125
Comparing changes
Open a pull request
base repository: TooTallNate/plist.js
base: 69520574f27864145192338b72e608fbe1bda6f7
head repository: TooTallNate/plist.js
compare: 276c65742b138de3a80fa2a5e80bf74352e1a2a3
Commits on Dec 25, 2015
-
mrzmyr committed
Dec 25, 2015 Configuration menu - View commit details
-
Copy full SHA for a88aa4d - Browse repository at this point
Copy the full SHA a88aa4dView commit details
Commits on Jan 26, 2016
-
Andrew Goldis committed
Jan 26, 2016 Configuration menu - View commit details
-
Copy full SHA for 421c7f2 - Browse repository at this point
Copy the full SHA 421c7f2View commit details -
#66 - fixed empty keys and added tests
Andrew Goldis committedJan 26, 2016 Configuration menu - View commit details
-
Copy full SHA for f360d7d - Browse repository at this point
Copy the full SHA f360d7dView commit details
Commits on Feb 22, 2016
-
Fix Cannot read property 'nodeValue' of undefined exception that is t…
…hrown when a <key></key> construct appears in plist
Configuration menu - View commit details
-
Copy full SHA for 4afb7c5 - Browse repository at this point
Copy the full SHA 4afb7c5View commit details
Commits on Feb 23, 2016
-
Merge pull request #70 from chriskinsman/master
Fix Cannot read property 'nodeValue' of undefined exception that is t…
Configuration menu - View commit details
-
Copy full SHA for 6daf4cc - Browse repository at this point
Copy the full SHA 6daf4ccView commit details
Commits on Mar 13, 2016
-
Andrew Goldis committed
Mar 13, 2016 Configuration menu - View commit details
-
Copy full SHA for 54c821e - Browse repository at this point
Copy the full SHA 54c821eView commit details -
Merge commit '6daf4cc34ea26ba5829021878ecec74754beaf85'
* commit '6daf4cc34ea26ba5829021878ecec74754beaf85': Fix Cannot read property 'nodeValue' of undefined exception that is thrown when a <key></key> construct appears in plist # Conflicts: # lib/parse.js
Andrew Goldis committedMar 13, 2016 Configuration menu - View commit details
-
Copy full SHA for 3d666f1 - Browse repository at this point
Copy the full SHA 3d666f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97c02b3 - Browse repository at this point
Copy the full SHA 97c02b3View commit details -
Merge pull request #69 from agoldis/master
Fixed empty keys issue #66, added tests
Configuration menu - View commit details
-
Copy full SHA for d8d74cb - Browse repository at this point
Copy the full SHA d8d74cbView commit details
Commits on May 12, 2016
-
Mitchell Hentges committed
May 12, 2016 Configuration menu - View commit details
-
Copy full SHA for 04c8ee7 - Browse repository at this point
Copy the full SHA 04c8ee7View commit details -
Merge pull request #73 from mitchhentges/reduce-package-size
Update dependencies to reduce package size
Configuration menu - View commit details
-
Copy full SHA for 0c06929 - Browse repository at this point
Copy the full SHA 0c06929View commit details
Commits on Jul 8, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d475cd8 - Browse repository at this point
Copy the full SHA d475cd8View commit details -
Merge pull request #76 from amilajack/patch-1
Added travis ci support for node 6
Configuration menu - View commit details
-
Copy full SHA for 7fc9a5b - Browse repository at this point
Copy the full SHA 7fc9a5bView commit details -
Merge pull request #68 from mrzmyr/add-verbose-examples
add verbose examples
Configuration menu - View commit details
-
Copy full SHA for 18d3be9 - Browse repository at this point
Copy the full SHA 18d3be9View commit details
Commits on Aug 16, 2016
-
Now there's only `build()` and `parse()`! They've been deprecated for a long time now, and this should resolve #77 as well.
Configuration menu - View commit details
-
Copy full SHA for 90deef5 - Browse repository at this point
Copy the full SHA 90deef5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe01b3 - Browse repository at this point
Copy the full SHA 1fe01b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00fb1c4 - Browse repository at this point
Copy the full SHA 00fb1c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bcca80 - Browse repository at this point
Copy the full SHA 6bcca80View commit details -
Configuration menu - View commit details
-
Copy full SHA for de136c8 - Browse repository at this point
Copy the full SHA de136c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c71d9f7 - Browse repository at this point
Copy the full SHA c71d9f7View commit details
Commits on Feb 12, 2017
-
Harden test-cases and implementation to align with other implementations
This commit refactors and adds more tests to the `parse()` implementation to align with similar libraries's behaviour, e.g.: - https://github.com/Microsoft/node-fast-plist - https://docs.python.org/3/library/plistlib.html With the new tests a few of the tests were failing: ``` 31 passing (177ms) 10 failing 1) parse() real should throw an Error when parsing an empty real: AssertionError: Missing expected exception.. 2) parse() string should parse a self closing string: AssertionError: null === '' 3) parse() string should parse an empty string: AssertionError: null === '' 4) parse() string should parse a string with comments: AssertionError: 'a comment string' === 'a string' 5) parse() array should parse empty elements inside an array: AssertionError: [ false ] deepEqual [ '', false ] 6) parse() dict should throw if key is missing: AssertionError: Missing expected exception.. 7) parse() dict should throw if two keys follow each other: AssertionError: Missing expected exception.. 8) parse() dict should throw if value is missing: AssertionError: Missing expected exception.. 9) parse() dict should parse an empty key: AssertionError: {} deepEqual { '': '1' } 10) parse() dict should parse an empty value: AssertionError: { a: null } deepEqual { a: '' } ``` This commit also refactors the `lib/parse.js` to pass these tests. When executing the new implementation of `lib/parse.js` agains the old tests the following tests were failing: ``` 25 passing (143ms) 3 failing 1) plist parse() should parse an empty <key/> in a dictionary: AssertionError: false == true 2) plist parse() should parse an empty <key></key> in a dictionary: AssertionError: false == true 3) plist parse() should parse an empty <key></key> and <string></string> in dictionary with more data: AssertionError: { '': '', UIRequiredDeviceCapabilities: [ 'armv7' ] } deepEqual { UIRequiredDeviceCapabilities: [ 'armv7' ] } ``` As the output above shows, most of the issue are with the handling of empty strings and empty dictionary keys. Added with the new implementation are custom Errors for unexpected input, better handling of comments inside tags and a more aligned handling of empty keys/strings.
Configuration menu - View commit details
-
Copy full SHA for 85d11c4 - Browse repository at this point
Copy the full SHA 85d11c4View commit details
Commits on Feb 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7619537 - Browse repository at this point
Copy the full SHA 7619537View commit details -
Merge pull request #84 from ZauberNerd/harden-parser
Harden test-cases and align with other implementations
Configuration menu - View commit details
-
Copy full SHA for 4853b74 - Browse repository at this point
Copy the full SHA 4853b74View commit details
Commits on May 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d3b954b - Browse repository at this point
Copy the full SHA d3b954bView commit details -
Configuration menu - View commit details
-
Copy full SHA for edc6e41 - Browse repository at this point
Copy the full SHA edc6e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f0666 - Browse repository at this point
Copy the full SHA e4f0666View commit details -
Configuration menu - View commit details
-
Copy full SHA for 314042e - Browse repository at this point
Copy the full SHA 314042eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8c7671 - Browse repository at this point
Copy the full SHA b8c7671View commit details
Commits on Mar 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c962bfe - Browse repository at this point
Copy the full SHA c962bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dfeffe - Browse repository at this point
Copy the full SHA 9dfeffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6840f12 - Browse repository at this point
Copy the full SHA 6840f12View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0d8f1 - Browse repository at this point
Copy the full SHA cb0d8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a85b9d3 - Browse repository at this point
Copy the full SHA a85b9d3View commit details
Commits on Mar 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a7d03aa - Browse repository at this point
Copy the full SHA a7d03aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1628c6e - Browse repository at this point
Copy the full SHA 1628c6eView commit details
Commits on Mar 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for af45b08 - Browse repository at this point
Copy the full SHA af45b08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec848e - Browse repository at this point
Copy the full SHA 9ec848eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3821f55 - Browse repository at this point
Copy the full SHA 3821f55View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaf1af8 - Browse repository at this point
Copy the full SHA eaf1af8View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaf1ca7 - Browse repository at this point
Copy the full SHA eaf1ca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c5a74 - Browse repository at this point
Copy the full SHA 56c5a74View commit details
Commits on Mar 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3a8004a - Browse repository at this point
Copy the full SHA 3a8004aView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb28b45 - Browse repository at this point
Copy the full SHA eb28b45View commit details -
Configuration menu - View commit details
-
Copy full SHA for e538eb4 - Browse repository at this point
Copy the full SHA e538eb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3c545 - Browse repository at this point
Copy the full SHA ee3c545View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa1022 - Browse repository at this point
Copy the full SHA 6fa1022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f13bd7 - Browse repository at this point
Copy the full SHA 1f13bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c33edbe - Browse repository at this point
Copy the full SHA c33edbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7b0394 - Browse repository at this point
Copy the full SHA e7b0394View commit details -
Configuration menu - View commit details
-
Copy full SHA for e828f84 - Browse repository at this point
Copy the full SHA e828f84View commit details
There are no files selected for viewing