@atscript/db 0.1.127 → 0.1.128

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.
Files changed (33) hide show
  1. package/dist/{db-readable-BkAGccv9.d.mts → db-readable-BTl4NzNN.d.mts} +289 -16
  2. package/dist/{db-readable-C0nDKX8A.d.cts → db-readable-CkbZn_z-.d.cts} +289 -16
  3. package/dist/{db-space-B_ASuDaR.d.mts → db-space-BEB5Jl8M.d.mts} +81 -29
  4. package/dist/{db-space-CSntT6yS.d.cts → db-space-BevOyVrC.d.cts} +81 -29
  5. package/dist/{db-view-BP0Qbeux.cjs → db-view-C8-MsjND.cjs} +696 -97
  6. package/dist/{db-view-C8rZM5_N.mjs → db-view-Ck0I-PMI.mjs} +643 -98
  7. package/dist/index.cjs +46 -2
  8. package/dist/index.d.cts +162 -37
  9. package/dist/index.d.mts +162 -37
  10. package/dist/index.mjs +36 -4
  11. package/dist/{ops-DJRnNTVo.d.cts → ops-AqhV7s9o.d.cts} +24 -1
  12. package/dist/{ops-DJRnNTVo.d.mts → ops-AqhV7s9o.d.mts} +24 -1
  13. package/dist/ops.cjs +43 -0
  14. package/dist/ops.d.cts +2 -2
  15. package/dist/ops.d.mts +2 -2
  16. package/dist/ops.mjs +43 -1
  17. package/dist/plugin.cjs +12 -5
  18. package/dist/plugin.mjs +12 -5
  19. package/dist/rel.d.cts +1 -1
  20. package/dist/rel.d.mts +1 -1
  21. package/dist/sync.cjs +1096 -361
  22. package/dist/sync.d.cts +234 -15
  23. package/dist/sync.d.mts +234 -15
  24. package/dist/sync.mjs +1095 -362
  25. package/dist/{validator-CSGug4vg.cjs → validator-BNUHCXIE.cjs} +31 -2
  26. package/dist/{validator-BcBtg8yW.d.cts → validator-DuAmWc8L.d.cts} +38 -1
  27. package/dist/{validator-BcBtg8yW.d.mts → validator-DuAmWc8L.d.mts} +38 -1
  28. package/dist/{validator-0vRXN51D.mjs → validator-eKYWf3xf.mjs} +20 -3
  29. package/dist/validator.cjs +7 -1
  30. package/dist/validator.d.cts +3 -3
  31. package/dist/validator.d.mts +3 -3
  32. package/dist/validator.mjs +4 -3
  33. package/package.json +8 -8
@@ -1,6 +1,23 @@
1
1
  const require_db_error = require("./db-error-DXwEzmYJ.cjs");
2
2
  const require_ops = require("./ops.cjs");
3
3
  let _atscript_typescript_utils = require("@atscript/typescript/utils");
4
+ //#region src/shared/object.ts
5
+ /**
6
+ * Plain object: prototype is `Object.prototype` or `null` — never a class
7
+ * instance (`Date`, `Uint8Array`, `ObjectId`, …) and never an array.
8
+ * Browser-safe; shared by the write paths, the HTTP shape gate and the client.
9
+ */
10
+ function isPlainObject(value) {
11
+ if (typeof value !== "object" || value === null) return false;
12
+ const proto = Object.getPrototypeOf(value);
13
+ return proto === Object.prototype || proto === null;
14
+ }
15
+ /** Zero-allocation emptiness check for a plain object (`{}` → `true`). */
16
+ function isEmptyObject(obj) {
17
+ for (const _ in obj) return false;
18
+ return true;
19
+ }
20
+ //#endregion
4
21
  //#region src/patch/patch-types.ts
