Comparing version 2.7.0 to 2.8.0
@@ -181,2 +181,12 @@ var arrayParser = require(__dirname + "/arrayParser.js"); | ||
var parseJsonArray = function(val) { | ||
var arr = parseStringArray(val); | ||
if (!arr) { | ||
return arr; | ||
} | ||
return arr.map(function(el) { return JSON.parse(el); }); | ||
}; | ||
var init = function(register) { | ||
@@ -206,2 +216,4 @@ register(20, parseBigInteger); // int8 | ||
register(114, JSON.parse.bind(JSON)); | ||
register(199, parseJsonArray); // json[] | ||
register(2951, parseStringArray); // uuid[] | ||
}; | ||
@@ -208,0 +220,0 @@ |
{ | ||
"name": "pg.js", | ||
"version": "2.7.0", | ||
"version": "2.8.0", | ||
"description": "node-postgres without the bindings", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
75082
2470