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.1 to 1.7.2

18

lib/databases/dynamodb.js

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

uuid = require('uuid').v4,
aws = require('aws-sdk'),
aws = Repository.use('aws-sdk'),
_ = require('lodash'),

@@ -53,3 +53,3 @@ collections = [];

get: function(id, callback) {
var self = this,
var self = this,
options = {};

@@ -60,3 +60,3 @@

id = null;
}
}

@@ -106,3 +106,3 @@ if (!id) {

queryOptions = {};
}
}

@@ -197,3 +197,3 @@ self.checkConnection(function(err) {

var currentHash = _.get(obj, 'hash_');
entity = currentHash ?
entity = currentHash ?
updateEntityParams(self.collectionName, obj, objDescriptor, currentHash) :

@@ -220,7 +220,7 @@ createEntityParams(self.collectionName, obj, objDescriptor);

createTableIfNotExists(
self.client,
CollectionTableDefinition(self.collectionName, self.options),
self.client,
CollectionTableDefinition(self.collectionName, self.options),
function(err){
if (err) {
// ignore ResourceInUseException
// ignore ResourceInUseException
// as there could be multiple requests attempt to create table concurrently

@@ -232,3 +232,3 @@ if (err.code === 'ResourceInUseException') {

if (callback) callback(err);
return;
return;
}

@@ -235,0 +235,0 @@ if (collections.indexOf(self.collectionName) < 0) {

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

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

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

## [v1.7.2](https://github.com/adrai/node-viewmodel/compare/v1.7.1...v1.7.2)
- correct require statement
## [v1.7.1](https://github.com/adrai/node-viewmodel/compare/v1.7.0...v1.7.1)

@@ -2,0 +5,0 @@ - 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)

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