Browse Source

Strict compare comment char and delimiter

pull/124/head 4.0.3
Matthew Holt 10 years ago
parent
commit
c483ced162
  1. 2
      bower.json
  2. 2
      package.json
  3. 4
      papaparse.js
  4. 4
      papaparse.min.js
  5. 2
      parse.jquery.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "Papa-Parse", "name": "Papa-Parse",
"version": "4.0.2", "version": "4.0.3",
"main": "papaparse.js", "main": "papaparse.js",
"homepage": "http://papaparse.com", "homepage": "http://papaparse.com",
"authors": [ "authors": [

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "papaparse", "name": "papaparse",
"version": "4.0.2", "version": "4.0.3",
"description": "Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.", "description": "Fast and powerful CSV parser for the browser that supports web workers and streaming large files. Converts CSV to JSON and JSON to CSV.",
"keywords": [ "keywords": [
"csv", "csv",

4
papaparse.js

@ -1,6 +1,6 @@
/* /*
Papa Parse Papa Parse
v4.0.2 v4.0.3
https://github.com/mholt/PapaParse https://github.com/mholt/PapaParse
*/ */
(function(global) (function(global)
@ -1064,7 +1064,7 @@
delim = ","; delim = ",";
// Comment character must be valid // Comment character must be valid
if (comments == delim) if (comments === delim)
throw "Comment character same as delimiter"; throw "Comment character same as delimiter";
else if (comments === true) else if (comments === true)
comments = "#"; comments = "#";

4
papaparse.min.js vendored

File diff suppressed because one or more lines are too long

2
parse.jquery.json

@ -1,6 +1,6 @@
{ {
"name": "parse", "name": "parse",
"version": "4.0.2", "version": "4.0.3",
"title": "Papa Parse", "title": "Papa Parse",
"description": "Powerful CSV parser that converts CSV to JSON and JSON to CSV. Supports web workers and streaming large files. Fastest CSV parser for JavaScript.", "description": "Powerful CSV parser that converts CSV to JSON and JSON to CSV. Supports web workers and streaming large files. Fastest CSV parser for JavaScript.",
"keywords": [ "keywords": [

Loading…
Cancel
Save