@barefootjs/xslate 0.19.1 → 0.20.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.
@@ -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,eAyG7B,CAAA"}
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,eA+G7B,CAAA"}
package/dist/index.js CHANGED
@@ -189143,7 +189143,8 @@ var conformancePins = {
189143
189143
  "filter-nested-find-predicate": [
189144
189144
  { code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2038" }
189145
189145
  ],
189146
- "dangerous-inner-html-dynamic": [{ code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2215" }]
189146
+ "dangerous-inner-html-dynamic": [{ code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2215" }],
189147
+ "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2274" }]
189147
189148
  };
189148
189149
  // src/render-divergences.ts
189149
189150
  var renderDivergences = {};
@@ -1,5 +1,5 @@
1
1
  package BarefootJS::Backend::Xslate;
2
- our $VERSION = "0.19.0";
2
+ our $VERSION = "0.19.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.19.1",
3
+ "version": "0.20.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.19.1"
58
+ "@barefootjs/shared": "0.20.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.19.1",
65
+ "@barefootjs/jsx": "0.20.0",
66
66
  "typescript": "^5.0.0"
67
67
  }
68
68
  }
@@ -63,20 +63,7 @@ runAdapterConformanceTests({
63
63
  // #1467 Phase 2e: same `/* @client */` keyed-map elision (data-table).
64
64
  'data-table',
65
65
  ]),
66
- skipDataPoints: new Set<string>([
67
- // #2260 — controlled boolean props: the SSR seed evaluates only the
68
- // static fallback of `props.X ?? internal()` chains.
69
- 'toggle:gen:pressed:true',
70
- 'switch:gen:checked:true',
71
- 'checkbox:gen:checked:true',
72
- // #2261 — invalid dynamic CSS value kept (escaped) where the oracle
73
- // drops the property.
74
- 'style-object-dynamic:gen:color:markup',
75
- // #2262 — dynamic `.flat` depth 0/negative violates the documented
76
- // shallow-copy contract (shared with the Mojo Perl runtime).
77
- 'array-flat-dynamic-depth:gen:depth:zero',
78
- 'array-flat-dynamic-depth:gen:depth:negative',
79
- ]),
66
+ skipDataPoints: new Set<string>(),
80
67
  onRenderError: (err, id) => {
81
68
  if (err instanceof XslateNotAvailableError) {
82
69
  console.log(`Skipping [${id}]: ${err.message}`)
@@ -113,4 +113,10 @@ export const conformancePins: ConformancePins = {
113
113
  // A dynamic/signal-derived value still refuses with BF101 — see the
114
114
  // `dangerous-inner-html-dynamic` fixture/pin below (tracked: #2215).
115
115
  'dangerous-inner-html-dynamic': [{ code: 'BF101', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2215' }],
116
+ // #2273: a method call on a prop typed as a built-in host rich type
117
+ // (Date, Map, …) has no catalogued lowering in any adapter — this is a
118
+ // compiler-level refusal (`checkRichTypeMethodCalls`, wired ahead of
119
+ // `adapter.generate()`), not an adapter-specific gap, so it is pinned
120
+ // identically across every adapter package including Hono.
121
+ 'date-method-uncatalogued': [{ code: 'BF021', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2274' }],
116
122
  }