@mikro-orm/sqlite 7.0.0-dev.93 → 7.0.0-dev.97
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/SqliteConnection.d.ts +1 -1
- package/SqliteConnection.js +1 -1
- package/SqliteDriver.d.ts +1 -1
- package/SqliteDriver.js +1 -1
- package/SqliteMikroORM.d.ts +1 -1
- package/SqlitePlatform.d.ts +1 -1
- package/SqlitePlatform.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
package/SqliteConnection.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSqliteConnection, type Dictionary } from '@mikro-orm/
|
|
1
|
+
import { BaseSqliteConnection, type Dictionary } from '@mikro-orm/sql';
|
|
2
2
|
import { type Dialect } from 'kysely';
|
|
3
3
|
export declare class SqliteConnection extends BaseSqliteConnection {
|
|
4
4
|
private database;
|
package/SqliteConnection.js
CHANGED
package/SqliteDriver.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Configuration } from '@mikro-orm/core';
|
|
2
|
-
import { AbstractSqlDriver } from '@mikro-orm/
|
|
2
|
+
import { AbstractSqlDriver } from '@mikro-orm/sql';
|
|
3
3
|
import { SqliteConnection } from './SqliteConnection.js';
|
|
4
4
|
export declare class SqliteDriver extends AbstractSqlDriver<SqliteConnection> {
|
|
5
5
|
constructor(config: Configuration);
|
package/SqliteDriver.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractSqlDriver } from '@mikro-orm/
|
|
1
|
+
import { AbstractSqlDriver } from '@mikro-orm/sql';
|
|
2
2
|
import { SqliteConnection } from './SqliteConnection.js';
|
|
3
3
|
import { SqlitePlatform } from './SqlitePlatform.js';
|
|
4
4
|
export class SqliteDriver extends AbstractSqlDriver {
|
package/SqliteMikroORM.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type AnyEntity, type EntityClass, type EntitySchema, MikroORM, type Options, type IDatabaseDriver, type EntityManager, type EntityManagerType } from '@mikro-orm/core';
|
|
2
|
-
import type { SqlEntityManager } from '@mikro-orm/
|
|
2
|
+
import type { SqlEntityManager } from '@mikro-orm/sql';
|
|
3
3
|
import { SqliteDriver } from './SqliteDriver.js';
|
|
4
4
|
export type SqliteOptions<EM extends SqlEntityManager<SqliteDriver> = SqlEntityManager<SqliteDriver>, Entities extends (string | EntityClass<AnyEntity> | EntitySchema)[] = (string | EntityClass<AnyEntity> | EntitySchema)[]> = Options<SqliteDriver, EM, Entities>;
|
|
5
5
|
export declare function defineSqliteConfig<EM extends SqlEntityManager<SqliteDriver> = SqlEntityManager<SqliteDriver>, Entities extends (string | EntityClass<AnyEntity> | EntitySchema)[] = (string | EntityClass<AnyEntity> | EntitySchema)[]>(options: Options<SqliteDriver, EM, Entities>): Options<SqliteDriver, EM, Entities>;
|
package/SqlitePlatform.d.ts
CHANGED
package/SqlitePlatform.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import SqlString from 'sqlstring-sqlite';
|
|
3
|
-
import { BaseSqlitePlatform } from '@mikro-orm/
|
|
3
|
+
import { BaseSqlitePlatform } from '@mikro-orm/sql';
|
|
4
4
|
export class SqlitePlatform extends BaseSqlitePlatform {
|
|
5
5
|
escape(value) {
|
|
6
6
|
return SqlString.escape(value, true, this.timezone);
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/sqlite",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-dev.
|
|
4
|
+
"version": "7.0.0-dev.97",
|
|
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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@mikro-orm/
|
|
54
|
-
"better-sqlite3": "
|
|
53
|
+
"@mikro-orm/sql": "7.0.0-dev.97",
|
|
54
|
+
"better-sqlite3": "12.5.0",
|
|
55
55
|
"sqlstring-sqlite": "0.1.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"kysely": "0.28.8"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@mikro-orm/core": "7.0.0-dev.
|
|
62
|
+
"@mikro-orm/core": "7.0.0-dev.97",
|
|
63
63
|
"kysely": "*"
|
|
64
64
|
}
|
|
65
65
|
}
|