Jeff Barnes
0e392e2f24
Avoid use of node stream in browser context.
6 years ago
Jay L
fff1ee1be6
Fixes unparsing using 'skipEmptyLines' = 'greedy' when using headers ( #569 )
6 years ago
Sergi Almacellas Abellana
4bb68a5365
Patch version bump
6 years ago
Sergi Almacellas Abellana
2cf39cef65
Add space between comment and license clasifier
...
Fixes #565
6 years ago
Jay L
4e0a80370f
Use Array.isArray for determining arraynes ( #570 )
...
Also add polyfill in case it's not supported by browser version
6 years ago
Jay L
953dd9873c
Use 'greedy' skipEmptyLines in unparse ( #554 )
...
Resolves #553
7 years ago
Sergi Almacellas Abellana
b5739c617f
Minor version bump
7 years ago
Jay L
8e16bfa703
Add Option to skip lines with no content ( #544 )
7 years ago
Sergi Almacellas Abellana
ef38edf075
Patch version bump
7 years ago
Jaymes Lauser
9bc872a2b8
Fix linebreak problem in headers ( #542 )
7 years ago
Adi Roiban
1e9daa0d4f
Allow multi-characters delimiter whe unparsing ( #519 )
7 years ago
Barrie Treloar
161466f239
Correctly parse line ending with quoted field when field of next line is
...
empty
Closes #514
7 years ago
Sergi Almacellas Abellana
9f473db317
Minor version bump
7 years ago
jeff
757dc37915
Dates serialize to ISO format. ISO date string deserialize to Dates when `dynamicTyping` is true.
7 years ago
Eric Fossas
cbe39f630d
Add config option to transform values before dinamic typing ( #505 )
7 years ago
Mauricio Villalobos
f1f674a8cb
Add row counter accurate row reporting on errors with chunked parsing ( #509 )
7 years ago
Trevor Harwell
392408edcc
Add support for node-style streaming ( #494 )
7 years ago
Eric Fossas
739476ecdf
Ignore lines with comments when guessing delimiter ( #503 )
7 years ago
Eric Fossas
9aa4b01a67
Do not convert null primitive into object when copying it ( #504 )
7 years ago
Sergi Almacellas Abellana
ce4cc56cf5
Minor version bump
7 years ago
Steve Fisher
cb68215f70
Add option to trim whitespace from headers ( #491 )
...
Allow developers to trim leading/trailing spaces from headers
7 years ago
Trevor Harwell
748b663d44
Fix async pause/resume with ReadableStreamStreamer ( #490 )
...
* Fix bug where pausing and resuming asynchronously caused the csv file to be parsed incorrectly
7 years ago
Gabe Gorelick
6c3cdc2130
Enable more linting rules ( #486 )
7 years ago
Gabe Gorelick
90da3be5fb
Pass full error object on stream errors
...
Fixes #472
7 years ago
Gabe Gorelick
dfc5b7c421
Rework #166 .
7 years ago
Braden Anderson
86c37d6108
remove references to streamer._paused and fix fake chunk callbacks
7 years ago
Sergi Almacellas Abellana
1c12fcee06
Update grunt-contrib-ugligy configuration to preserve comments
...
The preseverComments option has been deprecated from version 2.x
7 years ago
Gabe Gorelick
f32186aa6e
Add eslint ( #477 )
7 years ago
Sergi Almacellas Abellana
ce6908745c
Remove tryParseFloat function
...
Since 3dbe4c92
, this function does not only try to convert float values
but also converts empty string as null. Indeed its better to join this
functionality on the existing parseDynamic function which manages the
typing of all fields.
7 years ago
Michele Fiordispina
3dbe4c92d1
Return null values when dealing with empty strings in dynamictyping mode
7 years ago
M. Wieschollek
be00d87147
Add option to configure escape character
...
Fixes #459
7 years ago
Smit Shah
ec7653dae7
Add support for spaces between quotes and separators
...
Currently if there is an space between the quote char and the line (or
field) separator Paparse will throw and error of invalid format. This
commit removes the trailing spaces so the file is parsed correctly
Fixes #452 .
7 years ago
Sergi Almacellas Abellana
a6d377b517
Patch version bump
7 years ago
lunatixcoder
d9c78a04ba
Allow to define an empty delimiter
7 years ago
Daniel Tebbutt
24e729d3e4
Send error message instead of whole error object ( #420 )
...
* Send error message instead of whole error object
Fixes #418
7 years ago
Sergi Almacellas Abellana
60141533d4
Patch version bump
7 years ago
Nic Colgrove
b5db7f08cc
Expanded error statements for malformed quoted text ( #409 )
...
* Emit error statements for malformed quoted text
Update parser to emit errors when strings do not adhere to section 2.2
and 2.3 of RFC 4180. Test cases are added to further support.
8 years ago
Sergi Almacellas Abellana
ed9ad86e67
Patch version bump
8 years ago
Sergi Almacellas Abellana
b11d0cb383
Patch version bump
8 years ago
cesare soldini
45b0de3499
Skip correctly empty lines while detecting delimiter, fixes #309 ( #404 )
...
* Skipping empty lines during guessDelimiter phase
Fixes #309
8 years ago
Sergi Almacellas Abellana
9328f4902c
Patch version bump
8 years ago
Svante
a817849947
Better recognition of node commonJS
...
resolves #391 , tested with chrome, LTS node (6.10.3) and current node (8.0.0)
8 years ago
Henri Yandell
5fa465168b
Including license statement
8 years ago
Sergi Almacellas Abellana
06aad9e130
Use tabs instead of spaces for formatting.
...
Closes #386
8 years ago
Sergi Almacellas Abellana
4d1e42b0ed
Patch version bump
8 years ago
Sergi Almacellas Abellana
0353c413e1
Do not store functions on config as it breaks using async workers
8 years ago
Sergi Almacellas Abellana
8aa60114d5
Use isFunction instead of directly testing the type the object
8 years ago
Sergi Almacellas Abellana
0b15110e5a
Patch version bump
8 years ago
Sergi Almacellas Abellana
b04fc00d0d
Test if dynamictype cache values are undefined instead of false.
...
Otherwise the false values are ignored from the cache.
8 years ago
Sergi Almacellas Abellana
e17d5c4411
Minor version bump
8 years ago