@dtmd/temper 0.0.19 → 0.0.20

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 (2) hide show
  1. package/dist/src/kind.js +4 -2
  2. package/package.json +3 -3
package/dist/src/kind.js CHANGED
@@ -256,7 +256,9 @@ export function embeddedMemberValue(init) {
256
256
  * Refuse a composed leaf named {@link RESERVED_LEAF} — the key a read member's own span
257
257
  * owns, so a second meaning under it is a coincident leaf address, refused at compose
258
258
  * rather than resolved by precedence (0051). Loud at the authoring seam, where the author
259
- * can rename the field, not at emit over bytes already written.
259
+ * can rename the field, not at emit over bytes already written. The rename is the whole
260
+ * remedy: an embedded value carries leaves and collections alone, so there is no
261
+ * member-level prose here to move the words into.
260
262
  *
261
263
  * # Throws
262
264
  * If `leaves` carries the reserved key.
@@ -265,5 +267,5 @@ function refuseReservedLeaf(kind, key, leaves) {
265
267
  if (!Object.hasOwn(leaves, RESERVED_LEAF))
266
268
  return;
267
269
  throw new Error(`embedded member \`${kind}\` \`${key}\`: leaf \`${RESERVED_LEAF}\` is reserved for a ` +
268
- `member's own span — rename the field, or author the words as the member's prose`);
270
+ `member's own span — rename the field`);
269
271
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtmd/temper",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "The temper authoring face — the six-noun model as typed modules: harness(), kind<T>(), clause values, needs, and file()/text/blocks(). Emit compiles to the declaration rows the engine reads, a byte-faithful projection, and the lock.",
5
5
  "license": "(MIT OR Apache-2.0)",
6
6
  "repository": {
@@ -52,7 +52,7 @@
52
52
  "temper": "bin/temper.js"
53
53
  },
54
54
  "optionalDependencies": {
55
- "@dtmd/temper-linux-x64": "0.0.19",
56
- "@dtmd/temper-win32-x64": "0.0.19"
55
+ "@dtmd/temper-linux-x64": "0.0.20",
56
+ "@dtmd/temper-win32-x64": "0.0.20"
57
57
  }
58
58
  }