@barefootjs/go-template 0.33.3 → 0.33.6
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/dist/adapter/emit-context.d.ts +12 -0
- package/dist/adapter/emit-context.d.ts.map +1 -1
- package/dist/adapter/go-template-adapter.d.ts +171 -7
- package/dist/adapter/go-template-adapter.d.ts.map +1 -1
- package/dist/adapter/index.js +237 -86
- package/dist/adapter/lib/compile-state.d.ts +17 -0
- package/dist/adapter/lib/compile-state.d.ts.map +1 -1
- package/dist/adapter/value/parsed-literal-to-go.d.ts.map +1 -1
- package/dist/adapter/value/value-lowering.d.ts.map +1 -1
- package/dist/conformance-pins.d.ts.map +1 -1
- package/dist/index.js +251 -90
- package/dist/render-divergences.d.ts +20 -0
- package/dist/render-divergences.d.ts.map +1 -1
- package/dist/vite.js +319 -149
- package/package.json +5 -5
- package/src/__tests__/go-template-adapter.test.ts +342 -7
- package/src/adapter/emit-context.ts +14 -0
- package/src/adapter/go-template-adapter.ts +568 -103
- package/src/adapter/lib/compile-state.ts +18 -0
- package/src/adapter/value/parsed-literal-to-go.ts +11 -7
- package/src/adapter/value/value-lowering.ts +17 -0
- package/src/conformance-pins.ts +36 -0
- package/src/render-divergences.ts +22 -6
- package/src/test-render.ts +32 -15
|
@@ -13,6 +13,26 @@
|
|
|
13
13
|
* the same way it already seeded a signal-backed dynamic one: the adapter's
|
|
14
14
|
* own `emission` was never the bug, only this harness's route-handler
|
|
15
15
|
* stand-in was missing the prop-derived case.)
|
|
16
|
+
*
|
|
17
|
+
* (#2703's `jsx-element-prop-fragment-conditional` divergence graduated by
|
|
18
|
+
* reclassification, not a lowering fix: the underlying gap — a named
|
|
19
|
+
* jsx-children prop whose value can't be baked into a static Go string
|
|
20
|
+
* silently got no field at all, no diagnostic — is now a loud `BF101`
|
|
21
|
+
* refusal (see `conformance-pins.ts`) instead of a silent wrong render.
|
|
22
|
+
* "Compiles clean but renders divergent" no longer describes this fixture on
|
|
23
|
+
* Go, so it moved off this table. Dynamic delivery for named jsx-children
|
|
24
|
+
* props (the actual capability gap) is tracked separately at
|
|
25
|
+
* https://github.com/piconic-ai/barefootjs/issues/2703.)
|
|
26
|
+
*
|
|
27
|
+
* (#2700's `signal-object-spread-init` divergence graduated the same way —
|
|
28
|
+
* by reclassification, not a lowering fix: a `derived` signal/memo's
|
|
29
|
+
* object-literal initializer referencing a live prop/signal has no
|
|
30
|
+
* live-template-expression lowering on Go, only a static constructor-time
|
|
31
|
+
* baker — now a loud `BF101` refusal (`conformance-pins.ts`) with a
|
|
32
|
+
* verified `/* @client *\/` escape twin (`signal-object-spread-init-client`),
|
|
33
|
+
* instead of a silent wrong render. Teaching the baker to emit
|
|
34
|
+
* prop-referencing Go expressions — the actual capability gap — stays
|
|
35
|
+
* tracked at https://github.com/piconic-ai/barefootjs/issues/2700.)
|
|
16
36
|
*/
|
|
17
37
|
import type { RenderDivergences } from '@barefootjs/jsx';
|
|
18
38
|
export declare const renderDivergences: RenderDivergences;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,iBAK/B,CAAA"}
|