@constela/server 1.0.0 → 3.0.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/index.js +2 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -157,6 +157,8 @@ function evaluate(expr, ctx) {
157
157
  }
158
158
  return importData;
159
159
  }
160
+ case "ref":
161
+ return null;
160
162
  default: {
161
163
  const _exhaustiveCheck = expr;
162
164
  throw new Error(`Unknown expression type: ${JSON.stringify(_exhaustiveCheck)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constela/server",
3
- "version": "1.0.0",
3
+ "version": "3.0.0",
4
4
  "description": "Server-side rendering for Constela UI framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,7 +15,7 @@
15
15
  "dist"
16
16
  ],
17
17
  "peerDependencies": {
18
- "@constela/compiler": "^0.5.0"
18
+ "@constela/compiler": "^0.7.0"
19
19
  },
20
20
  "dependencies": {
21
21
  "isomorphic-dompurify": "^2.35.0",
@@ -27,7 +27,7 @@
27
27
  "tsup": "^8.0.0",
28
28
  "typescript": "^5.3.0",
29
29
  "vitest": "^2.0.0",
30
- "@constela/compiler": "0.5.0"
30
+ "@constela/compiler": "0.7.0"
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=20.0.0"