plist 3.1.0 → 4.0.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 DELETED
@@ -1,196 +0,0 @@
1
- 3.1.0 / 2023-07-06
2
- ==================
3
- * replace inlined xmldom with @xmldom/xmldom
4
-
5
-
6
- 3.0.5 / 2022-03-23
7
- ==================
8
- * [[`96e2303d05`]](https://github.com/TooTallNate/plist.js/commit/96e2303d059e6be0c9e0c4773226d14b4758de52) Prototype Pollution using .parse() #114 (mario-canva)
9
- * update browserify from 16 to 17
10
-
11
-
12
- 3.0.4 / 2021-08-27
13
- ==================
14
- * inline xmldom@0.6.0 to eliminate security warning false positive (Mike Reinstein)
15
-
16
-
17
- 3.0.3 / 2021-08-04
18
- ==================
19
- * update xmldom to 0.6.0 to patch critical vulnerability (Mike Reinstein)
20
- * remove flaky saucelabs teseting badge (Mike Reinstein)
21
-
22
-
23
- 3.0.2 / 2021-03-25
24
- ==================
25
- * update xmldom to 0.5.0 to patch critical vulnerability (Mike Reinstein)
26
- * update saucelab credentials to point at mreinstein's saucelabs account (Mike Reinstein)
27
- * remove a bunch of test versions from the matrix because they weren't working in zuul + sauce (Mike Reinstein)
28
-
29
-
30
- 3.0.1 / 2018-03-21
31
- ==================
32
- * avoid using Buffer constructor nodejs/node#19079
33
-
34
-
35
- 3.0.0 / 2018-03-18
36
- ==================
37
- * [[`cb0d8f1bc6`]](https://github.com/TooTallNate/plist.js/commit/cb0d8f1bc60dee423f8fc2cfcac427452dfaddb0) update Makefile, rebuild dist/ (Mike Reinstein)
38
- * [[`9dfeffe73f`]](https://github.com/TooTallNate/plist.js/commit/9dfeffe73fdb447ac5a87ee364a1472975f12adf) remove unsupported browser versions from travis (Mike Reinstein)
39
- * [[`c962bfe1ea`]](https://github.com/TooTallNate/plist.js/commit/c962bfe1ea04dd87966250253d33738bceecab61) update module deps, remove support for node < 6 (Mike Reinstein)
40
-
41
-
42
- 2.1.0 / 2017-05-04
43
- ==================
44
-
45
- * [[`e4f06669bb`]](https://github.com/TooTallNate/plist.js/commit/e4f06669bb51d2e65654df7c39aab52bc3bf4e8a) - update license (extend copyright term) (Mike Reinstein)
46
- * [[`edc6e41035`]](https://github.com/TooTallNate/plist.js/commit/edc6e4103546b1d7518a577e7c202c305a8abec0) - update module deps (Mike Reinstein)
47
- * [[`85d11c48ef`](https://github.com/TooTallNate/plist.js/commit/85d11c48eff02312cbdd67f46fd8e74b0d372ca1)] - Harden test-cases and implementation to align with other implementations (Björn Brauer)
48
- * [[`7619537eaa`]](https://github.com/TooTallNate/plist.js/commit/7619537eaa9e3e5a80829e759c004d2e017a07d2) review feedback: early returns and constants for nodeTypes (Björn Brauer)
49
-
50
-
51
- 2.0.1 / 2016-08-16
52
- ==================
53
-
54
- * [[`de136c8388`](https://github.com/TooTallNate/plist/commit/de136c8388)] - bad npm release… (Nathan Rajlich)
55
-
56
-
57
- 2.0.0 / 2016-08-16
58
- ==================
59
-
60
- * [[`90deef5d43`](https://github.com/TooTallNate/plist/commit/90deef5d43)] - remove deprecated functions (Nathan Rajlich)
61
- * [[`d475cd8ce9`](https://github.com/TooTallNate/plist/commit/d475cd8ce9)] - Added travis ci support for node 6 (Amila Welihinda)
62
- * [[`04c8ee7646`](https://github.com/TooTallNate/plist/commit/04c8ee7646)] - update dependencies (Mitchell Hentges)
63
- * [[`97c02b3f05`](https://github.com/TooTallNate/plist/commit/97c02b3f05)] - **travis**: add `sudo: false` and test more node versions (Nathan Rajlich)
64
- * [[`54c821ec29`](https://github.com/TooTallNate/plist/commit/54c821ec29)] - #71 - fixed and added test (Andrew Goldis)
65
- * [[`4afb7c5079`](https://github.com/TooTallNate/plist/commit/4afb7c5079)] - fix `Cannot read property 'nodeValue' of undefined exception` that is thrown when a `<key></key>` construct appears in plist (Chris Kinsman)
66
- * [[`f360d7d685`](https://github.com/TooTallNate/plist/commit/f360d7d685)] - #66 - fixed empty keys and added tests (Andrew Goldis)
67
- * [[`421c7f26e9`](https://github.com/TooTallNate/plist/commit/421c7f26e9)] - #66 - fixed empty key (Andrew Goldis)
68
- * [[`a88aa4dca7`](https://github.com/TooTallNate/plist/commit/a88aa4dca7)] - add verbose examples (mrzmyr)
69
-
70
-
71
- 1.2.0 / 2015-11-10
72
- ==================
73
-
74
- * package: update "browserify" to v12.0.1
75
- * package: update "zuul" to v3.7.2
76
- * package: update "xmlbuilder" to v4.0.0
77
- * package: update "util-deprecate" to v1.0.2
78
- * package: update "mocha" to v2.3.3
79
- * package: update "base64-js" to v0.0.8
80
- * build: omit undefined values
81
- * travis: add node 4.0 and 4.1 to test matrix
82
-
83
-
84
- 1.1.0 / 2014-08-27
85
- ==================
86
-
87
- * package: update "browserify" to v5.10.1
88
- * package: update "zuul" to v1.10.2
89
- * README: add "Sauce Test Status" build badge
90
- * travis: use new "plistjs" sauce credentials
91
- * travis: set up zuul saucelabs automated testing
92
-
93
-
94
- 1.0.1 / 2014-06-25
95
- ==================
96
-
97
- * add .zuul.yml file for browser testing
98
- * remove Testling stuff
99
- * build: fix global variable `val` leak
100
- * package: use --check-leaks when running mocha tests
101
- * README: update examples to use preferred API
102
- * package: add "browser" keyword
103
-
104
-
105
- 1.0.0 / 2014-05-20
106
- ==================
107
-
108
- * package: remove "android-browser"
109
- * test: add <dict> build() test
110
- * test: re-add the empty string build() test
111
- * test: remove "fixtures" and legacy "tests" dir
112
- * test: add some more build() tests
113
- * test: add a parse() CDATA test
114
- * test: starting on build() tests
115
- * test: more parse() tests
116
- * package: attempt to fix "android-browser" testling
117
- * parse: better <data> with newline handling
118
- * README: add Testling badge
119
- * test: add <data> node tests
120
- * test: add a <date> parse() test
121
- * travis: don't test node v0.6 or v0.8
122
- * test: some more parse() tests
123
- * test: add simple <string> parsing test
124
- * build: add support for an optional "opts" object
125
- * package: test mobile devices
126
- * test: use multiline to inline the XML
127
- * package: beautify
128
- * package: fix "mocha" harness
129
- * package: more testling browsers
130
- * build: add the "version=1.0" attribute
131
- * beginnings of "mocha" tests
132
- * build: more JSDocs
133
- * tests: add test that ensures that empty string conversion works
134
- * build: update "xmlbuilder" to v2.2.1
135
- * parse: ignore comment and cdata nodes
136
- * tests: make the "Newlines" test actually contain a newline
137
- * parse: lint
138
- * test travis
139
- * README: add Travis CI badge
140
- * add .travis.yml file
141
- * build: updated DTD to reflect name change
142
- * parse: return falsey values in an Array plist
143
- * build: fix encoding a typed array in the browser
144
- * build: add support for Typed Arrays and ArrayBuffers
145
- * build: more lint
146
- * build: slight cleanup and optimizations
147
- * build: use .txt() for the "date" value
148
- * parse: always return a Buffer for <data> nodes
149
- * build: don't interpret Strings as base64
150
- * dist: commit prebuilt plist*.js files
151
- * parse: fix typo in deprecate message
152
- * parse: fix parse() return value
153
- * parse: add jsdoc comments for the deprecated APIs
154
- * parse: add `parse()` function
155
- * node, parse: use `util-deprecate` module
156
- * re-implemented parseFile to be asynchronous
157
- * node: fix jsdoc comment
158
- * Makefile: fix "node" require stubbing
159
- * examples: add "browser" example
160
- * package: tweak "main"
161
- * package: remove "engines" field
162
- * Makefile: fix --exclude command for browserify
163
- * package: update "description"
164
- * lib: more styling
165
- * Makefile: add -build.js and -parse.js dist files
166
- * lib: separate out the parse and build logic into their own files
167
- * Makefile: add makefile with browserify build rules
168
- * package: add "browserify" as a dev dependency
169
- * plist: tabs to spaces (again)
170
- * add a .jshintrc file
171
- * LICENSE: update
172
- * node-webkit support
173
- * Ignore tests/ in .npmignore file
174
- * Remove duplicate devDependencies key
175
- * Remove trailing whitespace
176
- * adding recent contributors. Bumping npm package number (patch release)
177
- * Fixed node.js string handling
178
- * bumping version number
179
- * Fixed global variable plist leak
180
- * patch release 0.4.1
181
- * removed temporary debug output file
182
- * flipping the cases for writing data and string elements in build(). removed the 125 length check. Added validation of base64 encoding for data fields when parsing. added unit tests.
183
- * fixed syntax errors in README examples (issue #20)
184
- * added Sync versions of calls. added deprecation warnings for old method calls. updated documentation. If the resulting object from parseStringSync is an array with 1 element, return just the element. If a plist string or file doesnt have a <plist> tag as the document root element, fail noisily (issue #15)
185
- * incrementing package version
186
- * added cross platform base64 encode/decode for data elements (issue #17.) Comments and hygiene.
187
- * refactored the code to use a DOM parser instead of SAX. closes issues #5 and #16
188
- * rolling up package version
189
- * updated base64 detection regexp. updated README. hygiene.
190
- * refactored the build function. Fixes issue #14
191
- * refactored tests. Modified tests from issue #9. thanks @sylvinus
192
- * upgrade xmlbuilder package version. this is why .end() was needed in last commit; breaking change to xmlbuilder lib. :/
193
- * bug fix in build function, forgot to call .end() Refactored tests to use nodeunit
194
- * Implemented support for real, identity tests
195
- * Refactored base64 detection - still sloppy, fixed date building. Passing tests OK.
196
- * Implemented basic plist builder that turns an existing JS object into plist XML. date, real and data types still need to be implemented.
package/Makefile DELETED
@@ -1,75 +0,0 @@
1
-
2
- # get Makefile directory name: http://stackoverflow.com/a/5982798/376773
3
- THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
4
- THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
5
-
6
- # BIN directory
7
- BIN := $(THIS_DIR)/node_modules/.bin
8
-
9
- # applications
10
- NODE ?= node
11
- NPM ?= $(NODE) $(shell which npm)
12
- BROWSERIFY ?= $(NODE) $(BIN)/browserify
13
- MOCHA ?= $(NODE) $(BIN)/mocha
14
- ZUUL ?= $(NODE) $(BIN)/zuul
15
-
16
- REPORTER ?= spec
17
-
18
- all: dist/plist.js dist/plist-build.js dist/plist-parse.js
19
-
20
- install: node_modules
21
-
22
- clean:
23
- @rm -rf node_modules dist
24
-
25
- dist:
26
- @mkdir -p $@
27
-
28
- dist/plist-build.js: node_modules lib/build.js dist
29
- @$(BROWSERIFY) \
30
- --standalone plist \
31
- lib/build.js > $@
32
-
33
- dist/plist-parse.js: node_modules lib/parse.js dist
34
- @$(BROWSERIFY) \
35
- --standalone plist \
36
- lib/parse.js > $@
37
-
38
- dist/plist.js: node_modules lib/*.js dist
39
- @$(BROWSERIFY) \
40
- --standalone plist \
41
- index.js > $@
42
-
43
- node_modules: package.json
44
- @NODE_ENV= $(NPM) install
45
- @touch node_modules
46
-
47
- test:
48
- @if [ "x$(BROWSER_NAME)" = "x" ]; then \
49
- $(MAKE) test-node; \
50
- else \
51
- $(MAKE) test-zuul; \
52
- fi
53
-
54
- test-node:
55
- @$(MOCHA) \
56
- --reporter $(REPORTER) \
57
- test/*.js
58
-
59
- test-zuul:
60
- @if [ "x$(BROWSER_PLATFORM)" = "x" ]; then \
61
- $(ZUUL) \
62
- --ui mocha-bdd \
63
- --browser-name $(BROWSER_NAME) \
64
- --browser-version $(BROWSER_VERSION) \
65
- test/*.js; \
66
- else \
67
- $(ZUUL) \
68
- --ui mocha-bdd \
69
- --browser-name $(BROWSER_NAME) \
70
- --browser-version $(BROWSER_VERSION) \
71
- --browser-platform "$(BROWSER_PLATFORM)" \
72
- test/*.js; \
73
- fi
74
-
75
- .PHONY: all install clean test test-node test-zuul