frameboard 0.30.0 → 0.31.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.
@@ -23,8 +23,8 @@
23
23
  matchMedia('(prefers-color-scheme: dark)').matches),
24
24
  )
25
25
  </script>
26
- <script type="module" crossorigin src="/assets/index-DLAfZ8l-.js"></script>
27
- <link rel="stylesheet" crossorigin href="/assets/index-c8ObdNHS.css">
26
+ <script type="module" crossorigin src="/assets/index-DhTjSlhC.js"></script>
27
+ <link rel="stylesheet" crossorigin href="/assets/index-1aGUdRZT.css">
28
28
  </head>
29
29
  <body>
30
30
  <div id="root"></div>
package/dist/hook.js CHANGED
@@ -19449,9 +19449,13 @@ function findingFor(docs) {
19449
19449
  };
19450
19450
  };
19451
19451
  }
19452
- /** One finding as `path:line:column rule message`, as `check` and the hook print it. */
19452
+ /**
19453
+ * One finding as `path:line:column rule message`, as `check` and the hook
19454
+ * print it, the path taking `@<width>` for one read at a linked width.
19455
+ */
19453
19456
  function formatFinding(finding) {
19454
- return `${finding.location ? `${finding.path}:${finding.location.line}:${finding.location.column}` : finding.path} ${finding.rule} ${finding.message}`;
19457
+ const path = finding.width === void 0 ? finding.path : `${finding.path}@${finding.width}`;
19458
+ return `${finding.location ? `${path}:${finding.location.line}:${finding.location.column}` : path} ${finding.rule} ${finding.message}`;
19455
19459
  }
19456
19460
  const finding$5 = findingFor([{
19457
19461
  id: "unknown-token",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frameboard",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "A local design board that coding agents draw on as plain HTML files",
5
5
  "keywords": [
6
6
  "design",