lighthouse 11.0.0-dev.20230823 → 11.0.0-dev.20230824

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.
@@ -44,6 +44,7 @@ class CrawlableAnchors extends Audit {
44
44
  name = '',
45
45
  role = '',
46
46
  id,
47
+ href,
47
48
  }) => {
48
49
  rawHref = rawHref.replace( /\s/g, '');
49
50
  name = name.trim();
@@ -61,7 +62,7 @@ class CrawlableAnchors extends Audit {
61
62
  if (rawHref.startsWith('file:')) return true;
62
63
  if (name.length > 0) return;
63
64
 
64
- if (rawHref === '') return true;
65
+ if (href === '') return true;
65
66
  if (javaScriptVoidRegExp.test(rawHref)) return true;
66
67
 
67
68
  // checking if rawHref is a valid
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "11.0.0-dev.20230823",
4
+ "version": "11.0.0-dev.20230824",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {