@hyperframes/lint 0.8.25 → 0.8.27
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/browser.js +6 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -568,7 +568,12 @@ var coreRules = [
|
|
|
568
568
|
let root;
|
|
569
569
|
try {
|
|
570
570
|
root = postcss.parse(style.content);
|
|
571
|
-
} catch {
|
|
571
|
+
} catch (error) {
|
|
572
|
+
findings.push({
|
|
573
|
+
code: "css_parse_error",
|
|
574
|
+
severity: "error",
|
|
575
|
+
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}`
|
|
576
|
+
});
|
|
572
577
|
continue;
|
|
573
578
|
}
|
|
574
579
|
root.walkRules((rule) => {
|