- BREAKING: Drop support for Node 6 & 8 (#128)
- BREAKING: Do not allow passing
null
as options toreadFile()
orwriteFile()
(#128) - Refactor internals (#128)
- BREAKING: Drop Node 4 support
- BREAKING: If no callback is passed to an asynchronous method, a promise is now returned (#109)
- Cleanup docs
- BREAKING: Remove global
spaces
option. - BREAKING: Drop support for Node 0.10, 0.12, and io.js.
- Remove undocumented
passParsingErrors
option. - Added
EOL
override option towriteFile
when usingspaces
. #89
- Fixed bug in
writeFile
when there was a serialization error & no callback was passed. In previous versions, an empty file would be written; now no file is written.
- Changed behavior of
throws
option forreadFileSync
; now does not throw filesystem errors whenthrows
isfalse
- added optional support for
graceful-fs
[#62]
- fix to support BOM. #45
- include file name in parse error. See: #34
- split out tests into separate files
- fixed
throws
when set totrue
inreadFileSync()
. See: #33
- fixed regression when passing in string as encoding for options in
writeFile()
andwriteFileSync()
. See: #28
- added
options.spaces
towriteFile()
andwriteFileSync()
- fixed if passed
readFileSync(file, 'utf8')
. See: #25
- fixed regressions if
null
is passed for options. See: #24
- cleanup: JavaScript Standard Style, rename files, dropped terst for assert
- methods now support JSON revivers/replacers
- update license attribute #21
- added
\n
to end of file on write. #14 - added
options.throws
toreadFileSync()
- dropped support for Node v0.8
- removed semicolons
- bugfix: passed
options
tofs.readFile
andfs.readFileSync
. This technically changes behavior, but changes it according to docs. #12
- fixed catching of callback bug (ffissore / #5)
- added
options
param to methods, (seanodell / #4)
- removed
homepage
field from package.json to remove NPM warning
- added
.npmignore
, #1 - changed spacing default from
4
to2
to follow Node conventions
- Initial release.