Comparing version 2.0.3 to 2.0.4
@@ -28,3 +28,3 @@ import { isCSSStyleRule, isElement, isGroupingRule, isLinkElement, parseSelectorForClassnames, } from './util.js'; | ||
onUndefinedClassname(classname) { | ||
console.log(`%ccheckcss%c: No CSS rule for %c.${classname}%c, referenced by: %o`, 'color: darkorange', '', 'font-weight: bold', '', this.#documentElement.querySelectorAll(`.${classname}`)); | ||
console.log(`%ccheckcss%c: No CSS rule for %c.${classname}%c, referenced by: %o`, 'color: darkorange', '', 'font-weight: bold', '', this.#documentElement.querySelectorAll(`.${CSS.escape(classname)}`)); | ||
} | ||
@@ -31,0 +31,0 @@ constructor(document = window.document) { |
{ | ||
"name": "checkcss", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Detect references to undefined CSS classes", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20706