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

p-odm

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-odm - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

3

lib/protos/freemodel.js

@@ -440,4 +440,5 @@ /**

var indexFields = Object.keys(fieldOrSpec);
var generateFinder = options.generateFinder === undefined || options.generateFinder === true;
if (indexFields.length === 1) {
if (generateFinder && indexFields.length === 1) {
var field = indexFields[0];

@@ -444,0 +445,0 @@ // only create special finder if the index is not on a sub document

@@ -543,4 +543,5 @@ /**

var indexFields = Object.keys(fieldOrSpec);
var generateFinder = options.generateFinder === undefined || options.generateFinder === true;
if (indexFields.length === 1) {
if (generateFinder && indexFields.length === 1) {
var field = indexFields[0];

@@ -547,0 +548,0 @@ // only create special finder if the index is not on a sub document

@@ -8,3 +8,3 @@ {

],
"version": "3.1.3",
"version": "3.1.4",
"engines": {

@@ -11,0 +11,0 @@ "node": ">=0.4.12"

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