@barefootjs/go-template 0.30.5 → 0.30.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/index.js CHANGED
@@ -6615,7 +6615,7 @@ var conformancePins = {
6615
6615
  };
6616
6616
  // src/render-divergences.ts
6617
6617
  var renderDivergences = {
6618
- "aliased-destructured-prop": 'aliased destructured prop `{ n: count }` loses its rename — the Input struct field is Count `json:"count"`, so the caller-side struct literal keyed by the real prop name fails `go run` outright (unknown field N, exit 1) (https://github.com/piconic-ai/barefootjs/issues/2460)'
6618
+ "aliased-destructured-prop": 'aliased destructured prop `{ n: count }` loses its rename — the Input struct field is Count `json:"count"`, so the caller-side struct literal keyed by the real prop name fails `go run` outright (unknown field N, exit 1) (https://github.com/piconic-ai/barefootjs/issues/2525)'
6619
6619
  };
6620
6620
  export {
6621
6621
  renderDivergences,
@@ -1 +1 @@
1
- {"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,iBAwB/B,CAAA"}
1
+ {"version":3,"file":"render-divergences.d.ts","sourceRoot":"","sources":["../src/render-divergences.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,iBA4B/B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/go-template",
3
- "version": "0.30.5",
3
+ "version": "0.30.6",
4
4
  "description": "Go html/template adapter for BarefootJS - generates Go template files from IR",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -49,7 +49,7 @@
49
49
  "directory": "packages/adapter-go-template"
50
50
  },
51
51
  "dependencies": {
52
- "@barefootjs/shared": "0.30.5"
52
+ "@barefootjs/shared": "0.30.6"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@barefootjs/jsx": ">=0.2.0",
@@ -57,6 +57,6 @@
57
57
  },
58
58
  "devDependencies": {
59
59
  "@barefootjs/adapter-tests": "0.1.0",
60
- "@barefootjs/jsx": "0.30.5"
60
+ "@barefootjs/jsx": "0.30.6"
61
61
  }
62
62
  }
@@ -30,14 +30,18 @@ export const renderDivergences: RenderDivergences = {
30
30
  // `test-render.ts`) now replicates that documented contract for a
31
31
  // signal-backed dynamic child-component loop.
32
32
 
33
- // Onboarding TSX-fidelity fixtures (PR #2461): `expectedHtml` is
34
- // hand-authored to the CORRECT output because the emission bug lives in
33
+ // Onboarding TSX-fidelity fixtures (PR #2461): `expectedHtml` was
34
+ // hand-authored to the CORRECT output while the emission bug lived in
35
35
  // the shared compiler layer — every adapter, including the Hono
36
- // reference, currently emits the broken form (verified against this
37
- // adapter's emitted template; see each fixture's docstring). Graduate
38
- // by fixing the shared emission, regenerating `expectedHtml` from the
39
- // fixed reference, and deleting these lines (and the matching hono
40
- // `skipJsx` entries).
36
+ // reference, used to emit the broken form. That shared-layer defect
37
+ // (#2460) is now FIXED (b4f5075): `expectedHtml` is generated from the
38
+ // Hono reference like any other fixture. The remaining gap is
39
+ // Go-specific the Input struct field stays keyed by the local
40
+ // binding instead of `sourceName ?? name`, so the caller-side struct
41
+ // literal fails `go run` outright — tracked by #2525 (go-template's
42
+ // `go run` exit-1 failure). Graduate by keying the Input struct field
43
+ // by `sourceName ?? name` and deleting this line (and the matching
44
+ // hono `skipJsx` entry, already gone).
41
45
  'aliased-destructured-prop':
42
- 'aliased destructured prop `{ n: count }` loses its rename — the Input struct field is Count `json:"count"`, so the caller-side struct literal keyed by the real prop name fails `go run` outright (unknown field N, exit 1) (https://github.com/piconic-ai/barefootjs/issues/2460)',
46
+ 'aliased destructured prop `{ n: count }` loses its rename — the Input struct field is Count `json:"count"`, so the caller-side struct literal keyed by the real prop name fails `go run` outright (unknown field N, exit 1) (https://github.com/piconic-ai/barefootjs/issues/2525)',
43
47
  }