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.0.1 to 0.0.2

dist/BaseEntity.d.ts

2

lib/BaseEntity.ts

@@ -29,3 +29,3 @@ import { ObjectID } from 'bson';

async init(em: EntityManager): Promise<BaseEntity> {
await em.findOne(this.constructor.name, this.id);
await em.findOne(this.constructor.name, this._id);

@@ -32,0 +32,0 @@ return this;

@@ -16,3 +16,3 @@ import { merge } from 'lodash';

meta.collection = target.name.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
meta.entity = target;
meta.entity = target.name;
}

@@ -19,0 +19,0 @@

@@ -44,3 +44,3 @@ import 'reflect-metadata';

if (!this.options.logger) {
this.options.logger = () => null;
this.options.logger = (): void => null;
}

@@ -47,0 +47,0 @@

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

@@ -57,4 +57,2 @@ "main": "dist/index.js",

"reflect-metadata": "^0.1.12",
"ts-node": "^6.0.5",
"tslint": "^5.10.0",
"typescript": "^2.8.3"

@@ -67,3 +65,2 @@ },

"@types/lodash": "^4.14.109",
"@types/mocha": "^5.2.0",
"@types/mongodb": "^3.0.18",

@@ -76,5 +73,6 @@ "@types/node": "^10.1.2",

"mikro-config": "^1.2.2",
"mocha": "^5.2.0",
"ts-jest": "^22.4.6"
"ts-jest": "^22.4.6",
"ts-node": "^6.0.5",
"tslint": "^5.10.0"
}
}
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