Backup of database 9 Nov 17
[yaffs-website] / node_modules / jsonfile / CHANGELOG.md
1 2.4.0 / 2016-09-15
2 ------------------
3 ### Changed
4 - added optional support for `graceful-fs` [#62]
5
6 2.3.1 / 2016-05-13
7 ------------------
8 - fix to support BOM. [#45][#45]
9
10 2.3.0 / 2016-04-16
11 ------------------
12 - add `throws` to `readFile()`. See [#39][#39]
13 - add support for any arbitrary `fs` module. Useful with [mock-fs](https://www.npmjs.com/package/mock-fs)
14
15 2.2.3 / 2015-10-14
16 ------------------
17 - include file name in parse error. See: https://github.com/jprichardson/node-jsonfile/pull/34
18
19 2.2.2 / 2015-09-16
20 ------------------
21 - split out tests into separate files
22 - fixed `throws` when set to `true` in `readFileSync()`. See: https://github.com/jprichardson/node-jsonfile/pull/33
23
24 2.2.1 / 2015-06-25
25 ------------------
26 - fixed regression when passing in string as encoding for options in `writeFile()` and `writeFileSync()`. See: https://github.com/jprichardson/node-jsonfile/issues/28
27
28 2.2.0 / 2015-06-25
29 ------------------
30 - added `options.spaces` to `writeFile()` and `writeFileSync()`
31
32 2.1.2 / 2015-06-22
33 ------------------
34 - fixed if passed `readFileSync(file, 'utf8')`. See: https://github.com/jprichardson/node-jsonfile/issues/25
35
36 2.1.1 / 2015-06-19
37 ------------------
38 - fixed regressions if `null` is passed for options. See: https://github.com/jprichardson/node-jsonfile/issues/24
39
40 2.1.0 / 2015-06-19
41 ------------------
42 - cleanup: JavaScript Standard Style, rename files, dropped terst for assert
43 - methods now support JSON revivers/replacers
44
45 2.0.1 / 2015-05-24
46 ------------------
47 - update license attribute https://github.com/jprichardson/node-jsonfile/pull/21
48
49 2.0.0 / 2014-07-28
50 ------------------
51 * added `\n` to end of file on write. [#14](https://github.com/jprichardson/node-jsonfile/pull/14)
52 * added `options.throws` to `readFileSync()`
53 * dropped support for Node v0.8
54
55 1.2.0 / 2014-06-29
56 ------------------
57 * removed semicolons
58 * bugfix: passed `options` to `fs.readFile` and `fs.readFileSync`. This technically changes behavior, but
59 changes it according to docs. [#12][#12]
60
61 1.1.1 / 2013-11-11
62 ------------------
63 * fixed catching of callback bug (ffissore / #5)
64
65 1.1.0 / 2013-10-11
66 ------------------
67 * added `options` param to methods, (seanodell / #4)
68
69 1.0.1 / 2013-09-05
70 ------------------
71 * removed `homepage` field from package.json to remove NPM warning
72
73 1.0.0 / 2013-06-28
74 ------------------
75 * added `.npmignore`, #1
76 * changed spacing default from `4` to `2` to follow Node conventions
77
78 0.0.1 / 2012-09-10
79 ------------------
80 * Initial release.
81
82 [#45]: https://github.com/jprichardson/node-jsonfile/issues/45    "Reading of UTF8-encoded (w/ BOM) files fails"
83 [#44]: https://github.com/jprichardson/node-jsonfile/issues/44    "Extra characters in written file"
84 [#43]: https://github.com/jprichardson/node-jsonfile/issues/43    "Prettyfy json when written to file"
85 [#42]: https://github.com/jprichardson/node-jsonfile/pull/42      "Moved fs.readFileSync within the try/catch"
86 [#41]: https://github.com/jprichardson/node-jsonfile/issues/41    "Linux: Hidden file not working"
87 [#40]: https://github.com/jprichardson/node-jsonfile/issues/40    "autocreate folder doesnt work from Path-value"
88 [#39]: https://github.com/jprichardson/node-jsonfile/pull/39      "Add `throws` option for readFile (async)"
89 [#38]: https://github.com/jprichardson/node-jsonfile/pull/38      "Update README.md writeFile[Sync] signature"
90 [#37]: https://github.com/jprichardson/node-jsonfile/pull/37      "support append file"
91 [#36]: https://github.com/jprichardson/node-jsonfile/pull/36      "Add typescript definition file."
92 [#35]: https://github.com/jprichardson/node-jsonfile/pull/35      "Add typescript definition file."
93 [#34]: https://github.com/jprichardson/node-jsonfile/pull/34      "readFile JSON parse error includes filename"
94 [#33]: https://github.com/jprichardson/node-jsonfile/pull/33      "fix throw->throws typo in readFileSync()"
95 [#32]: https://github.com/jprichardson/node-jsonfile/issues/32    "readFile & readFileSync can possible have strip-comments as an option?"
96 [#31]: https://github.com/jprichardson/node-jsonfile/pull/31      "[Modify] Support string include is unicode escape string"
97 [#30]: https://github.com/jprichardson/node-jsonfile/issues/30    "How to use Jsonfile package in Meteor.js App?"
98 [#29]: https://github.com/jprichardson/node-jsonfile/issues/29    "writefile callback if no error?"
99 [#28]: https://github.com/jprichardson/node-jsonfile/issues/28    "writeFile options argument broken "
100 [#27]: https://github.com/jprichardson/node-jsonfile/pull/27      "Use svg instead of png to get better image quality"
101 [#26]: https://github.com/jprichardson/node-jsonfile/issues/26    "Breaking change to fs-extra"
102 [#25]: https://github.com/jprichardson/node-jsonfile/issues/25    "support string encoding param for read methods"
103 [#24]: https://github.com/jprichardson/node-jsonfile/issues/24    "readFile: Passing in null options with a callback throws an error"
104 [#23]: https://github.com/jprichardson/node-jsonfile/pull/23      "Add appendFile and appendFileSync"
105 [#22]: https://github.com/jprichardson/node-jsonfile/issues/22    "Default value for spaces in readme.md is outdated"
106 [#21]: https://github.com/jprichardson/node-jsonfile/pull/21      "Update license attribute"
107 [#20]: https://github.com/jprichardson/node-jsonfile/issues/20    "Add simple caching functionallity"
108 [#19]: https://github.com/jprichardson/node-jsonfile/pull/19      "Add appendFileSync method"
109 [#18]: https://github.com/jprichardson/node-jsonfile/issues/18    "Add updateFile and updateFileSync methods"
110 [#17]: https://github.com/jprichardson/node-jsonfile/issues/17    "seem read & write sync has sequentially problem"
111 [#16]: https://github.com/jprichardson/node-jsonfile/pull/16      "export spaces defaulted to null"
112 [#15]: https://github.com/jprichardson/node-jsonfile/issues/15    "`jsonfile.spaces` should default to `null`"
113 [#14]: https://github.com/jprichardson/node-jsonfile/pull/14      "Add EOL at EOF"
114 [#13]: https://github.com/jprichardson/node-jsonfile/issues/13    "Add a final newline"
115 [#12]: https://github.com/jprichardson/node-jsonfile/issues/12    "readFile doesn't accept options"
116 [#11]: https://github.com/jprichardson/node-jsonfile/pull/11      "Added try,catch to readFileSync"
117 [#10]: https://github.com/jprichardson/node-jsonfile/issues/10    "No output or error from writeFile"
118 [#9]: https://github.com/jprichardson/node-jsonfile/pull/9        "Change 'js' to 'jf' in example."
119 [#8]: https://github.com/jprichardson/node-jsonfile/pull/8        "Updated forgotten module.exports to me."
120 [#7]: https://github.com/jprichardson/node-jsonfile/pull/7        "Add file name in error message"
121 [#6]: https://github.com/jprichardson/node-jsonfile/pull/6        "Use graceful-fs when possible"
122 [#5]: https://github.com/jprichardson/node-jsonfile/pull/5        "Jsonfile doesn't behave nicely when used inside a test suite."
123 [#4]: https://github.com/jprichardson/node-jsonfile/pull/4        "Added options parameter to writeFile and writeFileSync"
124 [#3]: https://github.com/jprichardson/node-jsonfile/issues/3      "test2"
125 [#2]: https://github.com/jprichardson/node-jsonfile/issues/2      "homepage field must be a string url. Deleted."
126 [#1]: https://github.com/jprichardson/node-jsonfile/pull/1        "adding an `.npmignore` file"