Ledion Bitincka
a627547d87
Add ability to support escapeChar on unparse ( #631 )
6 years ago
janisdd
941033094a
Allow to specify the columns used for unparse ( #632 )
6 years ago
Jonathan Grimes
265e09c67a
Ensure data is correctly parsed with header: true ( #621 )
...
Fixes #619
6 years ago
Sergi Almacellas Abellana
757b1bf6e0
Add DelimitersToGuess config option ( #555 )
6 years ago
Sergi Almacellas Abellana
dc16b88e5e
Do not pass an array of array when using step and worker
...
Closes #613
6 years ago
Sergi Almacellas Abellana
f6b1b36c3f
Correctly guess deliminter when mixed with commas
...
Closes #592
6 years ago
Chris Zubak-Skees
9a541b1e56
Consistently apply regex escaping to quoteChar ( #602 )
6 years ago
Sergi Almacellas Abellana
bac638610d
Beta version bump
6 years ago
Sergi Almacellas Abellana
46160eed95
Remove Array.isArray() polyfill
...
Fixes #598
6 years ago
Jonathan Grimes
4ecae0b5bb
Support workers from inline-blobs
...
Simplify worker to just use inline-blob
6 years ago
Leo Anthias
6672789905
Remove If-None-Match header. Fixes #595 ( #596 )
6 years ago
Sergi Almacellas Abellana
a0026683f7
Return data directly on NodeStream as step function now returns a single row
6 years ago
Sergi Almacellas Abellana
a7eb6343be
Return unique row as data on step function ( #500 )
6 years ago
Gabe Gorelick
2151cf1b90
Throw Error objects instead of strings ( #497 )
...
Unlike strings, Error objects allow you to get stack traces.
Also, a lot of libraries will complain if they encounter a
thrown non-Error object.
This is in line with standard Javascript best practices.
Per https://eslint.org/docs/rules/no-throw-literal :
6 years ago
João Sardinha
c95db1f64c
Allow transforming header columns ( #589 )
...
* Deprecate trimHeaders: The same result can be achieved by using transformHeader parameter.
6 years ago
Sergi Almacellas Abellana
089b8b9070
Use 5.0.0-alpha as version number
...
Closes #582
6 years ago
Sergi Almacellas Abellana
b58a65c607
Patch version bump
6 years ago
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