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

mikro-orm

Package Overview
Dependencies
Maintainers
1
Versions
3403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mikro-orm - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

3

dist/EntityManager.js

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

const ids = Utils_1.Utils.unique(children.map(e => e[field].id));
await this.find(entities[0][field].constructor.name, { _id: { $in: ids } });
const meta = this.metadata[entities[0].constructor.name].properties[field];
await this.find(meta.type, { _id: { $in: ids } });
}

@@ -204,0 +205,0 @@ runHooks(type, entity) {

@@ -249,3 +249,4 @@ import { Collection as MongoCollection, Db, FilterQuery, ObjectID } from 'mongodb';

const ids = Utils.unique(children.map(e => e[field].id));
await this.find<BaseEntity>(entities[0][field].constructor.name, { _id: { $in: ids } });
const meta = this.metadata[entities[0].constructor.name].properties[field];
await this.find<BaseEntity>(meta.type, { _id: { $in: ids } });
}

@@ -252,0 +253,0 @@

{
"name": "mikro-orm",
"version": "0.7.3",
"version": "0.7.4",
"description": "Simple typescript mongo ORM for node.js based on data-mapper, unit-of-work and identity-map patterns",

@@ -5,0 +5,0 @@ "main": "dist/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