@mikro-orm/core 7.0.0-dev.90 → 7.0.0-dev.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/Utils.js +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.92",
|
|
5
5
|
"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.",
|
|
6
6
|
"exports": {
|
|
7
7
|
"./package.json": "./package.json",
|
package/utils/Utils.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare function compareBuffers(a: Uint8Array, b: Uint8Array): boolean;
|
|
|
12
12
|
export declare function equals(a: any, b: any): boolean;
|
|
13
13
|
export declare function parseJsonSafe<T = unknown>(value: unknown): T;
|
|
14
14
|
export declare class Utils {
|
|
15
|
+
#private;
|
|
15
16
|
static readonly PK_SEPARATOR = "~~~";
|
|
16
17
|
static dynamicImportProvider: (id: string) => Promise<any>;
|
|
17
18
|
/**
|
package/utils/Utils.js
CHANGED
|
@@ -125,6 +125,7 @@ export function parseJsonSafe(value) {
|
|
|
125
125
|
}
|
|
126
126
|
export class Utils {
|
|
127
127
|
static PK_SEPARATOR = '~~~';
|
|
128
|
+
static #ORM_VERSION = '7.0.0-dev.92';
|
|
128
129
|
/* v8 ignore next */
|
|
129
130
|
static dynamicImportProvider = (id) => import(id);
|
|
130
131
|
/**
|
|
@@ -728,7 +729,7 @@ export class Utils {
|
|
|
728
729
|
return this.dynamicImportProvider(specifier);
|
|
729
730
|
}
|
|
730
731
|
static getORMVersion() {
|
|
731
|
-
return
|
|
732
|
+
return this.#ORM_VERSION;
|
|
732
733
|
}
|
|
733
734
|
static createFunction(context, code) {
|
|
734
735
|
try {
|