uql-orm 0.116.1 → 0.116.3
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
type DependenciesOf<N> = (node: N) => Iterable<N>;
|
|
6
6
|
/**
|
|
7
7
|
* Nodes in creation order, dependencies first. Cycle-tolerant: a cyclic foreign key is legal SQL,
|
|
8
|
-
*
|
|
8
|
+
* whose rows a nullable column lets be written in turn, so a cycle orders arbitrarily rather than throwing.
|
|
9
9
|
*/
|
|
10
10
|
export declare function createOrder<N>(nodes: Iterable<N>, dependenciesOf: DependenciesOf<N>): N[];
|
|
11
11
|
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Nodes in creation order, dependencies first. Cycle-tolerant: a cyclic foreign key is legal SQL,
|
|
7
|
-
*
|
|
7
|
+
* whose rows a nullable column lets be written in turn, so a cycle orders arbitrarily rather than throwing.
|
|
8
8
|
*/
|
|
9
9
|
export function createOrder(nodes, dependenciesOf) {
|
|
10
10
|
const ordered = [];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"homepage": "https://uql-orm.dev",
|
|
4
4
|
"description": "JSON-native TypeScript ORM for Bun, Browsers, Edge, Node, Workers. Supports PostgreSQL, PGlite, MySQL, MariaDB, SQLite, CockroachDB, SQL Server, Turso, Neon, Cloudflare D1 and MongoDB. Queries are plain JSON, typed to the leaf.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.116.
|
|
6
|
+
"version": "0.116.3",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"engines": {
|
|
9
9
|
"node": ">=22.18"
|
|
@@ -118,13 +118,13 @@
|
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@electric-sql/pglite": "0.5.
|
|
122
|
-
"@electric-sql/pglite-pgvector": "0.0.
|
|
121
|
+
"@electric-sql/pglite": "0.5.16",
|
|
122
|
+
"@electric-sql/pglite-pgvector": "0.0.17",
|
|
123
123
|
"@libsql/client": "^0.18.0",
|
|
124
|
-
"@neondatabase/serverless": "^1.2.
|
|
125
|
-
"@nestjs/common": "^12.
|
|
126
|
-
"@nestjs/core": "^12.
|
|
127
|
-
"@nestjs/testing": "^12.
|
|
124
|
+
"@neondatabase/serverless": "^1.2.1",
|
|
125
|
+
"@nestjs/common": "^12.5.0",
|
|
126
|
+
"@nestjs/core": "^12.5.0",
|
|
127
|
+
"@nestjs/testing": "^12.5.0",
|
|
128
128
|
"@tursodatabase/database": "^0.8.3",
|
|
129
129
|
"@tursodatabase/serverless": "^1.4.1",
|
|
130
130
|
"@types/better-sqlite3": "^9.6.0",
|
|
@@ -132,17 +132,17 @@
|
|
|
132
132
|
"@types/mssql": "^12.3.0",
|
|
133
133
|
"@types/pg": "^8.23.1",
|
|
134
134
|
"@types/ws": "^8.18.2",
|
|
135
|
-
"better-sqlite3": "^13.
|
|
135
|
+
"better-sqlite3": "^13.1.1",
|
|
136
136
|
"express": "^5.3.0",
|
|
137
137
|
"mariadb": "^3.5.5",
|
|
138
|
-
"mongodb": "^7.
|
|
138
|
+
"mongodb": "^7.9.0",
|
|
139
139
|
"mssql": "^12.7.14",
|
|
140
140
|
"mysql2": "^3.24.6",
|
|
141
141
|
"pg": "^8.23.1",
|
|
142
142
|
"pg-query-stream": "^4.17.1",
|
|
143
143
|
"rxjs": "^7.8.2",
|
|
144
144
|
"sqlite-vec": "^0.1.9",
|
|
145
|
-
"ws": "^8.
|
|
145
|
+
"ws": "^8.23.0"
|
|
146
146
|
},
|
|
147
147
|
"author": "Roger Padilla",
|
|
148
148
|
"repository": {
|