Sergi Almacellas Abellana
8af1d23646
Correctly guess deliminter when mixed with commas
...
Closes #592
6 years ago
Chris Zubak-Skees
886fdf3cb2
Consistently apply regex escaping to quoteChar ( #602 )
6 years ago
Jay L
fff1ee1be6
Fixes unparsing using 'skipEmptyLines' = 'greedy' when using headers ( #569 )
6 years ago
Jay L
953dd9873c
Use 'greedy' skipEmptyLines in unparse ( #554 )
...
Resolves #553
7 years ago
Jay L
8e16bfa703
Add Option to skip lines with no content ( #544 )
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
Sergi Almacellas Abellana
0b3f29c353
Remove non needed test cases
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
e5aeed6cbd
Use more verbose test description
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
Eric Fossas
739476ecdf
Ignore lines with comments when guessing delimiter ( #503 )
7 years ago
Sergi Almacellas Abellana
23ad635304
Improve test name and ensure data is not trimmed when trimHeaders is set
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
Gabe Gorelick
6c3cdc2130
Enable more linting rules ( #486 )
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
Gabe Gorelick
f32186aa6e
Add eslint ( #477 )
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
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
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
06aad9e130
Use tabs instead of spaces for formatting.
...
Closes #386
8 years ago
vyrak bunleang
f8255fdf51
add ability to configure which columns are dynamically typed
8 years ago
Sergi Almacellas Abellana
229af70497
Add test case for headers with preceding comments
...
As described in #351
8 years ago
Prayash Mohapatra
32cc6cad64
Add Custom Quote Character to unparse ( #329 )
8 years ago
Tijs Zwinkels
68e3a6d803
header: option for unparse - Test
8 years ago
marshall007
7225d8ec79
Support dynamic typing on explicitly defined columns
9 years ago
Michael Orchard
787ac7d8f7
Add callback option for specifying delimiter.
9 years ago
Prayash Mohapatra
adba1c0955
Add custom quote character option for parsing CSV files
9 years ago
Leif Schjeide
4569c6d486
Fixes auto detecting mixed line endings
9 years ago
Paul Harper
871a20db2e
Using PapaParse inside a worker
...
Fixes #188
10 years ago
Braden Anderson
69eeb71df6
handle empty quoted field at EOF
10 years ago
Tobias Bieniek
212ee33f5c
test-cases: require() necessary test dependencies if running on NodeJS
10 years ago
Tobias Bieniek
678ac76479
tests: Merge test-runner.js into test-cases.js
...
Removed the second <script> tag and the need to require() something on NodeJS
10 years ago
Tobias Bieniek
06a628409a
test-cases: Conditionally disable tests if XMLHttpRequest is unavailable
...
i.e. on NodeJS
10 years ago
Tobias Bieniek
a9a981f668
test-cases: Conditionally disable custom test using File API
10 years ago
Matthew Holt
1c64d5c098
Refactored chunkIndex into isFirstChunk
10 years ago
Braden Anderson
b18bb8c888
beforeFirstChunk callback, fixes #186
10 years ago
John MacAslan
77c3e6162f
updated tests to check complete is called after aborted
10 years ago
Braden Anderson
b038e4799e
read files in a single chunk for complete results ( #179 )
10 years ago
John MacAslan
208b229a3a
fixed support for aborting parsing
10 years ago
Matthew Holt
4efe5b68f9
Dynamic typing converts "TRUE" and "FALSE" to boolean
10 years ago
Matthew Holt
8f3f41b7c7
Allow multiple-char delimiters ( closes #160 )
10 years ago
Matthew Holt
22d321095c
Cleanup and various minor fixes galore! ( #136 and #138 )
10 years ago
Braden Anderson
57a7349c41
more refactoring: StringStreamer
10 years ago
Matthew Holt
4ce1458df2
Fixed a couple test cases
10 years ago
Braden Anderson
889b30cfaf
allow aborting workers
10 years ago