@uniweb/core 1.6.13 → 1.6.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "1.6.13",
3
+ "version": "1.6.14",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
@@ -53,8 +53,8 @@
53
53
  "vitest": "^4.1.7"
54
54
  },
55
55
  "dependencies": {
56
- "@uniweb/semantic-parser": "~1.13.5",
57
- "@uniweb/theming": "~1.3.2"
56
+ "@uniweb/theming": "~1.3.3",
57
+ "@uniweb/semantic-parser": "~1.13.6"
58
58
  },
59
59
  "scripts": {
60
60
  "test": "vitest run"
@@ -216,7 +216,13 @@ export default class EntityStore {
216
216
  dispatch: (request) => dispatcher.dispatch(request, ctx),
217
217
  // What the plan uses without asking, when it is held (`keyProgram`'s held steps).
218
218
  peek: (request) => dispatcher.peek?.(request, ctx),
219
- onFailure: (key, cfg, message) => reportFetchFailure(this.dev, block, key, cfg, message),
219
+ // ⛔ A fetch its caller cancelled did not fail: its caller drops the answer. Under `uniweb dev`
220
+ // React's StrictMode mounts a block twice and cancels the first mount's fetch, so until
221
+ // 2026-11-22 every such block logged "failed …: aborted" while it rendered, and, the log being
222
+ // once per key per page, a real failure of the second mount then said nothing.
223
+ onFailure: (key, cfg, message) => {
224
+ if (!signal?.aborted) reportFetchFailure(this.dev, block, key, cfg, message)
225
+ },
220
226
  })
221
227
 
222
228
  this._applyRecordRoutes(data, this._configs(fills), block.website)