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.
- package/dist/cli.js +763 -183
- package/dist/client/assets/index-1aGUdRZT.css +2 -0
- package/dist/client/assets/index-DhTjSlhC.js +114 -0
- package/dist/client/index.html +2 -2
- package/dist/hook.js +6 -2
- package/package.json +1 -1
- package/dist/client/assets/index-DLAfZ8l-.js +0 -114
- package/dist/client/assets/index-c8ObdNHS.css +0 -2
package/dist/client/index.html
CHANGED
|
@@ -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-
|
|
27
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
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
|
-
/**
|
|
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
|
-
|
|
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",
|