@barefootjs/xslate 0.28.1 → 0.29.0

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
@@ -189168,7 +189168,9 @@ var conformancePins = {
189168
189168
  "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2356" }]
189169
189169
  };
189170
189170
  // src/render-divergences.ts
189171
- var renderDivergences = {};
189171
+ var renderDivergences = {
189172
+ "composite-row-child-component": "a child component nested inside a dynamic loop row gets a random `Name_<id>` scope id from `render_child` instead of the parent-derived `<parent>_s0` the reference emits (https://github.com/piconic-ai/barefootjs/issues/2444)"
189173
+ };
189172
189174
  export {
189173
189175
  xslateAdapter,
189174
189176
  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,iBAK/B,CAAA"}
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,iBAe/B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  package BarefootJS::Backend::Xslate;
2
- our $VERSION = "0.28.0";
2
+ our $VERSION = "0.28.1";
3
3
  use strict;
4
4
  use warnings;
5
5
  use utf8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/xslate",
3
- "version": "0.28.1",
3
+ "version": "0.29.0",
4
4
  "description": "Text::Xslate (Kolon) adapter for BarefootJS — compiles IR to .tx templates and ships the Xslate rendering backend; runs under any PSGI/Plack app",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -55,14 +55,14 @@
55
55
  "directory": "packages/adapter-xslate"
56
56
  },
57
57
  "dependencies": {
58
- "@barefootjs/shared": "0.28.1"
58
+ "@barefootjs/shared": "0.29.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@barefootjs/jsx": ">=0.2.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@barefootjs/adapter-tests": "0.1.0",
65
- "@barefootjs/jsx": "0.28.1",
65
+ "@barefootjs/jsx": "0.29.0",
66
66
  "typescript": "^5.0.0"
67
67
  }
68
68
  }
@@ -19,4 +19,14 @@ export const renderDivergences: RenderDivergences = {
19
19
  // `evaluateSignalInit` (`@barefootjs/jsx`, sandboxed real-JS evaluation
20
20
  // instead of a fixed regex-shape catalogue) now correctly seeds `todos`
21
21
  // from `(props.initialTodos ?? []).map(t => ({ ...t, editing: false }))`.
22
+
23
+ // #2444: a child component nested inside a dynamic loop row whose root
24
+ // is a plain element (`composite` loop plan + `nestedComponents`) is
25
+ // rendered through the runtime's `render_child`, which mints its own
26
+ // `Badge_<random>` scope id instead of deriving the parent-scope +
27
+ // mount-slot id (`test_s0`) the Hono reference emits. Content is
28
+ // correct; only `bf-s` diverges. Same class as the `grandchild-
29
+ // composition` CSR skip.
30
+ 'composite-row-child-component':
31
+ 'a child component nested inside a dynamic loop row gets a random `Name_<id>` scope id from `render_child` instead of the parent-derived `<parent>_s0` the reference emits (https://github.com/piconic-ai/barefootjs/issues/2444)',
22
32
  }