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
1
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.3.3 to 0.3.4

8

lib/db.js

@@ -51,2 +51,10 @@ var Backbone = require('backbone');

// convert Objects in where options (in case they are e.g. MongoDB ObjectIDs)
_.each(filterOptions.where, function(val, key) {
// hack to check if val can be casted to string
if (_.isObject(val) && val.toString().indexOf('[') === -1) {
filterOptions.where[key] = val.toString();
}
});
var filteredModels = [];

@@ -53,0 +61,0 @@ var jq = jsonquery(filterOptions.where);

2

package.json
{
"name": "backbone-db",
"version": "0.3.3",
"version": "0.3.4",
"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