- BREAKING: Drop support for Node 6 & 8 (#128)
- BREAKING: Do not allow passing
nullas 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
spacesoption. - BREAKING: Drop support for Node 0.10, 0.12, and io.js.
- Remove undocumented
passParsingErrorsoption. - Added
EOLoverride option towriteFilewhen usingspaces. #89
- Fixed bug in
writeFilewhen 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
throwsoption forreadFileSync; now does not throw filesystem errors whenthrowsisfalse
- added optional support for
graceful-fs[#62]
- fix to support BOM. #45
- include file name in parse error. See: jprichardson#34
- split out tests into separate files
- fixed
throwswhen set totrueinreadFileSync(). See: jprichardson#33
- fixed regression when passing in string as encoding for options in
writeFile()andwriteFileSync(). See: jprichardson#28
- added
options.spacestowriteFile()andwriteFileSync()
- fixed if passed
readFileSync(file, 'utf8'). See: jprichardson#25
- fixed regressions if
nullis passed for options. See: jprichardson#24
- cleanup: JavaScript Standard Style, rename files, dropped terst for assert
- methods now support JSON revivers/replacers
- update license attribute jprichardson#21
- added
\nto end of file on write. #14 - added
options.throwstoreadFileSync() - dropped support for Node v0.8
- removed semicolons
- bugfix: passed
optionstofs.readFileandfs.readFileSync. This technically changes behavior, but changes it according to docs. #12
- fixed catching of callback bug (ffissore / #5)
- added
optionsparam to methods, (seanodell / #4)
- removed
homepagefield from package.json to remove NPM warning
- added
.npmignore, #1 - changed spacing default from
4to2to follow Node conventions
- Initial release.