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.7.0 to 1.7.1

6

lib/databases/dynamodb.js

@@ -159,3 +159,3 @@ 'use strict';

case 'delete':
obj = vm.toJSON();
obj = vm.attributes;
if(!_.has(obj, 'hash_')){

@@ -178,3 +178,3 @@ if (callback) callback(null, vm);

case 'create':
obj = vm.toJSON();
obj = vm.attributes;
entity = createEntityParams(self.collectionName, obj, objDescriptor);

@@ -193,3 +193,3 @@ self.documentClient.put(entity, function(err, data) {

case 'update':
obj = vm.toJSON();
obj = vm.attributes;
var currentHash = _.get(obj, 'hash_');

@@ -196,0 +196,0 @@ entity = currentHash ?

{
"author": "adrai",
"name": "viewmodel",
"version": "1.7.0",
"version": "1.7.1",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -297,2 +297,3 @@ # Introduction

9. elasticsearch6 ([elasticsearch] (https://github.com/elastic/elasticsearch-js)) - for Elasticsearch 5.x and 6.x
10. dynamodb ([aws-sdk] (https://github.com/aws/aws-sdk-js))

@@ -299,0 +300,0 @@ ## own db implementation

@@ -0,1 +1,4 @@

## [v1.7.1](https://github.com/adrai/node-viewmodel/compare/v1.7.0...v1.7.1)
- fix the Viewmodel toJSON method deserialize date ISO string to a date [#53](https://github.com/adrai/node-viewmodel/pull/53) thanks to [emmkong](https://github.com/emmkong)
## [v1.7.0](https://github.com/adrai/node-viewmodel/compare/v1.6.0...v1.7.0)

@@ -2,0 +5,0 @@ - AWS DynamoDb implementation [#52](https://github.com/adrai/node-viewmodel/pull/52) thanks to [emmkong](https://github.com/emmkong)

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