Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4710
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/core - npm Package Compare versions

Comparing version
7.1.10-dev.5
to
7.1.10-dev.6
+4
-1
metadata/Routine.js

@@ -138,4 +138,7 @@ // Resolve a `Type<unknown> | Constructor<Type<unknown>>` to an instance. Each built-in `Type` has

static is(item) {
return item instanceof Routine;
if (item instanceof Routine) {
return true;
}
return item != null && typeof item === 'object' && item.constructor?.name === 'Routine' && 'type' in item;
}
}
+1
-1
{
"name": "@mikro-orm/core",
"version": "7.1.10-dev.5",
"version": "7.1.10-dev.6",
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -156,3 +156,3 @@ import { clone } from './clone.js';

static PK_SEPARATOR = '~~~';
static #ORM_VERSION = '7.1.10-dev.5';
static #ORM_VERSION = '7.1.10-dev.6';
/**

@@ -159,0 +159,0 @@ * Checks if the argument is instance of `Object`. Returns false for arrays.