viewmodel
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -9,2 +9,3 @@ 'use strict'; | ||
redis = require('redis'), | ||
jsonSerializer = require('json-serialize'), | ||
async = require('async'), | ||
@@ -146,3 +147,3 @@ _ = require('lodash'); | ||
try { | ||
item = JSON.parse(data.toString()); | ||
item = jsonSerializer.deserialize(data.toString()); | ||
} catch (error) { | ||
@@ -195,3 +196,3 @@ if (callback) callback(err); | ||
try { | ||
result = JSON.parse(data.toString()); | ||
result = jsonSerializer.deserialize(data.toString()); | ||
} catch (error) { | ||
@@ -198,0 +199,0 @@ if (callback) callback(err); |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
#### v1.0.3 | ||
- parse json with json-serialize | ||
#### v1.0.2 | ||
@@ -2,0 +5,0 @@ - mongodb define index as string too |
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
49625
1344