5
22
  /**
6
23
  * Extracts `@expect.array.key` properties from an array-of-objects type.
@@ -75,9 +92,9 @@ function createDbValidatorPlugin() {
75
92
  if (isTo || isFrom || isVia) return handleNavField(ctx, def, value, dbCtx, isTo, isFrom, isVia);
76
93
  if (value === void 0 && (dbCtx.mode === "insert" || dbCtx.mode === "replace")) {
77
94
  const meta = def.metadata;
78
- const hasDefault = meta.has("db.default") || meta.has("db.default.increment") || meta.has("db.default.uuid") || meta.has("db.default.now");
95
+ const serverManaged = meta.has("db.default") || meta.has("db.default.increment") || meta.has("db.default.uuid") || meta.has("db.default.now") || meta.has("db.column.version");
79
96
  const hasFK = meta.has("db.rel.FK");
80
- if (hasDefault || hasFK) {
97
+ if (serverManaged || hasFK) {
81
98
  if (dbCtx.mode === "replace" && meta.has("meta.id") && !isInsideNavField(ctx.path, dbCtx.navFields)) return;
82
99
  return true;
83
100
  }
@@ -425,9 +442,21 @@ Object.defineProperty(exports, "getKeyProps", {
425
442
  return getKeyProps;
426
443
  }
427
444
  });
445
+ Object.defineProperty(exports, "isEmptyObject", {
446
+ enumerable: true,
447
+ get: function() {
448
+ return isEmptyObject;
449
+ }
450
+ });
428
451
  Object.defineProperty(exports, "isNavRelation", {
429
452
  enumerable: true,
430
453
  get: function() {
431
454
  return isNavRelation;
432
455
  }
433
456
  });
457
+ Object.defineProperty(exports, "isPlainObject", {
458
+ enumerable: true,
459
+ get: function() {
460
+ return isPlainObject;
461
+ }
462
+ });
@@ -1,5 +1,32 @@
1
1
  import { TAtscriptAnnotatedType, TAtscriptTypeArray, TAtscriptTypeObject, TValidatorPlugin, Validator } from "@atscript/typescript/utils";
2
2
 
3
+ //#region src/db-error.d.ts
4
+ type DbErrorCode = "CONFLICT" | "FK_VIOLATION" | "NOT_FOUND" | "CASCADE_CYCLE" | "INVALID_QUERY" | "DEPTH_EXCEEDED" | "VERSION_COLUMN_WRITE" | "CAS_EXHAUSTED" | "ENC_CONFIG_MISSING" | "ENC_KEY_INVALID" | "ENC_NOT_ENCRYPTED" | "ENC_DECRYPT_FAILED" | "ENC_FIELD_FILTER" | "ENC_FIELD_SORT" | "ENC_FIELD_AGG" | "ENC_FIELD_PATCH_OP" | "GEO_INDEX_MISSING" | "GEO_NOT_SUPPORTED" | "FILTER_TYPE_MISMATCH" | "TX_WAIT_TIMEOUT";
5
+ declare class DbError extends Error {
6
+ readonly code: DbErrorCode;
7
+ readonly errors: Array<{
8
+ path: string;
9
+ message: string;
10
+ }>;
11
+ name: string;
12
+ constructor(code: DbErrorCode, errors: Array<{
13
+ path: string;
14
+ message: string;
15
+ }>, message?: string);
16
+ }
17
+ /**
18
+ * Thrown by {@link withOptimisticRetry} when `maxAttempts` is reached
19
+ * without a successful CAS commit — the target row kept changing under
20
+ * the read-modify-write loop. Surfaces the attempt count and the
21
+ * last-observed version so callers can log/report the contention.
22
+ */
23
+ declare class CasExhaustedError extends DbError {
24
+ readonly attempts: number;
25
+ readonly lastSeenVersion: number | undefined;
26
+ name: string;
27
+ constructor(attempts: number, lastSeenVersion: number | undefined);
28
+ }
29
+ //#endregion
3
30
  //#region src/patch/patch-types.d.ts
