@mikro-orm/sql-js 7.3.0-dev.4 → 7.3.0-dev.6

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.
@@ -1,11 +1,9 @@
1
- // the ambient declaration has to be pulled in explicitly, consumers compile our sources via the `exports` map
2
- // eslint-disable-next-line typescript/triple-slash-reference
3
- /// <reference path="./sql-js.d.ts" />
4
1
  import { BaseSqliteConnection } from '@mikro-orm/sql';
5
2
  import { SqliteDialect } from 'kysely';
3
+ // sql.js ships no types and JSR rejects ambient module declarations; `ts-ignore` (not `expect-error`) as consumers may have `@types/sql.js`
4
+ // @ts-ignore
6
5
  import initSqlJs from 'sql.js';
7
6
  import { SqlJsDatabase } from './SqlJsDatabase.js';
8
- // the ambient `sql.js` declaration is intentionally loose, our own types describe what we actually use
9
7
  const init = initSqlJs;
10
8
  /** In-memory SQLite connection backed by sql.js (SQLite compiled to WebAssembly). */
11
9
  export class SqlJsConnection extends BaseSqliteConnection {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/sql-js",
3
- "version": "7.3.0-dev.4",
3
+ "version": "7.3.0-dev.6",
4
4
  "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
5
  "keywords": [
6
6
  "data-mapper",
@@ -49,15 +49,15 @@
49
49
  "copy": "node ../../scripts/copy.mjs"
50
50
  },
51
51
  "dependencies": {
52
- "@mikro-orm/sql": "7.3.0-dev.4",
52
+ "@mikro-orm/sql": "7.3.0-dev.6",
53
53
  "kysely": "0.29.6",
54
54
  "sql.js": "1.14.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@mikro-orm/core": "^7.2.1"
57
+ "@mikro-orm/core": "^7.2.2"
58
58
  },
59
59
  "peerDependencies": {
60
- "@mikro-orm/core": "7.3.0-dev.4"
60
+ "@mikro-orm/core": "7.3.0-dev.6"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">= 22.17.0"