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

@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

@oridune/epic-odm - npm Package Compare versions

Comparing version 1.0.63 to 1.0.64

2

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

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

@@ -89,5 +89,7 @@ "use strict";

// Get Field Data Type
const DataType = options.type ||
Reflect.getMetadata("design:type", modelInstance, field) ||
Object;
const DataType = options.choices instanceof Array
? String
: options.type ||
Reflect.getMetadata("design:type", modelInstance, field) ||
Object;
// Update Length If Undefined Based on DataType

@@ -94,0 +96,0 @@ if (DataType === Number && options.length === undefined)

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