@barefootjs/blade 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;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,eAAe,EAAE,eA4E7B,CAAA"}
1
+ {"version":3,"file":"conformance-pins.d.ts","sourceRoot":"","sources":["../src/conformance-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,eAAe,EAAE,eAkF7B,CAAA"}
package/dist/index.js CHANGED
@@ -189185,7 +189185,8 @@ var conformancePins = {
189185
189185
  "filter-nested-find-predicate": [
189186
189186
  { code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2038" }
189187
189187
  ],
189188
- "dangerous-inner-html-dynamic": [{ code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2215" }]
189188
+ "dangerous-inner-html-dynamic": [{ code: "BF101", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2215" }],
189189
+ "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2274" }]
189189
189190
  };
189190
189191
  // src/render-divergences.ts
189191
189192
  var renderDivergences = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/blade",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "description": "Laravel Blade (PHP) adapter for BarefootJS — compiles IR to .blade.php templates and ships the PHP BarefootJS rendering runtime on illuminate/view standalone",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -54,14 +54,14 @@
54
54
  "directory": "packages/adapter-blade"
55
55
  },
56
56
  "dependencies": {
57
- "@barefootjs/shared": "0.19.1"
57
+ "@barefootjs/shared": "0.20.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@barefootjs/jsx": ">=0.2.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@barefootjs/adapter-tests": "0.1.0",
64
- "@barefootjs/jsx": "0.19.1",
64
+ "@barefootjs/jsx": "0.20.0",
65
65
  "typescript": "^5.0.0"
66
66
  }
67
67
  }
@@ -50,13 +50,7 @@ runAdapterConformanceTests({
50
50
  // Same `/* @client */` keyed-map elision (data-table).
51
51
  'data-table',
52
52
  ]),
53
- skipDataPoints: new Set<string>([
54
- // #2260 — controlled boolean props: the SSR seed evaluates only the
55
- // static fallback of `props.X ?? internal()` chains.
56
- 'toggle:gen:pressed:true',
57
- 'switch:gen:checked:true',
58
- 'checkbox:gen:checked:true',
59
- ]),
53
+ skipDataPoints: new Set<string>(),
60
54
  onRenderError: (err, id) => {
61
55
  if (err instanceof BladeNotAvailableError) {
62
56
  console.log(`Skipping [${id}]: ${err.message}`)
@@ -86,4 +86,10 @@ export const conformancePins: ConformancePins = {
86
86
  // A dynamic/signal-derived value still refuses with BF101 — see the
87
87
  // `dangerous-inner-html-dynamic` fixture/pin below (tracked: #2215).
88
88
  'dangerous-inner-html-dynamic': [{ code: 'BF101', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2215' }],
89
+ // #2273: a method call on a prop typed as a built-in host rich type
90
+ // (Date, Map, …) has no catalogued lowering in any adapter — this is a
91
+ // compiler-level refusal (`checkRichTypeMethodCalls`, wired ahead of
92
+ // `adapter.generate()`), not an adapter-specific gap, so it is pinned
93
+ // identically across every adapter package including Hono.
94
+ 'date-method-uncatalogued': [{ code: 'BF021', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2274' }],
89
95
  }