@barefootjs/hono 0.19.0 → 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,11 +1,14 @@
1
1
  /**
2
2
  * Per-fixture build-time contracts for shapes the Hono adapter
3
3
  * intentionally refuses to lower. Hono's SSR runtime is JS — its
4
- * `acceptsTemplateCall` is broad enough to cover every conformance case,
5
- * so this adapter currently has no pins. Kept as a module (rather than
6
- * omitted) for uniformity with the other 7 adapter packages: consumed by
7
- * this package's own conformance test (as `expectedDiagnostics`) and by
8
- * `bf compat` (issue-URL attribution).
4
+ * `acceptsTemplateCall` is broad enough to cover every adapter-specific
5
+ * lowering gap, so this package's only pin is the one refusal that is
6
+ * NOT adapter-specific: a method call on a host rich-typed prop (Date,
7
+ * Map, …) with no catalogued lowering refuses with BF021 at the
8
+ * compiler layer (`checkRichTypeMethodCalls`), ahead of and independent
9
+ * of `adapter.generate()` — even Hono's native JS evaluation never sees
10
+ * the call (#2273). Consumed by this package's own conformance test (as
11
+ * `expectedDiagnostics`) and by `bf compat` (issue-URL attribution).
9
12
  */
10
13
  import type { ConformancePins } from '@barefootjs/jsx';
11
14
  export declare const conformancePins: ConformancePins;
@@ -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,eAAoB,CAAA"}
1
+ {"version":3,"file":"conformance-pins.d.ts","sourceRoot":"","sources":["../src/conformance-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,eAAe,EAAE,eAE7B,CAAA"}
package/dist/index.js CHANGED
@@ -671,7 +671,9 @@ export default ${this.componentName}` : "";
671
671
  }
672
672
  var honoAdapter = new HonoAdapter;
673
673
  // src/conformance-pins.ts
674
- var conformancePins = {};
674
+ var conformancePins = {
675
+ "date-method-uncatalogued": [{ code: "BF021", severity: "error", issue: "https://github.com/piconic-ai/barefootjs/issues/2274" }]
676
+ };
675
677
  export {
676
678
  honoAdapter,
677
679
  conformancePins,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/hono",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Hono integration for BarefootJS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,13 +1,18 @@
1
1
  /**
2
2
  * Per-fixture build-time contracts for shapes the Hono adapter
3
3
  * intentionally refuses to lower. Hono's SSR runtime is JS — its
4
- * `acceptsTemplateCall` is broad enough to cover every conformance case,
5
- * so this adapter currently has no pins. Kept as a module (rather than
6
- * omitted) for uniformity with the other 7 adapter packages: consumed by
7
- * this package's own conformance test (as `expectedDiagnostics`) and by
8
- * `bf compat` (issue-URL attribution).
4
+ * `acceptsTemplateCall` is broad enough to cover every adapter-specific
5
+ * lowering gap, so this package's only pin is the one refusal that is
6
+ * NOT adapter-specific: a method call on a host rich-typed prop (Date,
7
+ * Map, …) with no catalogued lowering refuses with BF021 at the
8
+ * compiler layer (`checkRichTypeMethodCalls`), ahead of and independent
9
+ * of `adapter.generate()` — even Hono's native JS evaluation never sees
10
+ * the call (#2273). Consumed by this package's own conformance test (as
11
+ * `expectedDiagnostics`) and by `bf compat` (issue-URL attribution).
9
12
  */
10
13
 
11
14
  import type { ConformancePins } from '@barefootjs/jsx'
12
15
 
13
- export const conformancePins: ConformancePins = {}
16
+ export const conformancePins: ConformancePins = {
17
+ 'date-method-uncatalogued': [{ code: 'BF021', severity: 'error', issue: 'https://github.com/piconic-ai/barefootjs/issues/2274' }],
18
+ }