New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backbone-db-mongodb

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-db-mongodb - npm Package Compare versions

Comparing version 0.2.10 to 0.2.11

6

index.js

@@ -154,7 +154,5 @@ var _ = require('lodash'),

var self = this;
var key = this._getCollection(model, options);
debug('create: %s', key);
if (model.isNew()) {
this.createId(model, options, function (err) {
debug('create: %s', model.id);
if (err) callback(err);

@@ -170,3 +168,3 @@ self.update(model, options, callback);

debug('createId');
var createIdFn = model.createId ? model.createId : this._createDefaultId;
var createIdFn = model.createId ? model.createId.bind(model) : this._createDefaultId;
createIdFn(function (err, id) {

@@ -173,0 +171,0 @@ model.set(model.idAttribute, id);

{
"name": "backbone-db-mongodb",
"version": "0.2.10",
"version": "0.2.11",
"description": "MongoDB driver for Backbone.Db",

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

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