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

backbone-db

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-db - npm Package Compare versions

Comparing version 0.4.21 to 0.4.22

5

lib/db.js

@@ -335,6 +335,9 @@ var Backbone = require('backbone');

var elapsed = Date.now() - start;
var syncInfo = {method: method, type: model.type, elapsed: elapsed, model: model.toJSON(options), options: JSON.stringify(options), res: res, response: resp};
var syncInfo = {method: method, type: model.type, elapsed: elapsed, model: model.toJSON(options), res: JSON.stringify(res)};
if(err) {
syncInfo.error = err;
}
if(options && options.where) {
syncInfo.where = options.where;
}
self.trigger('sync_info', syncInfo);

@@ -341,0 +344,0 @@ if ((err && options.error) || (!err && !res && options.error)) {

2

package.json
{
"name": "backbone-db",
"version": "0.4.21",
"version": "0.4.22",
"description": "Key-Value database storage interface, localStorage and in-process implementations",

@@ -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