reffy 11.4.3 → 11.4.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reffy",
3
- "version": "11.4.3",
3
+ "version": "11.4.5",
4
4
  "description": "W3C/WHATWG spec dependencies exploration companion. Features a short set of tools to study spec references as well as WebIDL term definitions and references found in W3C specifications.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "fetch-filecache-for-crawling": "4.1.0",
40
40
  "puppeteer": "19.7.1",
41
41
  "semver": "^7.3.5",
42
- "web-specs": "2.48.0",
42
+ "web-specs": "2.49.0",
43
43
  "webidl2": "24.2.2"
44
44
  },
45
45
  "devDependencies": {
@@ -719,6 +719,11 @@ const extractProductionRules = root => {
719
719
  ].join(','))))
720
720
  .filter(el => !el.closest(informativeSelector))
721
721
  .map(el => el.cloneNode(true))
722
+ .map(el => {
723
+ [...el.querySelectorAll('aside, .mdn-anno')]
724
+ .map(aside => aside.parentNode.removeChild(aside));
725
+ return el;
726
+ })
722
727
  .map(el => {
723
728
  [...el.querySelectorAll('sup')]
724
729
  .map(sup => sup.parentNode.removeChild(sup));