Comparing version 0.5.2 to 0.5.3
@@ -37,3 +37,3 @@ var explicitTypes = ["number", "string"]; | ||
return true; | ||
} else if (trimed[0] === "{" && trimed[trimed.length - 1] === "}") { | ||
} else if (trimed[0] === "{" && trimed[trimed.length - 1] === "}" || trimed[0] === "[" && trimed[trimed.length - 1]==="]") { | ||
try { | ||
@@ -40,0 +40,0 @@ return JSON.parse(trimed); |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"keywords": [ | ||
@@ -27,6 +27,7 @@ "csv", | ||
"json", | ||
"convert", | ||
"parser", | ||
"exntendible", | ||
"plugin" | ||
"csv to json", | ||
"csv convert", | ||
"tojson", | ||
"convert csv to json", | ||
"csv-json" | ||
], | ||
@@ -33,0 +34,0 @@ "bin": { |
@@ -200,2 +200,3 @@ var Converter = require("../libs/core/Converter.js"); | ||
assert(d.column10[1]===31); | ||
assert(d.column11[0].hello==="world"); | ||
assert(d["name#!"]==="sss"); | ||
@@ -202,0 +203,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
774187
11731
5