backbone-db-local
Advanced tools
Comparing version 0.5.10 to 0.5.11
@@ -246,7 +246,7 @@ var Backbone = require('backdash'); | ||
create: function(model, options, cb) { | ||
debug('CREATE: %o', model.toJSON()); | ||
debug('CREATE: %o', model.toJSON(options)); | ||
var self = this; | ||
function store(model) { | ||
self.store().setItem(getKey(model), JSON.stringify(model), function(err, res) { | ||
self.store().setItem(getKey(model), JSON.stringify(model.toJSON(options)), function(err, res) { | ||
self.records.push(getKey(model)); | ||
@@ -253,0 +253,0 @@ self.save(function(err) { |
{ | ||
"name": "backbone-db-local", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"description": "Backbone-db localStorage and in-process implementation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
39925
19
1