@samva/vite 0.11.3 → 0.12.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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1" />
6
6
  <title>Samva editor</title>
7
- <script type="module" crossorigin src="./assets/index-DVVzLJ8l.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DRLLFnVc.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="./assets/index-Caktrdde.css">
9
9
  </head>
10
10
  <body>
@@ -19,7 +19,8 @@ const catalogFinding = (file, item) => ({
19
19
  file,
20
20
  severity: item.severity,
21
21
  code: item.code,
22
- message: item.message
22
+ message: item.message,
23
+ ...item.upgrade === void 0 ? {} : { upgrade: item.upgrade }
23
24
  });
24
25
  /** A template's input contract is a JSON Schema, so its variables are that schema's top-level properties. */
25
26
  const variablesOf = (schema) => {
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as samvaEditor } from "./editor-D9Cg09pl.js";
1
+ import { t as samvaEditor } from "./editor-DN7IYCAG.js";
2
2
  export { samvaEditor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samva/vite",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "description": "Local editor, dev server and build for Samva email, SMS and WhatsApp templates",
5
5
  "keywords": [
6
6
  "email",
@@ -70,12 +70,12 @@
70
70
  "test:browser:cross": "bun run build:dependencies && bun run build && playwright test --config playwright.config.ts"
71
71
  },
72
72
  "dependencies": {
73
- "@samva/markup": "^0.11.3"
73
+ "@samva/markup": "^0.12.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@effect/vitest": "4.0.0",
77
77
  "@playwright/test": "1.63.0",
78
- "@samva/editor": "^0.11.3",
78
+ "@samva/editor": "^0.12.0",
79
79
  "@types/node": "^26.6.2",
80
80
  "tsdown": "^0.22.13",
81
81
  "typescript": "^7.0.2",