@constela/start 1.3.4 → 1.3.5

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/README.md +16 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -227,6 +227,22 @@ title: Getting Started
227
227
  </Callout>
228
228
  ```
229
229
 
230
+ ### Security
231
+
232
+ MDX attribute expressions are validated at compile time. Dangerous patterns like `require()`, `eval()`, or `window` in actual code will throw explicit errors:
233
+
234
+ ```mdx
235
+ <!-- Error: MDX attribute contains disallowed pattern: require -->
236
+ <Button data={require("module")} />
237
+ ```
238
+
239
+ However, these words are allowed inside string literals:
240
+
241
+ ```mdx
242
+ <!-- OK: "require" is inside a string literal -->
243
+ <PropsTable items={[{ description: "operations that require one" }]} />
244
+ ```
245
+
230
246
  ## Configuration
231
247
 
232
248
  Create `constela.config.json`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constela/start",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Meta-framework for Constela applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -43,11 +43,11 @@
43
43
  "postcss": "^8.5.0",
44
44
  "@tailwindcss/postcss": "^4.0.0",
45
45
  "tailwindcss": "^4.0.0",
46
- "@constela/compiler": "0.9.1",
47
- "@constela/core": "0.9.1",
48
- "@constela/server": "5.0.1",
49
- "@constela/runtime": "0.12.2",
50
- "@constela/router": "10.0.0"
46
+ "@constela/core": "0.10.0",
47
+ "@constela/compiler": "0.10.0",
48
+ "@constela/router": "11.0.0",
49
+ "@constela/runtime": "0.13.0",
50
+ "@constela/server": "6.0.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/mdast": "^4.0.4",