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
3406
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.3.0 to 0.3.1

4

dist/EntityRepository.d.ts

@@ -5,4 +5,4 @@ import { FilterQuery } from 'mongodb';

export declare class EntityRepository<T extends BaseEntity> {
private em;
private entityName;
protected em: EntityManager;
protected entityName: string;
constructor(em: EntityManager, entityName: string);

@@ -9,0 +9,0 @@ persist(entity: T, flush?: boolean): Promise<void>;

@@ -7,4 +7,4 @@ import { FilterQuery } from 'mongodb';

constructor(private em: EntityManager,
private entityName: string) { }
constructor(protected em: EntityManager,
protected entityName: string) { }

@@ -11,0 +11,0 @@ async persist(entity: T, flush = false): Promise<void> {

{
"name": "mikro-orm",
"version": "0.3.0",
"version": "0.3.1",
"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