Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewmodel - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

lib/databases/redis.js

@@ -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);

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc