uql-orm 0.4.1 → 0.4.4
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/CHANGELOG.md +7 -17
- package/README.md +1 -1
- package/dist/browser/uql-browser.min.js +31 -30
- package/dist/browser/uql-browser.min.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [0.4.1](https://github.com/rogerpadilla/uql/compare/uql-orm@0.4.0...uql-orm@0.4.1) (2026-03-13)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Features
|
|
10
|
-
|
|
11
|
-
* implement cursor-based stream with across all queriers and deprecate in favor of ([2d6c2ea](https://github.com/rogerpadilla/uql/commit/2d6c2ea0851d9c20ca9d092717087eaa65e5f937))
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
1
|
# Changelog
|
|
18
2
|
|
|
19
3
|
All notable changes to this project will be documented in this file. Please add new changes to the top.
|
|
20
4
|
|
|
21
5
|
date format is [yyyy-mm-dd]
|
|
22
6
|
|
|
7
|
+
## [0.4.4] - 2026-03-14
|
|
8
|
+
### Dependencies
|
|
9
|
+
- **Vite 7 → 8**: Upgraded to Vite 8 (powered by Rolldown), replacing the `vite-tsconfig-paths` plugin with Vite's built-in `resolve.tsconfigPaths` option.
|
|
10
|
+
- **TypeScript 5.9 → 6.0**: Upgraded to TypeScript 6.0.1-rc. Removed 6 redundant compiler options now default in TS6: `strict`, `strictNullChecks`, `noImplicitAny`, `esModuleInterop`, `allowSyntheticDefaultImports`, `useDefineForClassFields`.
|
|
11
|
+
- Removed `vite-tsconfig-paths` (replaced by built-in Vite 8 feature).
|
|
12
|
+
|
|
23
13
|
## [0.4.1] - 2026-03-13
|
|
24
14
|
### Documentation
|
|
25
15
|
- Removed Discord badge from README temporarily.
|
|
@@ -541,7 +531,7 @@ date format is [yyyy-mm-dd]
|
|
|
541
531
|
Reflect major changes in the package structure and dependencies.
|
|
542
532
|
|
|
543
533
|
## [2.0.0] - 2025-12-29
|
|
544
|
-
- **Major Rebranding**: Rebranded the project from **Nukak** to **UQL** (Universal Query Language -
|
|
534
|
+
- **Major Rebranding**: Rebranded the project from **Nukak** to **UQL** (Universal Query Language - back to its original name!).
|
|
545
535
|
- New Slogan: **"One Language. Frontend to Backend."**
|
|
546
536
|
- Project homepage: [uql-orm.dev](https://uql-orm.dev).
|
|
547
537
|
- **Package Unification**: Unified all database adapters (`mysql`, `postgres`, `maria`, `sqlite`, `mongo`) and `express` middleware into a single core package: `uql-orm`.
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/rogerpadilla/uql) [](https://coveralls.io/github/rogerpadilla/uql?branch=main) [](https://github.com/rogerpadilla/uql/blob/main/LICENSE) [](https://www.npmjs.com/package/uql-orm)
|
|
6
6
|
|
|
7
|
-
**[UQL](https://uql-orm.dev)** is the [
|
|
7
|
+
**[UQL](https://uql-orm.dev)** is the [best TypeScript ORM](https://www.uql-orm.dev/blog/in-search-of-the-fastest-typescript-orm/). It is engineered to be **fast**, **safe**, and **universally compatible**.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
```ts
|
|
@@ -978,7 +978,7 @@ function getDdlForTable(entity, querier, primaryKeyType) {
|
|
|
978
978
|
}
|
|
979
979
|
|
|
980
980
|
// src/index.ts
|
|
981
|
-
var
|
|
981
|
+
var b = {
|
|
982
982
|
reset: [
|
|
983
983
|
0,
|
|
984
984
|
0
|
|
@@ -1146,37 +1146,38 @@ var d = {
|
|
|
1146
1146
|
49
|
|
1147
1147
|
]
|
|
1148
1148
|
};
|
|
1149
|
-
function
|
|
1149
|
+
function i(e) {
|
|
1150
1150
|
return String(e);
|
|
1151
1151
|
}
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
function
|
|
1155
|
-
let e = typeof process != "undefined" ? process : void 0,
|
|
1156
|
-
return !("NO_COLOR" in
|
|
1157
|
-
}
|
|
1158
|
-
function
|
|
1159
|
-
let
|
|
1160
|
-
let
|
|
1161
|
-
do
|
|
1162
|
-
while (~
|
|
1163
|
-
return
|
|
1164
|
-
},
|
|
1165
|
-
let
|
|
1166
|
-
let s = String(
|
|
1167
|
-
return ~
|
|
1152
|
+
i.open = "";
|
|
1153
|
+
i.close = "";
|
|
1154
|
+
function B() {
|
|
1155
|
+
let e = typeof process != "undefined" ? process : void 0, r = (e == null ? void 0 : e.env) || {}, a = r.FORCE_TTY !== "false", l = (e == null ? void 0 : e.argv) || [];
|
|
1156
|
+
return !("NO_COLOR" in r || l.includes("--no-color")) && ("FORCE_COLOR" in r || l.includes("--color") || (e == null ? void 0 : e.platform) === "win32" || a && r.TERM !== "dumb" || "CI" in r) || typeof window != "undefined" && !!window.chrome;
|
|
1157
|
+
}
|
|
1158
|
+
function C({ force: e } = {}) {
|
|
1159
|
+
let r = e || B(), a = (t, o, u, n)=>{
|
|
1160
|
+
let g = "", s = 0;
|
|
1161
|
+
do g += t.substring(s, n) + u, s = n + o.length, n = t.indexOf(o, s);
|
|
1162
|
+
while (~n)
|
|
1163
|
+
return g + t.substring(s);
|
|
1164
|
+
}, l = (t, o, u = t)=>{
|
|
1165
|
+
let n = (g)=>{
|
|
1166
|
+
let s = String(g), h = s.indexOf(o, t.length);
|
|
1167
|
+
return ~h ? t + a(s, o, u, h) + o : t + s + o;
|
|
1168
1168
|
};
|
|
1169
|
-
return
|
|
1170
|
-
},
|
|
1171
|
-
isColorSupported:
|
|
1172
|
-
},
|
|
1173
|
-
for(let
|
|
1174
|
-
let
|
|
1175
|
-
|
|
1176
|
-
}
|
|
1177
|
-
return
|
|
1178
|
-
}
|
|
1179
|
-
var
|
|
1169
|
+
return n.open = t, n.close = o, n;
|
|
1170
|
+
}, c = {
|
|
1171
|
+
isColorSupported: r
|
|
1172
|
+
}, f = (t)=>`\x1B[${t}m`;
|
|
1173
|
+
for(let t in b){
|
|
1174
|
+
let o = b[t];
|
|
1175
|
+
c[t] = r ? l(f(o[0]), f(o[1]), o[2]) : i;
|
|
1176
|
+
}
|
|
1177
|
+
return c;
|
|
1178
|
+
}
|
|
1179
|
+
var d = C();
|
|
1180
|
+
var y = d;
|
|
1180
1181
|
|
|
1181
1182
|
function _mergeNamespaces$1(n, m) {
|
|
1182
1183
|
m.forEach(function(e) {
|
|
@@ -2170,7 +2171,7 @@ function validateOptions(options) {
|
|
|
2170
2171
|
function getColorsHighlight() {
|
|
2171
2172
|
return DEFAULT_THEME_KEYS.reduce((colors, key)=>{
|
|
2172
2173
|
const value = DEFAULT_THEME[key];
|
|
2173
|
-
const color = value &&
|
|
2174
|
+
const color = value && y[value];
|
|
2174
2175
|
if (color && typeof color.close === "string" && typeof color.open === "string") {
|
|
2175
2176
|
colors[key] = color;
|
|
2176
2177
|
} else {
|