@dialecte/core 0.1.10 → 0.1.11
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/dist/helpers.js +1 -1
- package/dist/{index-YMhF8KTR.js → index-DRYqQRsA.js} +1 -1
- package/dist/{index-BCraeB5h.js → index-aALGfPYv.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/test.js +1 -1
- package/dist/utils/assert.d.ts +3 -3
- package/dist/utils/assert.d.ts.map +1 -1
- package/dist/utils.js +2 -2
- package/package.json +1 -1
package/dist/helpers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as je,
|
|
1
|
+
import { t as je, i as Ue } from "./index-aALGfPYv.js";
|
|
2
2
|
import { isRecordOf as lr, toRef as _e, toTreeRecord as fr, toRawRecord as sr, standardizeRecord as Ha, toFullAttributeArray as Za, CUSTOM_RECORD_ID_ATTRIBUTE as ua, mergeExtensions as Ja } from "./helpers.js";
|
|
3
3
|
function ur(m, o) {
|
|
4
4
|
if (!m) return {};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as s, a, Q as r, T as i, b as o, c as l, d, f as c, g as u, h as b, e as n, j as A, k as g, l as m, m as D, n as R, p, q as T, r as f, s as E, t as x, u as F, v as h, w as k, y as B, z as C, i as _, A as y, B as I, C as O, o as j } from "./index-
|
|
2
|
-
import { E as U, t as X } from "./index-
|
|
1
|
+
import { D as s, a, Q as r, T as i, b as o, c as l, d, f as c, g as u, h as b, e as n, j as A, k as g, l as m, m as D, n as R, p, q as T, r as f, s as E, t as x, u as F, v as h, w as k, y as B, z as C, i as _, A as y, B as I, C as O, o as j } from "./index-DRYqQRsA.js";
|
|
2
|
+
import { E as U, t as X } from "./index-aALGfPYv.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DexieStore,
|
|
5
5
|
a as Document,
|
package/dist/test.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { expect as f, it as p } from "vitest";
|
|
2
|
-
import { x as X, D as q, i as S, o as D, e as h } from "./index-
|
|
2
|
+
import { x as X, D as q, i as S, o as D, e as h } from "./index-DRYqQRsA.js";
|
|
3
3
|
import { DIALECTE_DEV_NAMESPACE as T, standardizeRecord as L, toTreeRecord as w, toTrackedRecord as g } from "./helpers.js";
|
|
4
4
|
function v(t) {
|
|
5
5
|
const e = O(t);
|
package/dist/utils/assert.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { DialecteErrorKey } from '../errors';
|
|
|
3
3
|
* Assert a condition, throwing a structured DialecteError if it fails.
|
|
4
4
|
*
|
|
5
5
|
* @example
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* invariant(record, { detail: 'addChild: parent not found' })
|
|
7
|
+
* invariant(ref.id, { detail: 'Singleton element has no id', key: 'ELEMENT_NOT_FOUND' })
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function invariant(condition: unknown, error: {
|
|
10
10
|
detail: string;
|
|
11
11
|
key?: DialecteErrorKey;
|
|
12
12
|
ref?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../src/utils/assert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;;GAMG;AACH,wBAAgB,
|
|
1
|
+
{"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../../src/utils/assert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;;;;GAMG;AACH,wBAAgB,SAAS,CACxB,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE;IACN,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,gBAAgB,CAAA;IACtB,GAAG,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CACtC,GACC,OAAO,CAAC,SAAS,CAInB"}
|
package/dist/utils.js
CHANGED