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

mongot

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongot - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "mongot",
"version": "1.1.2",
"version": "1.1.3",
"description": "MongoT is a modern ODM library for MongoDb.",

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

@@ -36,3 +36,11 @@ "use strict";

static getSchemaMetadata(target) {
return StoreType.get(target);
const maps = [];
const proto = Object.getPrototypeOf(target);
if (proto && proto !== target && StoreType.has(proto)) {
maps.push(...this.getSchemaMetadata(proto));
}
if (StoreType.has(target)) {
maps.push(...StoreType.get(target));
}
return new Map(maps);
}

@@ -39,0 +47,0 @@ static getSchemaPropertyMetadata(target, property) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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