You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@oridune/epic-odm

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.24 to 1.0.25

2

package.json
{
"name": "@oridune/epic-odm",
"version": "1.0.24",
"version": "1.0.25",
"description": "Install 1 ODM and code once with any database driver.",

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

@@ -39,3 +39,4 @@ "use strict";

else if (ModelOptions.fields[Key] &&
options.fieldsList[Key] === 1)
options.fieldsList[Key] === 1 &&
Item[Key] !== undefined)
ValidatedItem[Key] = await ModelOptions.fields[Key].options.validator(Item[Key], ValidatedItem, options.mode);

@@ -71,3 +72,4 @@ }));

}
else if (ModelOptions.fields[Key] || ModelOptions.metas[Key])
else if ((ModelOptions.fields[Key] || ModelOptions.metas[Key]) &&
Item[Key] !== undefined)
Item[Key] = await (ModelOptions.fields[Key] || ModelOptions.metas[Key]).options.resolver(Item[Key], Item);

@@ -74,0 +76,0 @@ }));

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc