@barefootjs/hono 0.31.10 → 0.33.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.
Files changed (2) hide show
  1. package/dist/vite.js +4 -0
  2. package/package.json +2 -2
package/dist/vite.js CHANGED
@@ -1076,6 +1076,8 @@ function matchToLocaleDateStringCall(callee, args, metadata) {
1076
1076
  let tz = null;
1077
1077
  const probeOptions = {};
1078
1078
  for (const prop of options.properties) {
1079
+ if (prop.kind === "spread")
1080
+ return null;
1079
1081
  if (prop.value.kind !== "literal" || prop.value.literalType !== "string")
1080
1082
  return null;
1081
1083
  const value = String(prop.value.value);
@@ -2256,6 +2258,8 @@ function matchQueryHrefCall(callee, args, localNames) {
2256
2258
  return null;
2257
2259
  const triples = [];
2258
2260
  for (const p of obj.properties) {
2261
+ if (p.kind === "spread")
2262
+ return null;
2259
2263
  const v = p.value;
2260
2264
  if (v.kind === "conditional" && isOmitBranch(v.alternate)) {
2261
2265
  triples.push({ guard: v.test, key: p.key, value: v.consequent });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/hono",
3
- "version": "0.31.10",
3
+ "version": "0.33.0",
4
4
  "description": "Hono integration for BarefootJS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -122,7 +122,7 @@
122
122
  },
123
123
  "devDependencies": {
124
124
  "@barefootjs/adapter-tests": "0.1.0",
125
- "@barefootjs/vite": "0.31.10",
125
+ "@barefootjs/vite": "0.33.0",
126
126
  "@types/jsdom": "^27.0.0",
127
127
  "hono": "^4.6.0",
128
128
  "jsdom": "^27.3.0",