You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can verify this is an issue with the current version. Replacing the line on the parser.js file fixed the data I was trying to import from a DBF file using a star (*) as the deleted flag.
I noticed that the '@deleted' property in the record objects was not always accurate (possibly related to
this issue)
I found in the .DBF specification (and confirmed) that the deleted flag could have one of four different values: 20h, 2Ah, '*', and " " (blank).
The assignment for
record['@deleted']
in lib/parser.js was only accounting for one. I fixed this by (locally) changing the assignment to:'@deleted': ( (buffer.slice(0, 1))[0] === 42 || (buffer.slice(0, 1))[0] === '*' ) ? true : false,
I hope this helps
The text was updated successfully, but these errors were encountered: