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
Adi Roiban
6ef8865a7c
Forward the exit code from phantom to the npm script. ( #523 )
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
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
Sergi Almacellas Abellana
30f8a39701
Load mocha as first script on test scenario
...
Also remove uneeded jQuery import
Fixes #493
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
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
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