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
Martin Blom
03eaf76ed5
Add support for Node Streams ( #370 )
...
* Node Readable Stream support.
* Updated README with info regarding the Node support.
* Added a simple test for Node Readable Stream parsing.
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
8519f07aed
tests: Support phantomjs testing
10 years ago
Tobias Bieniek
a9a981f668
test-cases: Conditionally disable custom test using File API
10 years ago
Tobias Bieniek
efafabafdb
Use "mocha" for browser tests
10 years ago
Tobias Bieniek
6048ec6e0c
Use "mocha" for node tests
10 years ago
Tobias Bieniek
3c309274a3
package.json: Extract "test-browser" and "test-node" scripts
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
Rob Dupuis
f51c552917
Added first cut of some tests for using PapaParse as a Node module
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
Braden Anderson
089d188084
use parser to find last row end in chunks
10 years ago
Braden Anderson
be2c65385c
provide current cursor to step callback
10 years ago
Braden Anderson
a90899a5f9
add tiny server for running tests locally
...
This avoids the security restrictions on web workers over file://.
10 years ago
Matthew Holt
b1f12aef39
Strict equals in tight loop; added test case
10 years ago
Matthew Holt
f1eeb6f1ae
Fixed #121 , simplified quote handling logic (yay)
10 years ago
Matthew Holt
2afb936a7d
Fix #115
10 years ago
Matthew Holt
a126dd250e
Minor fix for some quotes; new test cases
10 years ago
Matthew Holt
e31c231dd7
Test cases for fast mode; preview fix
10 years ago
Matthew Holt
3ea908439f
Rewrote core parser; speed improvements, more tests, bug fixes
10 years ago
Matthew Holt
2caa971ef6
Convert "TRUE"/"FALSE" to boolean with dynamicTyping; fixes #108
10 years ago
Paul
e65315e8b2
Allow tests to be run from subdirectories
...
This fixes a bug where currently if you try and run tests.html from a subdirectory e.g. /js/third_party/papaparse/tests/tests.html the 2 tests above will fail.
10 years ago
Matthew Holt
423e02c923
Handling extra fields with header row appropriately ( fixes #83 )
11 years ago