@barefootjs/mojolicious 0.31.6 → 0.31.7

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.
@@ -1,9 +1,10 @@
1
1
  /**
2
- * Per-fixture build-time contracts for shapes the Mojo adapter
3
- * intentionally refuses to lower. Owned by this module (not by the
4
- * shared fixtures) so adding a new adapter doesn't require touching any
5
- * cross-adapter file. Consumed by this package's own conformance test
6
- * (as `expectedDiagnostics`) and by `bf compat` (issue-URL attribution).
2
+ * Per-fixture build-time contracts for shapes this adapter intentionally
3
+ * refuses to lower. Declared per adapter, not on the shared fixtures, so
4
+ * adding a new adapter never touches a cross-adapter file. Per-fixture
5
+ * rationale lives on each fixture's docstring
6
+ * (`packages/adapter-tests/fixtures/<id>.ts`) and spec/callback-fidelity.md;
7
+ * comments below only mark where this adapter's set diverges from siblings.
7
8
  */
8
9
  import type { ConformancePins } from '@barefootjs/jsx';
9
10
  export declare const conformancePins: ConformancePins;
@@ -1 +1 @@
1
- {"version":3,"file":"conformance-pins.d.ts","sourceRoot":"","sources":["../src/conformance-pins.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,eAAe,EAAE,eA4L7B,CAAA"}
1
+ {"version":3,"file":"conformance-pins.d.ts","sourceRoot":"","sources":["../src/conformance-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,eAAe,EAAE,eAwC7B,CAAA"}
package/dist/index.js CHANGED
@@ -1926,7 +1926,8 @@ var conformancePins = {
1926
1926
  }
1927
1927
  ],
1928
1928
  "filter-nested-find-predicate": [{ code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2320" }],
1929
- "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2356" }]
1929
+ "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2356" }],
1930
+ "rich-prop-client-read": [{ code: "BF049", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2648" }]
1930
1931
  };
1931
1932
  // src/render-divergences.ts
1932
1933
  var renderDivergences = {};
@@ -1,15 +1,10 @@
1
1
  /**
2
- * Render-level divergences against the shared conformance corpus
3
- * (Priority-12 edge-case sweep, #2168): fixtures that COMPILE clean on
4
- * this adapter but whose rendered output diverges from the Hono
5
- * reference on real Mojolicious.
6
- *
7
- * Consumed by this package's conformance test (its `skipJsx` set is
8
- * derived from these keys, so the skip list and this declaration can't
9
- * drift) and by `packages/compat`, which publishes the entries in the
10
- * fixture-divergences section of `ui/compat.lock.json` — surfaced on
11
- * the docs compatibility-matrix page. Graduating an entry means fixing
12
- * the adapter (or the shared compiler layer) and deleting the line.
2
+ * Fixtures that compile clean on this adapter but render divergent from the
3
+ * Hono reference on real Mojolicious. The conformance `skipJsx` set and
4
+ * `packages/compat`'s published fixture-divergences both derive from this
5
+ * one object, so the skip list and the declaration can't drift. Keep the
6
+ * file even when the set is empty — the next divergence lands here, not in
7
+ * a re-created file.
13
8
  */
14
9
  import type { RenderDivergences } from '@barefootjs/jsx';
15
10
  export declare const renderDivergences: RenderDivergences;
@@ -1 +1 @@
1
- {"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,iBAM/B,CAAA"}
1
+ {"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,iBAC/B,CAAA"}
package/dist/vite.js CHANGED
@@ -2258,6 +2258,7 @@ var ErrorCodes = {
2258
2258
  COMPONENT_REQUIRED_PROP_MISSING: "BF046",
2259
2259
  JSX_BRANCH_LOCAL_IN_CALLBACK: "BF047",
2260
2260
  SIBLING_COMPONENT_NOT_COMPILED: "BF048",
2261
+ RICH_TYPE_PROP_NOT_HYDRATABLE: "BF049",
2261
2262
  SHARED_PROGRAM_REQUIRED: "BF050",
2262
2263
  WRONG_PACKAGE_IMPORT: "BF051",
2263
2264
  BUILTIN_REQUIRES_IMPORT: "BF054",
@@ -2288,6 +2289,7 @@ var errorMessages = {
2288
2289
  [ErrorCodes.COMPONENT_REQUIRED_PROP_MISSING]: "Built-in component is missing a required prop.",
2289
2290
  [ErrorCodes.JSX_BRANCH_LOCAL_IN_CALLBACK]: "JSX-typed local declared inside an `if`-block cannot be referenced from a callback body (ref / event handler). " + "Render it as a child instead: `<div ref={...}>{local}</div>`.",
2290
2291
  [ErrorCodes.SIBLING_COMPONENT_NOT_COMPILED]: "Referenced component did not compile to a template, so this reference would throw " + "`ReferenceError` at render time. Multi-return JSX dispatch (a `switch` or `if`/`else` " + "chain across multiple JSX-returning branches) cannot compile as a component in a " + `'use client' file. Extract it to a separate non-"use client" file (where it is preserved ` + "verbatim, see #932), or rewrite it as a single-return ternary/conditional chain so the " + "component pipeline can compile it.",
2292
+ [ErrorCodes.RICH_TYPE_PROP_NOT_HYDRATABLE]: "Rich-typed prop cannot cross the bf-p hydration boundary as JSON.",
2291
2293
  [ErrorCodes.SHARED_PROGRAM_REQUIRED]: "Shared ts.Program required for type-based reactivity classification. This source imports a Reactive<T>-branded library (e.g. @barefootjs/form) whose getters cannot be classified by regex alone. Pass `options.program` (built via `createProgramForCorpus`) so the analyzer can resolve the brand through the TypeChecker.",
2292
2294
  [ErrorCodes.WRONG_PACKAGE_IMPORT]: "Import from wrong package.",
2293
2295
  [ErrorCodes.BUILTIN_REQUIRES_IMPORT]: "Built-in <Async> / <Region> must be imported from '@barefootjs/client'. " + "The compiler recognises these tags by their import (not by tag name), " + "so an unimported tag with this name is treated as an undeclared component.",
@@ -2321,6 +2323,8 @@ var HOST_RICH_TYPE_NAMES = new Set([
2321
2323
  "BigInt",
2322
2324
  "Function"
2323
2325
  ]);
2326
+ var JSON_REVIVABLE_RICH_TYPE_NAMES = new Set(["Date", "URL"]);
2327
+ var JSON_UNSAFE_RICH_TYPE_NAMES = new Set([...HOST_RICH_TYPE_NAMES].filter((n) => !JSON_REVIVABLE_RICH_TYPE_NAMES.has(n)));
2324
2328
  function baseTypeName(raw) {
2325
2329
  const idx = raw.indexOf("<");
2326
2330
  return (idx === -1 ? raw : raw.slice(0, idx)).trim();
@@ -1,5 +1,5 @@
1
1
  package BarefootJS::Backend::Mojo;
2
- our $VERSION = "0.31.5";
2
+ our $VERSION = "0.31.6";
3
3
  use Mojo::Base -base, -signatures;
4
4
 
5
5
  use Mojo::ByteStream qw(b);
@@ -1,5 +1,5 @@
1
1
  package Mojolicious::Plugin::BarefootJS::DevReload;
2
- our $VERSION = "0.31.5";
2
+ our $VERSION = "0.31.6";
3
3
  use Mojo::Base 'Mojolicious::Plugin', -signatures;
4
4
 
5
5
  =head1 NAME
@@ -1,5 +1,5 @@
1
1
  package Mojolicious::Plugin::BarefootJS;
2
- our $VERSION = "0.31.5";
2
+ our $VERSION = "0.31.6";
3
3
  use Mojo::Base 'Mojolicious::Plugin', -signatures;
4
4
 
5
5
  use Mojo::File qw(path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/mojolicious",
3
- "version": "0.31.6",
3
+ "version": "0.31.7",
4
4
  "description": "Mojolicious EP template adapter for BarefootJS - generates .html.ep files from IR",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "directory": "packages/adapter-mojolicious"
53
53
  },
54
54
  "dependencies": {
55
- "@barefootjs/shared": "0.31.6"
55
+ "@barefootjs/shared": "0.31.7"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@barefootjs/jsx": ">=0.2.0",
@@ -70,9 +70,9 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@barefootjs/adapter-tests": "0.1.0",
73
- "@barefootjs/jsx": "0.31.6",
74
- "@barefootjs/vite": "0.31.6",
75
- "@barefootjs/client": "0.31.6",
73
+ "@barefootjs/jsx": "0.31.7",
74
+ "@barefootjs/vite": "0.31.7",
75
+ "@barefootjs/client": "0.31.7",
76
76
  "vite": "^6.0.0"
77
77
  }
78
78
  }
@@ -1,77 +1,33 @@
1
1
  /**
2
- * Per-fixture build-time contracts for shapes the Mojo adapter
3
- * intentionally refuses to lower. Owned by this module (not by the
4
- * shared fixtures) so adding a new adapter doesn't require touching any
5
- * cross-adapter file. Consumed by this package's own conformance test
6
- * (as `expectedDiagnostics`) and by `bf compat` (issue-URL attribution).
2
+ * Per-fixture build-time contracts for shapes this adapter intentionally
3
+ * refuses to lower. Declared per adapter, not on the shared fixtures, so
4
+ * adding a new adapter never touches a cross-adapter file. Per-fixture
5
+ * rationale lives on each fixture's docstring
6
+ * (`packages/adapter-tests/fixtures/<id>.ts`) and spec/callback-fidelity.md;
7
+ * comments below only mark where this adapter's set diverges from siblings.
7
8
  */
8
9
 
9
10
  import type { ConformancePins } from '@barefootjs/jsx'
10
11
 
11
12
  export const conformancePins: ConformancePins = {
12
- // Off-subset filter predicate (`typeof`) the compiler can't lower; a
13
- // JS-runtime target runs it, a DSL adapter surfaces BF021 + `/* @client */`.
14
- // See spec/callback-fidelity.md.
15
13
  'filter-typeof-predicate': [{ code: 'BF021', severity: 'error' }],
16
- // Array-builder `.map()` body (imperative `push`-into-array preamble):
17
- // BF021, with a verified `/* @client */` escape — `map-array-builder-
18
- // body-client` (#2613). See that fixture's docstring.
19
14
  'map-array-builder-body': [{ code: 'BF021', severity: 'error' }],
20
15
  'map-array-builder-escaping': [{ code: 'BF021', severity: 'error' }],
21
- // `.fill(value)` mutates the receiver in place — no template lowering
22
- // on any DSL adapter; a JS-runtime target runs it, a DSL adapter
23
- // surfaces BF101 + `/* @client */`. See spec/callback-fidelity.md.
24
16
  'fill-unsupported': [{ code: 'BF101', severity: 'error' }],
25
- // Off-subset `.find()` / `.some()` / `.every()` predicate (`typeof`) the
26
- // compiler can't lower; a JS-runtime target runs it, a DSL adapter
27
- // surfaces BF101 + `/* @client */`. See spec/callback-fidelity.md.
28
17
  'find-typeof-predicate': [{ code: 'BF101', severity: 'error' }],
29
18
  'some-typeof-predicate': [{ code: 'BF101', severity: 'error' }],
30
19
  'every-typeof-predicate': [{ code: 'BF101', severity: 'error' }],
31
- // Off-subset `.reduce()` / `.reduceRight()` body / `.flatMap()`
32
- // projection (`typeof`) the compiler can't lower; a JS-runtime target
33
- // runs it, a DSL adapter surfaces BF101 + `/* @client */`.
34
- // See spec/callback-fidelity.md.
35
20
  'reduce-typeof-body': [{ code: 'BF101', severity: 'error' }],
36
21
  'reduce-right-typeof-body': [{ code: 'BF101', severity: 'error' }],
37
22
  'flatmap-typeof-projection': [{ code: 'BF101', severity: 'error' }],
38
- // JSX-returning `.flatMap()` body carried as structured segments i.e.
39
- // one with STATEMENTS (early returns, consts): a JS runtime executes it
40
- // verbatim; a DSL template runtime can't, so it refuses with BF021 +
41
- // `/* @client */` (pre-gate this emitted an empty loop body — silent
42
- // divergence). A pure PROJECTION body (`flatMap(it => it.tags.map(...))`,
43
- // e.g. the `flatmap-expression-body` fixture) is NOT pinned: it lowers to
44
- // neutral nested-loop IR this adapter templatizes natively.
45
- // See spec/callback-fidelity.md.
23
+ // A pure PROJECTION flatMap body (`flatmap-expression-body`) is NOT pinned
24
+ // it lowers to neutral nested-loop IR this adapter templatizes natively;
25
+ // only the statement-carrying body refuses.
46
26
  'tag-cloud': [{ code: 'BF021', severity: 'error' }],
47
- // A keyed `.map()` row body whose preamble builds a JSX leaf from item
48
- // state (`cells.push(<td>{stateLabel}</td>)`) embedded as `{cells}` — the
49
- // Stage 3 array-builder carrier, jsRuntime-only: a JS runtime runs it
50
- // verbatim (and patches the region on same-key updates, #2389), a DSL
51
- // adapter refuses with BF021 + `/* @client */`. See spec/callback-fidelity.md.
52
27
  'preamble-cells': [{ code: 'BF021', severity: 'error' }],
53
- // `todo-app` / `todo-app-ssr` no longer pinned (#2205) the conformance
54
- // harness now passes `siblingTemplatesRegistered: true` for fixtures with
55
- // sibling `components`, matching `bf build`'s real semantics, so the
56
- // BF103 loop-body cross-template check no longer fires spuriously. (Both
57
- // fixtures are still skipped on this adapter via `render-divergences.ts`
58
- // — #2209 — for an unrelated signal-seeding gap.)
59
- // `static-array-children` no longer pinned (#2208) — `items`'s
60
- // array-literal initializer is now recognized as fully-static
61
- // (`resolveStaticLoopSource`) and inlined as a native Perl
62
- // arrayref/hashref literal in the loop-bound expression, the same way a
63
- // module-scope const's value is already seeded.
64
- // `([emoji, users]) => ...` / `([id, t]) => ...` are plain array-index
65
- // (tuple) destructures, no rest — #2087 Phase B's `segments`-walking
66
- // accessor lowers both to `$__bf_item->[0]` / `$__bf_item->[1]` `my`
67
- // locals like any other fixed binding, so BF104 no longer fires for
68
- // either fixture. Each now hits a DIFFERENT, pre-existing, orthogonal
69
- // gap instead: the loop array (`entries`) is a function-scope local
70
- // const with a computed initializer
71
- // (`Object.entries(props.x ?? {}).filter(...)`) that the adapter can't
72
- // bind as a template variable — see the dedicated `arrayConst` BF101
73
- // check in `renderLoop`. This was always true; it was simply
74
- // unreachable before because BF104 refused the destructure shape first.
28
+ // Refused for the COMPUTED loop array (`const entries = Object.entries(...)
29
+ // .filter(...)`), not the destructure param (that lowers, #2087) — loud
30
+ // BF101 instead of silently iterating an unbound name zero times.
75
31
  'static-array-from-props': [
76
32
  {
77
33
  code: 'BF101',
@@ -79,10 +35,7 @@ export const conformancePins: ConformancePins = {
79
35
  issue: 'https://github.com/piconic-ai/barefootjs/issues/2321',
80
36
  },
81
37
  ],
82
- // The BF101 above fires; BF104 no longer does (see above), and BF103
83
- // (sibling-imported `<Tag>` child component in the loop body) no longer
84
- // does either now that the conformance harness passes
85
- // `siblingTemplatesRegistered: true` (#2205).
38
+ // No BF103 pin: the harness registers sibling templates (#2205).
86
39
  'static-array-from-props-with-component': [
87
40
  {
88
41
  code: 'BF101',
@@ -90,110 +43,10 @@ export const conformancePins: ConformancePins = {
90
43
  issue: 'https://github.com/piconic-ai/barefootjs/issues/2321',
91
44
  },
92
45
  ],
93
- // #1310 / #2087: rest destructure in .map() callback. All four shapes
94
- // now lower via #2087 Phase B's `segments`-walking accessor:
95
- // - object-rest read via member access (`rest-destructure-object-in-map`):
96
- // `bf->omit($__bf_item, [...exclude keys...])`, `$rest->{flag}` reads
97
- // the residual hashref.
98
- // - object-rest spread onto the root element
99
- // (`rest-destructure-object-spread-in-map`): same `bf->omit(...)`
100
- // residual, forwarded via the existing `bf->spread_attrs($rest)` path.
101
- // - array-rest (`rest-destructure-array-in-map`): `bf->slice($__bf_item,
102
- // N, undef)` — the same runtime helper `.slice()` JS-method calls use.
103
- // - nested rest inside an object pattern (`rest-destructure-nested-in-map`):
104
- // the parent-prefix accessor (`$__bf_item->{cells}`) feeds the same
105
- // `bf->slice(...)` call.
106
- // None of these are pinned here anymore.
107
- // `style-3-signals` / `style-object-dynamic` no longer pinned — a
108
- // `style={{ … }}` object literal now lowers to a CSS string with dynamic
109
- // values interpolated (`background-color:<%= $color %>;padding:8px`) via
110
- // `tryLowerStyleObject` (#1322).
111
- // (`tagged-template-classname` graduated by #2092 — the tag resolves
112
- // through the interleave-tag catalogue and desugars to an untagged
113
- // template literal, so it lowers like any other className template.)
114
- // #2038: a filter predicate containing a nested `.find(...)` callback.
115
- // `find*` returns an element, not a boolean — there is no inline grep
116
- // form, and the emitter used to degrade the call to its receiver.
117
- // The nested `.some` sibling (`filter-nested-callback-predicate`) is
118
- // NOT pinned: Mojo lowers it to a real inline Perl `grep` and must
119
- // render to Hono parity instead.
120
- // Faithful lowering tracked: https://github.com/piconic-ai/barefootjs/issues/2320 (successor to #2038)
46
+ // Only `.find` is pinned `find*` returns an element, not a boolean, so
47
+ // there's no inline predicate form; the nested-`.some` sibling lowers to a
48
+ // real inline Perl `grep` and must render to Hono parity instead.
121
49
  'filter-nested-find-predicate': [{ code: 'BF101', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2320' }],
122
- // #1467 demo-corpus context providers (`radio-group`, `accordion`,
123
- // `dialog`, `popover`, `select`, `dropdown-menu`, `combobox`,
124
- // `command`) are no longer pinned — an object-literal provider value
125
- // (`{ open: () => props.open ?? false, onOpenChange: (v) => {…} }`)
126
- // lowers to a Perl hashref via `parseProviderObjectLiteral` (#1897):
127
- // getter members snapshot their body's SSR value, handler /
128
- // function-shaped members lower to `undef`. The command demo's
129
- // `ref={(el) => {…}}` function prop on an imported component is
130
- // skipped at SSR like `on*` handlers.
131
- //
132
- // #1467 Phase 2e: `data-table` is no longer pinned here either — it
133
- // compiles clean (`selected()[index]` → `index-access`,
134
- // `.toFixed(2)` → `bf->to_fixed`, `/* @client */` memo SSR-folded)
135
- // and renders to Hono parity on real Mojolicious. The keyed-loop
136
- // scope-ID divergence (#1896) was fixed by the body-children
137
- // `inLoop` reset (loop-item children get `_bf_slot`); data-table is
138
- // off `skipJsx` entirely and only kept in `skipMarkerConformance`
139
- // below for the shared `/* @client */` keyed-map slot-id elision
140
- // contract (same as `todo-app`), not a render or BF101 gap.
141
- // #1443: `[a, b].filter(Boolean).join(' ')` (the registry Slot's
142
- // shape) now lowers to `bf->join([grep { $_ } @{[$a, $b]}], ' ')`.
143
- // No BF101 expected — pinned positively via the
144
- // `branch-local-filter-join` template-output test below.
145
- //
146
- // #1448 Tier A — JS Array / String methods that the Mojo adapter
147
- // hasn't lowered yet. Each row drops once the corresponding
148
- // method PR lands. Hono / CSR pass these out of the box (they
149
- // evaluate JS at runtime) so the pin only applies here.
150
- //
151
- // `array-includes` / `string-includes` no longer pinned — both
152
- // shapes lower via the shared `array-method` IR + `bf->includes`
153
- // runtime dispatch (#1448 Tier A first PR).
154
- // `array-indexOf` / `array-lastIndexOf` no longer pinned —
155
- // value-equality `bf->index_of` / `bf->last_index_of` helpers
156
- // handle the shape (#1448 Tier A second PR).
157
- // `array-at` no longer pinned — `bf->at` (Mojo) / `bf_at` (Go)
158
- // handle the negative-index lookup (#1448 Tier A third PR).
159
- // `array-concat` no longer pinned — `bf->concat` (Mojo) /
160
- // `bf_concat` (Go) merge two arrays into a new array
161
- // (#1448 Tier A fourth PR).
162
- // `array-slice` no longer pinned — `bf->slice` (Mojo) /
163
- // `bf_slice` (Go) carve out a sub-range with JS-compat
164
- // negative-index / out-of-bounds clamping (#1448 Tier A
165
- // fifth PR).
166
- // `array-reverse` / `array-toReversed` no longer pinned —
167
- // both share the `bf->reverse` / `bf_reverse` helper since
168
- // SSR templates render a snapshot and the JS mutate-vs-new
169
- // distinction has no template-level meaning (#1448 Tier A
170
- // sixth PR).
171
- // `string-toLowerCase` / `string-toUpperCase` no longer pinned —
172
- // Perl's native `lc` / `uc` (Mojo) and pre-existing
173
- // `bf_lower` / `bf_upper` (Go) handle the JS method names
174
- // (#1448 Tier A seventh + eighth PRs).
175
- // `string-trim` no longer pinned — pre-existing `bf_trim`
176
- // (Go) and new `bf->trim` helper (Mojo) handle the strip
177
- // (#1448 Tier A ninth PR, closing out Tier A).
178
- // `.find` / `.findIndex` / `.findLast` / `.findLastIndex` are no longer
179
- // pinned — the Mojo `callbackMethod` predicate arm now lowers them to the
180
- // runtime `bf->find` / `find_index` / `find_last` / `find_last_index` helpers
181
- // (per-element coderef predicate), matching Xslate. `.join` was never
182
- // pinned (handled by `renderArrayMethod`'s `case 'join'`).
183
- // `array-map-function-reference` no longer pinned — a bare-identifier
184
- // `.map(format)` callback now resolves one hop to its declaration
185
- // (`resolveCallbackMethodFunctionReferences`, #2206), the same mechanism
186
- // #2090 established for `.sort(fnref)`.
187
- // `dangerous-inner-html` no longer pinned — a compile-time string-literal
188
- // `dangerouslySetInnerHTML={{ __html: '...' }}` is spliced directly into
189
- // the template as trusted raw text (`resolveDangerousInnerHtml`, #2207).
190
- // A dynamic/signal-derived value now lowers through Mojo EP's `<%== %>` raw
191
- // output (#2319) — `dangerous-inner-html-dynamic` is no longer pinned and
192
- // renders to Hono parity, same as the static case.
193
- // #2273: a method call on a prop typed as a built-in host rich type
194
- // (Date, Map, …) has no catalogued lowering in any adapter — this is a
195
- // compiler-level refusal (`checkRichTypeMethodCalls`, wired ahead of
196
- // `adapter.generate()`), not an adapter-specific gap, so it is pinned
197
- // identically across every adapter package including Hono.
198
50
  'date-method-uncatalogued': [{ code: 'BF021', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2356' }],
51
+ 'rich-prop-client-read': [{ code: 'BF049', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2648' }],
199
52
  }
@@ -1,23 +1,13 @@
1
1
  /**
2
- * Render-level divergences against the shared conformance corpus
3
- * (Priority-12 edge-case sweep, #2168): fixtures that COMPILE clean on
4
- * this adapter but whose rendered output diverges from the Hono
5
- * reference on real Mojolicious.
6
- *
7
- * Consumed by this package's conformance test (its `skipJsx` set is
8
- * derived from these keys, so the skip list and this declaration can't
9
- * drift) and by `packages/compat`, which publishes the entries in the
10
- * fixture-divergences section of `ui/compat.lock.json` — surfaced on
11
- * the docs compatibility-matrix page. Graduating an entry means fixing
12
- * the adapter (or the shared compiler layer) and deleting the line.
2
+ * Fixtures that compile clean on this adapter but render divergent from the
3
+ * Hono reference on real Mojolicious. The conformance `skipJsx` set and
4
+ * `packages/compat`'s published fixture-divergences both derive from this
5
+ * one object, so the skip list and the declaration can't drift. Keep the
6
+ * file even when the set is empty — the next divergence lands here, not in
7
+ * a re-created file.
13
8
  */
14
9
 
15
10
  import type { RenderDivergences } from '@barefootjs/jsx'
16
11
 
17
12
  export const renderDivergences: RenderDivergences = {
18
- // `todo-app` / `todo-app-ssr` no longer diverge (#2209) — the shared
19
- // `evaluateSignalInit` (`@barefootjs/jsx`, sandboxed real-JS evaluation
20
- // instead of a fixed regex-shape catalogue) now correctly seeds `todos`
21
- // from `(props.initialTodos ?? []).map(t => ({ ...t, editing: false }))`.
22
-
23
13
  }