@classytic/repo-core 0.27.0 → 0.27.1
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 +1014 -1000
- package/dist/cache/engine.mjs +3 -1
- package/package.json +1 -1
package/dist/cache/engine.mjs
CHANGED
|
@@ -140,7 +140,9 @@ var CacheEngine = class {
|
|
|
140
140
|
status: "wait",
|
|
141
141
|
promise: existing.promise
|
|
142
142
|
};
|
|
143
|
-
|
|
143
|
+
const deferred = Promise.withResolvers();
|
|
144
|
+
deferred.promise.catch(() => {});
|
|
145
|
+
this.pending.set(key, deferred);
|
|
144
146
|
return { status: "claimed" };
|
|
145
147
|
}
|
|
146
148
|
/** Resolve an in-flight claim with the fresh result + clear it. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@classytic/repo-core",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Driver-agnostic repository primitives: hooks, Filter IR, operations, pagination, cache contract. Foundation for mongokit, sqlitekit, pgkit, and prismakit. Lean by design — no plugins ship here; each kit owns its own.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|