2022-07-12
Security update. Update archieml to v0.5 – thanks @britthar (PR #108). Fix dbf tests returning a slightly different error message on empty.dbf.
- 35a19bbeb5d7951a06612a37f3b3ebd5288f174a
- 7a0437bc403c9b297102ae2fe075f13dd7d4c104
- 4290fac565c5f269593dc222a745dcbc0a024173
- d8fb901cd792e9fb635546fa7ae9df1e3a4b67bd
- ef4b92e2c30a39f16150e97fbb4c130394eaa0c9
- bc50626b5be89c910b51dc40bda2355e8277b784
- 3be6e1c82462609d2050188a09114a2b9da69341
- ad6374414dbeb085fa41bd01b75976cad7a78746
- 01f3f7cc81f7e6e4e1874f21db7bee8a73bfb9f7
- 352fc80fe75b740e4e45e0bbb8136fd805a2ae8f
- 75b2a9e8d66157654ab13bb233741cc8ca35376d
2021-03-17
Security update to fix some security alerts. Moves the dbf fork off of GitHub and onto a scoped npm package at @mhkeller/dbf
2019-08-21
Removes a few functions that weren't really ever used. Strips BOM characters from CSVs and fixes a bug with double slashes sometimes when using readdirFilter
functions.
- Remove YAML readers
- Remove
{ detailed: true }
option fromreaddirFilter
functions - Remove
extend
anddeepExtend
functions - Remove double slashes on
readdirFilter
functions if input dir ends in a slash and{ fullPath: true }
. - Update test command for getter travis testing and travis-node versions
- File readers now strip BOM characters
2018-09-01
Add verbose
option to writeData
and writeDataSync
, which allows you to turn off empty file warnings and also makes the error message more descriptive. Rename the dist output to be .cjs.js
instead of .node.js
. Add skipHidden
and detailed
options to readdir
functions.
- Add verbose, closes #77
- Rename dist output, closes #73
- Add
skipHidden
option to readdir functions, closes #76 - Add
detailed
option to readdir functions, closes #75
2017-10-12
Small bug fix release. Puts shapefile
library as an external dependency to fix an error on build. Also includes some small style tweaks to the docs, updates to the latest rollup, a few more tests and code coverage.
- Update rollup
- Code coverage
- Doc tweaks
2017-10-11
This is an exciting release because indian-ocean is now broken into es6 modules and brand new documentation. Adds a new convertData
function which allows for converting from format to format. Aliases makeDirs
to makeDirectories
for less typing if you don't feel like typing. There's also an experimental browser bundle and some minor new features.
This is a breaking change because it drops support below Node 3 and changes the API for io.discernParser
- Support reading dbf files in
readData
by way of separating out file loading from file parsing. - Parsers and formatters are now exposed as public functions
- Switch to es6 modules and bundle with rollup
- Also export a UMD bundle for the browser
- Thanks to @Rich-Harris, Typescript declarations are being added
- Add
convertData
function- a52a6ca50219cbdb7347088b19b370b25e1929aa
- 10e1f637735ff64f08514252fc8c8d308b5ca09b
- 74c6855a88e1b7bfb31ff7ac086629faba98ee00
- 14606087f81b413a0801f259bd89269506d733c7
- 8ea37b45f779f390f042f4588b979d408f539779
- 672ac65ce8672f4c9436fa0c0860c4fb530b3fa3
- d9a8f2b66469df9ca22a4d28fb459a6f006c12fe
- 50a972e802a00e0676b8e41b641a39b300ab3c86
- Add a test for extensions on dotfiles
- Fix tests on newer versions of node that handle JSON error reporting nicer. As a result remove the
json-parse
dependency and removenativeParser
option from JSON readers. - Clean up dependencies
- Add .editorconfig and package-lock.json
- Defer to
fs.existsSync
since newer versions of node brought that back - Don't delete keys off of options object. Fixes #66.
- Rename
shorthandReaders
todirectReaders
. This only affects internal file paths and doc nomenclature - New docs
- 1eb69af239b3cfc86bef055c178957603dc562f8
- 7cff646f26cf1a593d7093584ddb402874b2c0fe
- 8db667b98e0e2d2583591c161c628fcca36f2234
- 78f4ca3a9a301b8705af5f82b8bd77c1bdc189a3
- fb1e8f56eb8285a4f2df425d789512d656f9d236
- ad8855a20225c2cb54dc6cf36fd674affee5eefc
- 221173e34ccabda7c4f67f765aefec2553415dd5
- 995d440eefdf4800a5de57ab84a7ba70e4366157
- 28d66bed085b92fee74c534f9fca85723c9a4872
- 998620a85ecbebbec6f715c49a386245af990870
- e87cb8b2dbd2c149226acb632da55cb26d5a0b72
- 43e1bc0cd40fe0a54eafe4ff3dc1c79ccbe4c550
- 35c696c6420068a9dfe4b9455d47d1bcf45abc61
- 619acfa34f1f36334ea82c9278e770fd9d792363
- 7b9ce9ae986745824e81c8d8efdecdfa63e878c5
- 39076cdf47803d66d1af7c3730f4fe1957289f5e
- e297e8a3042337e7359ded77d4de1a9b86fa8ccb
- 2c4ec09d44295412bda3ff9803bdc9db410bf1e7
- Better .npmignore
- Don't delete options from the options object
- Alias
makeDirs
option tomakeDirectories
- Clean up
discernParser
API. Fixes #63.
2017-02-08
- Fix having the callback called inside of the try block
2016-11-02
- Fix docs to print custom argument names
2016-10-30
- Add tests and allow for parser options
- af12b04932cad2d99c2a6403845143c1e13c9643
- 499cd2e9bab004eb7f83737d5abdd35107216e95
- e43ac2ea55d2574d0352171a070be3b01b71a8b3
- 79eba7baf184385b22db5a3055ca8daa8f0490b5
- 8a3752b8d96b54b5f65d7871c4fa3b1c5ff32d91
- f30f8551f99c35995fdfeddd9fdee406ae907583
- d17597b55979ae02fd8f1e67698cdd4f040d82a1
- 1f8779e35be40b156d8d2b9f17b3a4b0c35baf6f
- cf7cb58b38522831c75f1ffd6a19cdf08f94e142
- b3cb85af2b02a208d4d2cc5a3dfa09375c66dbf0
- c98cb5df4a590cc54378c9b63b13ac7c55565328
- 705a3d395f480548447ca42ad91c37ced447dfd1
- 9b3c9f1f04f386faf6effd2b615e97d0078d2a8e
- b79c0bdbff90bc9ca1b0526dff9faed454aff55f
- 977194ab87e4f296b57be8c7bd3733c4dd18fae3
- 0880df4abb46cd7a585ca3527a3b5f91ec7640bb
- Internal: Improve doc workflow, update travis versions
- Add
.npmignore
- Better edge cases for empty files
- Allow for deferring to native json parsing
- 570e6a9b5727110eb8c8d2e7e130040ec5918d31
- Expose parsers and formatters
- Breaking changes
- Custom delimiters passed to
helpers.discernParser
no longer need to be in an object.- Old usage
io.discernParser(null, {delimiter: '_'})
- New usage
io.discernParser(null, '_')
- Old usage
- Renamed functions
extensionMatches
->extMatchesStr
- Custom delimiters passed to
2016-02-18
- Fix typo when writing out a file we don't have a parser for
2016-02-17
- In writeData functions, rename the option
parseWith
toparser
, while keeping legacy support - Return data when writing out or appending
- Better error messages and checks if user attemps writing an object to a dsv since those formats require a list
- Tests for exists functions
- Add extend, deepExtend and tests for them
- Fix docs css
- Update documentation with yaml on supported list of doc writers
- Rename
writeDbfToData
asconvertDbfToData
- Add ArchieML support
- Fix type checking bug when no options are passed to
readdir
functions
2015-12-04
- When attempting to read an empty file as json, set it to
'[]'
so it will be parsed as an empty list.
2015-11-30
- Use
===
instead of==
for code style
2015-11-30
- Actually fill out the
exists
function
2015-11-16
- Make all options configurable via object parameters instead of arguments
- Combine
readdirInclude
andreaddirExlude
functions intoreaddirFilter
andreaddirFilterSync
- Closes #36 and #38
- 155a9e692e16ff7a7f8dcd55005af91ec3dabef3
- 5a6e59a491d63f9caf87529957de73eeb6ae75bb
- fea54208dbfd5fdd20c6197458bd5c09ca0c6bcb
- 32615fb0bbb5a771d4d36fb5aa0902e335d3e85e
- e9ce3f65618d0d8abb53d6bcb904851e46384b44
- 750a149accfd68e17a803b18ecb20952a6d251f0
- 174aefd7b02b6c584619d8cd4a364da67b04718c
- Add
skipFiles
andskipDirectories
options to fromreaddirFilter
functions - Fall back to writing text if file format is unknown
- Create intermediate directories via config flag when writing or appending data
- Support writing dbf files
2015-09-16
- NPM had an error publishing to it. Bumped version and republished.
2015-09-16
- Fix missing dependencies
- Via #32
2015-09-13
- Add support for reading
txt
files both explicitly and as a fallback for when we don't have a supported parser - Refactor library by delegating all
read
functions toreadData
/readDataSync
, which now take parameters to parse with a given parser, not just a given delimiter - Various documentation fixes
- Yaml read/write support
2015-09-07
- Add ability for
readdir
functions to take regexes - Refactor
readdir
functions to call a common function with options. - More stringent tests
2015-09-01
- Add
exists
andexistsSync
fs - Higher contrast doc theme
- Add Standard JS Style Image
- Various travis integration improvements
- Various documentation improvements
- Every function now has an example in documentation
- Tests for readdirInclude and Exclude
- Better error messaging when parsing malformed JSON
- Created Changelog