@vibeorm/adapter-bun 4.2.0 → 5.0.0

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.
@@ -20,6 +20,11 @@
20
20
  *
21
21
  * The cache is LRU-bounded so a long-running process never grows it without
22
22
  * limit.
23
+ *
24
+ * From Bun 1.4.3 `sql.unsafe(text, values)` names its statement too (B-04), so
25
+ * the adapter uses the template there only for a text whose placeholders are
26
+ * not `$1 … $n` in order with exactly n values, or that binds no value; the
27
+ * scan still decides which.
23
28
  */
24
29
  /** A SQL text split for bun:sql, with the placeholder index behind each gap. */
25
30
  export type PreparedTemplate = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeorm/adapter-bun",
3
- "version": "4.2.0",
3
+ "version": "5.0.0",
4
4
  "description": "bun:sql (Postgres) adapter for VibeORM v2",
5
5
  "keywords": [
6
6
  "orm",
@@ -43,9 +43,9 @@
43
43
  "bun": ">=1.4.1"
44
44
  },
45
45
  "dependencies": {
46
- "@vibeorm/runtime": "4.2.0",
47
- "@vibeorm/schema": "4.2.0",
48
- "@vibeorm/sql": "4.2.0"
46
+ "@vibeorm/runtime": "5.0.0",
47
+ "@vibeorm/schema": "5.0.0",
48
+ "@vibeorm/sql": "5.0.0"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"