@uniweb/build 1.11.2 → 1.11.3

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/build",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "Build tooling for the Uniweb Component Web Platform",
5
5
  "type": "module",
6
6
  "exports": {
@@ -56,10 +56,10 @@
56
56
  "js-yaml": "^4.3.2",
57
57
  "sharp": "^0.35.5",
58
58
  "yaml": "^2.5.0",
59
- "@uniweb/theming": "~1.2.1",
59
+ "@uniweb/content-reader": "~1.5.7",
60
60
  "@uniweb/schemas": "~1.6.6",
61
+ "@uniweb/theming": "~1.2.1",
61
62
  "@uniweb/semantic-parser": "~1.13.0",
62
- "@uniweb/content-reader": "~1.5.7",
63
63
  "@uniweb/content-writer": "~1.3.1",
64
64
  "@uniweb/projections": "~1.2.7"
65
65
  },
@@ -303,9 +303,6 @@ function stampList(def, items, at, banks, counts, claimed) {
303
303
  single.$uuid = u
304
304
  claimed.add(u)
305
305
  counts.stamped++
306
- } else {
307
- // Under an item the backend holds, with no identity here: one the backend may hold.
308
- counts.unbankedSingles++
309
306
  }
310
307
  })
311
308
  }
@@ -322,13 +319,10 @@ function stampList(def, items, at, banks, counts, claimed) {
322
319
  * @param {object} declaration - its data schema's declaration
323
320
  * @param {Object<string,string>} bank - this record's entry (`harvestRecordItems` /
324
321
  * `storedRecordItems`)
325
- * @returns {{ stamped: number, unknown: number, unbankedSingles: number }} items given a
326
- * uuid; list items sent as new; and single sections under an item that kept its uuid but
327
- * with none banked for them, which a backend may hold (a bank from before 2026-10-28 has
328
- * none), so the caller can recover them
322
+ * @returns {{ stamped: number, unknown: number }} items given a uuid, and list items sent as new
329
323
  */
330
324
  export function stampRecordItems(document, declaration, bank) {
331
- const counts = { stamped: 0, unknown: 0, unbankedSingles: 0 }
325
+ const counts = { stamped: 0, unknown: 0 }
332
326
  const claimed = new Set()
333
327
  const banks = { lists: bankedLists(bank), singles: bankedSingles(bank) }
334
328
  eachRecordList(declaration, document, (path, def, items) => {
@@ -554,10 +554,6 @@ export async function emitSyncPackages(siteRoot, opts = {}) {
554
554
  const n = stampRecordItems(e.document, declaration, banked)
555
555
  recordItemIdentity.stamped += n.stamped
556
556
  recordItemIdentity.unknown += n.unknown
557
- // A single section under an item the backend holds, banked nowhere — a bank from before such
558
- // sections were banked (2026-10-28) — is recovered as an unbanked record's items are: sent
559
- // without its `$uuid`, a push after the first is refused whole.
560
- if (n.unbankedSingles > 0) unbankedIds.add(e.id)
561
557
  }
562
558
 
563
559
  const siteEntity = siteDoc