4
31
  interface TArrayPatch<A extends readonly unknown[]> {
5
32
  $replace?: A;
@@ -25,6 +52,16 @@ type TDbPatch<T> = { [K in keyof T]?: T[K] extends Array<infer _> ? TArrayPatch<
25
52
  */
26
53
  declare function getKeyProps(def: TAtscriptAnnotatedType<TAtscriptTypeArray>): Set<string>;
27
54
  //#endregion
55
+ //#region src/shared/object.d.ts
56
+ /**
57
+ * Plain object: prototype is `Object.prototype` or `null` — never a class
58
+ * instance (`Date`, `Uint8Array`, `ObjectId`, …) and never an array.
59
+ * Browser-safe; shared by the write paths, the HTTP shape gate and the client.
60
+ */
61
+ declare function isPlainObject(value: unknown): value is Record<string, unknown>;
62
+ /** Zero-allocation emptiness check for a plain object (`{}` → `true`). */
63
+ declare function isEmptyObject(obj: Record<string, unknown>): boolean;
64
+ //#endregion
28
65
  //#region src/validator.d.ts
29
66
  /** Write operation mode for validator configuration. */
30
67
  type ValidatorMode = "insert" | "patch" | "replace";
@@ -85,4 +122,4 @@ interface ValidationContext {
85
122
  */
86
123
  declare function buildValidationContext(type: TAtscriptAnnotatedType<TAtscriptTypeObject>): ValidationContext;
87
124
  //#endregion
88
- export { buildValidationContext as a, isNavRelation as c, getKeyProps as d, buildPatchPartial as i, TArrayPatch as l, ValidatorMode as n, dbPlugin as o, buildDbValidator as r, forceNavNonOptional as s, ValidationContext as t, TDbPatch as u };
125
+ export { buildValidationContext as a, isNavRelation as c, TArrayPatch as d, TDbPatch as f, DbErrorCode as g, DbError as h, buildPatchPartial as i, isEmptyObject as l, CasExhaustedError as m, ValidatorMode as n, dbPlugin as o, getKeyProps as p, buildDbValidator as r, forceNavNonOptional as s, ValidationContext as t, isPlainObject as u };
@@ -1,5 +1,32 @@
1
1
  import { TAtscriptAnnotatedType, TAtscriptTypeArray, TAtscriptTypeObject, TValidatorPlugin, Validator } from "@atscript/typescript/utils";
2
2
 
3
+ //#region src/db-error.d.ts
4
+ type DbErrorCode = "CONFLICT" | "FK_VIOLATION" | "NOT_FOUND" | "CASCADE_CYCLE" | "INVALID_QUERY" | "DEPTH_EXCEEDED" | "VERSION_COLUMN_WRITE" | "CAS_EXHAUSTED" | "ENC_CONFIG_MISSING" | "ENC_KEY_INVALID" | "ENC_NOT_ENCRYPTED" | "ENC_DECRYPT_FAILED" | "ENC_FIELD_FILTER" | "ENC_FIELD_SORT" | "ENC_FIELD_AGG" | "ENC_FIELD_PATCH_OP" | "GEO_INDEX_MISSING" | "GEO_NOT_SUPPORTED" | "FILTER_TYPE_MISMATCH" | "TX_WAIT_TIMEOUT";
5
+ declare class DbError extends Error {
6
+ readonly code: DbErrorCode;
7
+ readonly errors: Array<{
8
+ path: string;
9
+ message: string;
10
+ }>;
11
+ name: string;
12
+ constructor(code: DbErrorCode, errors: Array<{
13
+ path: string;
14
+ message: string;
15
+ }>, message?: string);
16
+ }
17
+ /**
18
+ * Thrown by {@link withOptimisticRetry} when `maxAttempts` is reached
19
+ * without a successful CAS commit — the target row kept changing under
20
+ * the read-modify-write loop. Surfaces the attempt count and the
21
+ * last-observed version so callers can log/report the contention.
22
+ */
23
+ declare class CasExhaustedError extends DbError {
24
+ readonly attempts: number;
25
+ readonly lastSeenVersion: number | undefined;
26
+ name: string;
27
+ constructor(attempts: number, lastSeenVersion: number | undefined);
28
+ }
29
+ //#endregion
3
30
  //#region src/patch/patch-types.d.ts
4
31
  interface TArrayPatch<A extends readonly unknown[]> {
5
32
  $replace?: A;
@@ -25,6 +52,16 @@ type TDbPatch<T> = { [K in keyof T]?: T[K] extends Array<infer _> ? TArrayPatch<
25
52
  */
26
53
  declare function getKeyProps(def: TAtscriptAnnotatedType<TAtscriptTypeArray>): Set<string>;
27
54
  //#endregion
55
+ //#region src/shared/object.d.ts
56
+ /**
57
+ * Plain object: prototype is `Object.prototype` or `null` — never a class
58
+ * instance (`Date`, `Uint8Array`, `ObjectId`, …) and never an array.
59
+ * Browser-safe; shared by the write paths, the HTTP shape gate and the client.
60
+ */
61
+ declare function isPlainObject(value: unknown): value is Record<string, unknown>;
62
+ /** Zero-allocation emptiness check for a plain object (`{}` → `true`). */
63
+ declare function isEmptyObject(obj: Record<string, unknown>): boolean;
64
+ //#endregion
28
65
  //#region src/validator.d.ts
29
66
  /** Write operation mode for validator configuration. */
30
67
  type ValidatorMode = "insert" | "patch" | "replace";
@@ -85,4 +122,4 @@ interface ValidationContext {
85
122
  */
86
123
  declare function buildValidationContext(type: TAtscriptAnnotatedType<TAtscriptTypeObject>): ValidationContext;
87
124
  //#endregion
88
- export { buildValidationContext as a, isNavRelation as c, getKeyProps as d, buildPatchPartial as i, TArrayPatch as l, ValidatorMode as n, dbPlugin as o, buildDbValidator as r, forceNavNonOptional as s, ValidationContext as t, TDbPatch as u };
125
+ export { buildValidationContext as a, isNavRelation as c, TArrayPatch as d, TDbPatch as f, DbErrorCode as g, DbError as h, buildPatchPartial as i, isEmptyObject as l, CasExhaustedError as m, ValidatorMode as n, dbPlugin as o, getKeyProps as p, buildDbValidator as r, forceNavNonOptional as s, ValidationContext as t, isPlainObject as u };
@@ -1,6 +1,23 @@
1
1
  import { r as DepthLimitExceededError } from "./db-error-BHPXOKzc.mjs";
2
2
  import { isDbFieldOp } from "./ops.mjs";
3
3
  import { flattenAnnotatedType } from "@atscript/typescript/utils";
4
+ //#region src/shared/object.ts
5
+ /**
6
+ * Plain object: prototype is `Object.prototype` or `null` — never a class
7
+ * instance (`Date`, `Uint8Array`, `ObjectId`, …) and never an array.
8
+ * Browser-safe; shared by the write paths, the HTTP shape gate and the client.
9
+ */
10
+ function isPlainObject(value) {
11
+ if (typeof value !== "object" || value === null) return false;
12
+ const proto = Object.getPrototypeOf(value);
13
+ return proto === Object.prototype || proto === null;
14
+ }
15
+ /** Zero-allocation emptiness check for a plain object (`{}` → `true`). */
16
+ function isEmptyObject(obj) {
17
+ for (const _ in obj) return false;
18
+ return true;
19
+ }
20
+ //#endregion
4
21
  //#region src/patch/patch-types.ts
5
22
  /**
6
23
  * Extracts `@expect.array.key` properties from an array-of-objects type.
@@ -75,9 +92,9 @@ function createDbValidatorPlugin() {
75
92
  if (isTo || isFrom || isVia) return handleNavField(ctx, def, value, dbCtx, isTo, isFrom, isVia);
76
93
  if (value === void 0 && (dbCtx.mode === "insert" || dbCtx.mode === "replace")) {
77
94
  const meta = def.metadata;
78
- const hasDefault = meta.has("db.default") || meta.has("db.default.increment") || meta.has("db.default.uuid") || meta.has("db.default.now");
95
+ const serverManaged = meta.has("db.default") || meta.has("db.default.increment") || meta.has("db.default.uuid") || meta.has("db.default.now") || meta.has("db.column.version");
79
96
  const hasFK = meta.has("db.rel.FK");
80
- if (hasDefault || hasFK) {
97
+ if (serverManaged || hasFK) {
81
98
  if (dbCtx.mode === "replace" && meta.has("meta.id") && !isInsideNavField(ctx.path, dbCtx.navFields)) return;
82
99
  return true;
83
100
  }
@@ -383,4 +400,4 @@ function buildValidationContext(type) {
383
400
  };
384
401
  }
385
402
  //#endregion
386
- export { forceNavNonOptional as a, getKeyProps as c, dbPlugin as i, buildPatchPartial as n, isNavRelation as o, buildValidationContext as r, createDbValidatorPlugin as s, buildDbValidator as t };
403
+ export { forceNavNonOptional as a, getKeyProps as c, dbPlugin as i, isEmptyObject as l, buildPatchPartial as n, isNavRelation as o, buildValidationContext as r, createDbValidatorPlugin as s, buildDbValidator as t, isPlainObject as u };
@@ -1,6 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_db_error = require("./db-error-DXwEzmYJ.cjs");
3
+ const require_validator = require("./validator-BNUHCXIE.cjs");
2
4
  const require_ops = require("./ops.cjs");
3
- const require_validator = require("./validator-CSGug4vg.cjs");
4
5
  exports.$cas = require_ops.$cas;
5
6
  exports.$dec = require_ops.$dec;
6
7
  exports.$inc = require_ops.$inc;
@@ -10,6 +11,7 @@ exports.$remove = require_ops.$remove;
10
11
  exports.$replace = require_ops.$replace;
11
12
  exports.$update = require_ops.$update;
12
13
  exports.$upsert = require_ops.$upsert;
14
+ exports.DbError = require_db_error.DbError;
13
15
  exports.buildDbValidator = require_validator.buildDbValidator;
14
16
  exports.buildPatchPartial = require_validator.buildPatchPartial;
15
17
  exports.buildValidationContext = require_validator.buildValidationContext;
@@ -18,4 +20,8 @@ exports.dbPlugin = require_validator.dbPlugin;
18
20
  exports.forceNavNonOptional = require_validator.forceNavNonOptional;
19
21
  exports.getKeyProps = require_validator.getKeyProps;
20
22
  exports.isDbFieldOp = require_ops.isDbFieldOp;
23
+ exports.isEmptyObject = require_validator.isEmptyObject;
21
24
  exports.isNavRelation = require_validator.isNavRelation;
25
+ exports.isPlainObject = require_validator.isPlainObject;
26
+ exports.reconcileCas = require_ops.reconcileCas;
27
+ exports.separateCas = require_ops.separateCas;
@@ -1,4 +1,4 @@
1
- import { a as $mul, c as $update, d as TDbFieldOp, i as $insert, l as $upsert, m as isDbFieldOp, n as $dec, o as $remove, r as $inc, s as $replace, t as $cas, u as TDbCas } from "./ops-DJRnNTVo.cjs";
1
+ import { a as $mul, c as $update, d as TDbFieldOp, g as separateCas, h as reconcileCas, i as $insert, l as $upsert, m as isDbFieldOp, n as $dec, o as $remove, r as $inc, s as $replace, t as $cas, u as TDbCas } from "./ops-AqhV7s9o.cjs";
2
+ import { a as buildValidationContext, c as isNavRelation, d as TArrayPatch, f as TDbPatch, h as DbError, i as buildPatchPartial, l as isEmptyObject, n as ValidatorMode, o as dbPlugin, p as getKeyProps, r as buildDbValidator, s as forceNavNonOptional, t as ValidationContext, u as isPlainObject } from "./validator-DuAmWc8L.cjs";
2
3
  import { n as createDbValidatorPlugin, t as DbValidationContext } from "./db-validator-plugin-BWy60OvG.cjs";
3
- import { a as buildValidationContext, c as isNavRelation, d as getKeyProps, i as buildPatchPartial, l as TArrayPatch, n as ValidatorMode, o as dbPlugin, r as buildDbValidator, s as forceNavNonOptional, t as ValidationContext, u as TDbPatch } from "./validator-BcBtg8yW.cjs";
4
- export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, type DbValidationContext, type TArrayPatch, type TDbCas, type TDbFieldOp, type TDbPatch, ValidationContext, ValidatorMode, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isNavRelation };
4
+ export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, DbError, type DbValidationContext, type TArrayPatch, type TDbCas, type TDbFieldOp, type TDbPatch, ValidationContext, ValidatorMode, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isEmptyObject, isNavRelation, isPlainObject, reconcileCas, separateCas };
@@ -1,4 +1,4 @@
1
- import { a as $mul, c as $update, d as TDbFieldOp, i as $insert, l as $upsert, m as isDbFieldOp, n as $dec, o as $remove, r as $inc, s as $replace, t as $cas, u as TDbCas } from "./ops-DJRnNTVo.mjs";
1
+ import { a as $mul, c as $update, d as TDbFieldOp, g as separateCas, h as reconcileCas, i as $insert, l as $upsert, m as isDbFieldOp, n as $dec, o as $remove, r as $inc, s as $replace, t as $cas, u as TDbCas } from "./ops-AqhV7s9o.mjs";
2
+ import { a as buildValidationContext, c as isNavRelation, d as TArrayPatch, f as TDbPatch, h as DbError, i as buildPatchPartial, l as isEmptyObject, n as ValidatorMode, o as dbPlugin, p as getKeyProps, r as buildDbValidator, s as forceNavNonOptional, t as ValidationContext, u as isPlainObject } from "./validator-DuAmWc8L.mjs";
2
3
  import { n as createDbValidatorPlugin, t as DbValidationContext } from "./db-validator-plugin-BWy60OvG.mjs";
3
- import { a as buildValidationContext, c as isNavRelation, d as getKeyProps, i as buildPatchPartial, l as TArrayPatch, n as ValidatorMode, o as dbPlugin, r as buildDbValidator, s as forceNavNonOptional, t as ValidationContext, u as TDbPatch } from "./validator-BcBtg8yW.mjs";
4
- export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, type DbValidationContext, type TArrayPatch, type TDbCas, type TDbFieldOp, type TDbPatch, ValidationContext, ValidatorMode, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isNavRelation };
4
+ export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, DbError, type DbValidationContext, type TArrayPatch, type TDbCas, type TDbFieldOp, type TDbPatch, ValidationContext, ValidatorMode, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isEmptyObject, isNavRelation, isPlainObject, reconcileCas, separateCas };
@@ -1,3 +1,4 @@
1
- import { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, isDbFieldOp } from "./ops.mjs";
2
- import { a as forceNavNonOptional, c as getKeyProps, i as dbPlugin, n as buildPatchPartial, o as isNavRelation, r as buildValidationContext, s as createDbValidatorPlugin, t as buildDbValidator } from "./validator-0vRXN51D.mjs";
3
- export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isNavRelation };
1
+ import { n as DbError } from "./db-error-BHPXOKzc.mjs";
2
+ import { a as forceNavNonOptional, c as getKeyProps, i as dbPlugin, l as isEmptyObject, n as buildPatchPartial, o as isNavRelation, r as buildValidationContext, s as createDbValidatorPlugin, t as buildDbValidator, u as isPlainObject } from "./validator-eKYWf3xf.mjs";
3
+ import { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, isDbFieldOp, reconcileCas, separateCas } from "./ops.mjs";
4
+ export { $cas, $dec, $inc, $insert, $mul, $remove, $replace, $update, $upsert, DbError, buildDbValidator, buildPatchPartial, buildValidationContext, createDbValidatorPlugin, dbPlugin, forceNavNonOptional, getKeyProps, isDbFieldOp, isEmptyObject, isNavRelation, isPlainObject, reconcileCas, separateCas };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/db",
3
- "version": "0.1.127",
3
+ "version": "0.1.128",
4
4
  "description": "Database adapter utilities for atscript.",
5
5
  "keywords": [
6
6
  "atscript",
@@ -71,15 +71,15 @@
71
71
  "access": "public"
72
72
  },
73
73
  "devDependencies": {
74
- "@atscript/core": "^0.1.89",
75
- "@atscript/typescript": "^0.1.89",
76
- "@uniqu/core": "^0.1.7",
77
- "unplugin-atscript": "^0.1.89"
74
+ "@atscript/core": "^0.1.92",
75
+ "@atscript/typescript": "^0.1.92",
76
+ "@uniqu/core": "^0.1.8",
77
+ "unplugin-atscript": "^0.1.92"
78
78
  },
79
79
  "peerDependencies": {
80
- "@atscript/core": "^0.1.89",
81
- "@atscript/typescript": "^0.1.89",
82
- "@uniqu/core": "^0.1.7"
80
+ "@atscript/core": "^0.1.92",
81
+ "@atscript/typescript": "^0.1.92",
82
+ "@uniqu/core": "^0.1.8"
83
83
  },
84
84
  "scripts": {
85
85
  "postinstall": "asc -f dts",