reffy 20.0.4 → 20.0.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": "20.0.
|
|
3
|
+
"version": "20.0.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",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"ajv-formats": "3.0.1",
|
|
38
38
|
"commander": "14.0.2",
|
|
39
39
|
"fetch-filecache-for-crawling": "5.1.1",
|
|
40
|
-
"puppeteer": "24.
|
|
40
|
+
"puppeteer": "24.34.0",
|
|
41
41
|
"semver": "^7.3.5",
|
|
42
|
-
"web-specs": "3.
|
|
42
|
+
"web-specs": "3.75.0",
|
|
43
43
|
"webidl2": "24.5.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"respec": "35.6.1",
|
|
47
47
|
"respec-hljs": "2.1.1",
|
|
48
|
-
"rollup": "4.
|
|
48
|
+
"rollup": "4.55.1",
|
|
49
49
|
"undici": "^7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"overrides": {
|
|
@@ -726,6 +726,15 @@ const extractTypedDfns = dfn => {
|
|
|
726
726
|
.cloneNode(true);
|
|
727
727
|
const fnRegExp = /^([:a-zA-Z_][:a-zA-Z0-9_\-]+)\([^\)]*\)$/;
|
|
728
728
|
|
|
729
|
+
// Skip scoped definitions of types/functions that link back to another
|
|
730
|
+
// definition. They would create an artificial scoped type/function
|
|
731
|
+
// otherwise. Ideally, these scoped definitions would rather be defined with
|
|
732
|
+
// a "value" type (or not be defined at all).
|
|
733
|
+
if (dfnFor && ['function', 'type'].includes(dfnType) &&
|
|
734
|
+
dfn.querySelector('a[data-link-type]')) {
|
|
735
|
+
return dfns;
|
|
736
|
+
}
|
|
737
|
+
|
|
729
738
|
// Remove note references as in:
|
|
730
739
|
// https://drafts.csswg.org/css-syntax-3/#the-anb-type
|
|
731
740
|
// and remove MDN annotations as well
|