lighthouse 9.5.0-dev.20220614 → 9.5.0-dev.20220617

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/changelog.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <a name="9.5.0"></a>
2
2
  # 9.5.0 (2022-03-09)
3
- [Full Changelog](https://github.com/compare/v9.4.0...v9.5.0)
3
+ [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v9.4.0...v9.5.0)
4
4
 
5
5
  We expect this release to ship in the DevTools of [Chrome 101](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
6
6
 
@@ -54,7 +54,7 @@ Thanks to our new contributor 👽🐷🐰🐯🐻!
54
54
 
55
55
  <a name="9.4.0"></a>
56
56
  # 9.4.0 (2022-02-16)
57
- [Full Changelog](https://github.com/compare/v9.3.1...v9.4.0)
57
+ [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v9.3.1...v9.4.0)
58
58
 
59
59
  We expect this release to ship in the DevTools of [Chrome 100](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
60
60
 
@@ -99,7 +99,7 @@ We expect this release to ship in the DevTools of [Chrome 100](https://chromiumd
99
99
 
100
100
  <a name="9.3.1"></a>
101
101
  # 9.3.1 (2022-01-31)
102
- [Full Changelog](https://github.com/compare/v9.3.0...v9.3.1)
102
+ [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v9.3.0...v9.3.1)
103
103
 
104
104
  ## Report
105
105
 
@@ -107,7 +107,7 @@ We expect this release to ship in the DevTools of [Chrome 100](https://chromiumd
107
107
 
108
108
  <a name="9.3.0"></a>
109
109
  # 9.3.0 (2022-01-31)
110
- [Full Changelog](https://github.com/compare/v9.2.0...v9.3.0)
110
+ [Full Changelog](https://github.com/GoogleChrome/lighthouse/compare/v9.2.0...v9.3.0)
111
111
 
112
112
  We expect this release to ship in the DevTools of [Chrome 100](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
113
113
 
@@ -1622,9 +1622,13 @@ class DOM {
1622
1622
  const element = this.createElement('span');
1623
1623
 
1624
1624
  for (const segment of Util.splitMarkdownLink(text)) {
1625
+ const processedSegment = segment.text.includes('`') ?
1626
+ this.convertMarkdownCodeSnippets(segment.text) :
1627
+ segment.text;
1628
+
1625
1629
  if (!segment.isLink) {
1626
1630
  // Plain text segment.
1627
- element.append(this._document.createTextNode(segment.text));
1631
+ element.append(processedSegment);
1628
1632
  continue;
1629
1633
  }
1630
1634
 
@@ -1640,7 +1644,7 @@ class DOM {
1640
1644
  const a = this.createElement('a');
1641
1645
  a.rel = 'noopener';
1642
1646
  a.target = '_blank';
1643
- a.textContent = segment.text;
1647
+ a.append(processedSegment);
1644
1648
  this.safelySetHref(a, url.href);
1645
1649
  element.append(a);
1646
1650
  }