Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.2.6 to 1.2.7

8

lib/repository.js

@@ -12,8 +12,8 @@ 'use strict';

if (options.prototype instanceof Base) {
return options;
options.type = options.type || 'inmemory';
if (_.isFunction(options.type)) {
return options.type;
}
options.type = options.type || 'inmemory';
options.type = options.type.toLowerCase();

@@ -20,0 +20,0 @@

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

if (attr.id) {
this.id = attr.id;
this.id = _.clone(attr.id);
}

@@ -35,3 +35,3 @@

this.attributes = attr;
this.attributes = _.cloneDeep(attr);
}

@@ -38,0 +38,0 @@

{
"author": "adrai",
"name": "viewmodel",
"version": "1.2.6",
"version": "1.2.7",
"private": false,

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

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

## [v1.2.7](https://github.com/adrai/node-viewmodel/compare/v1.2.6...v1.2.7)
- fix usage with own db implementation
## [v1.2.6](https://github.com/adrai/node-viewmodel/compare/v1.2.4...v1.2.6)

@@ -2,0 +5,0 @@ - added clear functionality to clear a collection

Sorry, the diff of this file is not supported yet

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