reffy 6.4.2 → 6.6.0

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.
Files changed (43) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +158 -158
  3. package/index.js +11 -11
  4. package/package.json +53 -53
  5. package/reffy.js +248 -248
  6. package/src/browserlib/canonicalize-url.mjs +50 -50
  7. package/src/browserlib/create-outline.mjs +352 -352
  8. package/src/browserlib/extract-cssdfn.mjs +319 -319
  9. package/src/browserlib/extract-dfns.mjs +687 -686
  10. package/src/browserlib/extract-editors.mjs~ +14 -0
  11. package/src/browserlib/extract-elements.mjs +205 -205
  12. package/src/browserlib/extract-headings.mjs +48 -48
  13. package/src/browserlib/extract-ids.mjs +28 -28
  14. package/src/browserlib/extract-links.mjs +28 -28
  15. package/src/browserlib/extract-references.mjs +203 -203
  16. package/src/browserlib/extract-webidl.mjs +134 -134
  17. package/src/browserlib/generate-es-dfn-report.sh~ +4 -0
  18. package/src/browserlib/get-absolute-url.mjs +21 -21
  19. package/src/browserlib/get-generator.mjs +26 -26
  20. package/src/browserlib/get-lastmodified-date.mjs +13 -13
  21. package/src/browserlib/get-title.mjs +11 -11
  22. package/src/browserlib/informative-selector.mjs +16 -16
  23. package/src/browserlib/map-ids-to-headings.mjs +136 -136
  24. package/src/browserlib/reffy.json +53 -53
  25. package/src/cli/check-missing-dfns.js +609 -609
  26. package/src/cli/csstree-grammar-check.js +28 -0
  27. package/src/cli/csstree-grammar-check.js~ +10 -0
  28. package/src/cli/csstree-grammar-parser.js +11 -0
  29. package/src/cli/csstree-grammar-parser.js~ +1 -0
  30. package/src/cli/extract-editors.js~ +38 -0
  31. package/src/cli/generate-idlnames.js +430 -430
  32. package/src/cli/generate-idlparsed.js +139 -139
  33. package/src/cli/merge-crawl-results.js +128 -128
  34. package/src/cli/parse-webidl.js +430 -430
  35. package/src/cli/process-specs.js~ +28 -0
  36. package/src/lib/css-grammar-parse-tree.schema.json +109 -109
  37. package/src/lib/css-grammar-parser.js +440 -440
  38. package/src/lib/fetch.js +56 -56
  39. package/src/lib/nock-server.js +127 -127
  40. package/src/lib/specs-crawler.js +631 -622
  41. package/src/lib/util.js +943 -943
  42. package/src/specs/missing-css-rules.json +197 -197
  43. package/src/specs/spec-equivalents.json +149 -149
@@ -1,149 +1,149 @@
1
- {
2
- "https://www.w3.org/TR/webmessaging/": [
3
- "https://html.spec.whatwg.org/"
4
- ],
5
- "https://www.w3.org/TR/2dcontext/": [
6
- "https://html.spec.whatwg.org/",
7
- "https://www.whatwg.org/specs/web-apps/current-work/multipage/",
8
- "https://www.w3.org/TR/2dcontext2/"
9
- ],
10
- "https://www.w3.org/TR/workers/": [
11
- "https://html.spec.whatwg.org/"
12
- ],
13
- "https://html.spec.whatwg.org/multipage/": [
14
- "https://w3c.github.io/html/",
15
- "https://www.w3.org/TR/html/",
16
- "https://www.w3.org/TR/html5/",
17
- "https://www.w3.org/TR/html51/",
18
- "https://www.w3.org/TR/html52/",
19
- "https://html.spec.whatwg.org/",
20
- "https://www.whatwg.org/specs/web-apps/current-work/multipage/",
21
- "https://www.w3.org/TR/eventsource/",
22
- "https://www.w3.org/TR/webmessaging/",
23
- "https://www.w3.org/TR/2dcontext/",
24
- "https://www.w3.org/TR/2dcontext2/",
25
- "https://www.w3.org/TR/webstorage/",
26
- "https://www.w3.org/TR/workers/",
27
- "https://www.w3.org/TR/websockets/",
28
- "https://www.w3.org/html/wg/drafts/html/master/webappapis.html"
29
- ],
30
- "https://www.w3.org/TR/dom41/": [
31
- "https://dom.spec.whatwg.org/",
32
- "https://www.w3.org/TR/dom/",
33
- "https://www.w3.org/TR/DOM-Level-3-Core/",
34
- "https://www.w3.org/TR/domcore/",
35
- "https://www.w3.org/TR/REC-DOM-Level-1/"
36
- ],
37
- "https://www.w3.org/TR/html52/": [
38
- "https://www.w3.org/TR/html/",
39
- "https://www.w3.org/TR/html5/",
40
- "https://www.w3.org/TR/html51/",
41
- "https://www.w3.org/TR/html52/",
42
- "https://html.spec.whatwg.org/",
43
- "https://html.spec.whatwg.org/multipage/"
44
- ],
45
- "https://dom.spec.whatwg.org/": [
46
- "https://www.w3.org/TR/dom/",
47
- "https://www.w3.org/TR/dom41/",
48
- "https://www.w3.org/TR/DOM-Level-3-Core/",
49
- "https://www.w3.org/TR/domcore/",
50
- "https://www.w3.org/TR/REC-DOM-Level-1/"
51
- ],
52
- "https://www.khronos.org/registry/webgl/specs/latest/1.0/": [
53
- "https://www.khronos.org/registry/webgl/specs/1.0/",
54
- "https://www.khronos.org/registry/webgl/specs/latest/"
55
- ],
56
- "https://www.w3.org/TR/notifications/": [
57
- "https://notifications.spec.whatwg.org/"
58
- ],
59
- "https://www.w3.org/TR/geolocation-API/": [
60
- "https://dev.w3.org/geo/api/spec-source.html"
61
- ],
62
- "https://www.w3.org/TR/uievents/": [
63
- "https://w3c.github.io/uievents/"
64
- ],
65
- "https://www.w3.org/TR/mediacapture-streams/": [
66
- "https://w3c.github.io/mediacapture-main/getusermedia.html"
67
- ],
68
- "https://www.w3.org/TR/vibration/": [
69
- "https://dev.w3.org/2009/dap/vibration/"
70
- ],
71
- "https://www.w3.org/TR/html-media-capture/": [
72
- "https://dev.w3.org/2009/dap/camera/"
73
- ],
74
- "https://www.w3.org/TR/service-workers-1/": [
75
- "https://w3c.github.io/ServiceWorker/",
76
- "https://www.w3.org/TR/service-workers/"
77
- ],
78
- "https://www.w3.org/TR/webvtt1/": [
79
- "https://dev.w3.org/html5/webvtt/"
80
- ],
81
- "https://www.w3.org/TR/WebCryptoAPI/": [
82
- "https://w3c.github.io/webcrypto/"
83
- ],
84
- "https://www.w3.org/TR/pointerlock-2/": [
85
- "https://www.w3.org/TR/pointerlock/"
86
- ],
87
- "https://www.w3.org/TR/hr-time-3/": [
88
- "https://www.w3.org/TR/hr-time/",
89
- "https://www.w3.org/TR/hr-time-2/"
90
- ],
91
- "https://www.w3.org/TR/navigation-timing-2/": [
92
- "https://www.w3.org/TR/navigation-timing/"
93
- ],
94
- "https://www.w3.org/TR/pointerevents2/": [
95
- "https://www.w3.org/TR/pointerevents/"
96
- ],
97
- "https://www.w3.org/TR/page-visibility-2/": [
98
- "https://www.w3.org/TR/page-visibility/"
99
- ],
100
- "https://www.w3.org/TR/user-timing-2/": [
101
- "https://www.w3.org/TR/user-timing/"
102
- ],
103
- "https://www.w3.org/TR/performance-timeline-2/": [
104
- "https://www.w3.org/TR/performance-timeline/"
105
- ],
106
- "https://www.w3.org/TR/IndexedDB-2/": [
107
- "https://www.w3.org/TR/IndexedDB/"
108
- ],
109
- "https://www.w3.org/TR/resource-timing-2/": [
110
- "https://www.w3.org/TR/resource-timing-1/",
111
- "https://www.w3.org/TR/resource-timing/"
112
- ],
113
- "https://www.w3.org/TR/input-events-2/": [
114
- "https://www.w3.org/TR/input-events-1/"
115
- ],
116
- "https://www.w3.org/TR/SVG2/": [
117
- "https://www.w3.org/TR/SVG/",
118
- "https://www.w3.org/TR/SVG11/"
119
- ],
120
- "https://w3c.github.io/staticrange/": [
121
- "https://w3c.github.io/staticrange/index.html"
122
- ],
123
- "https://www.w3.org/TR/geometry-1/": [
124
- "https://drafts.fxtf.org/geometry/"
125
- ],
126
- "https://www.w3.org/TR/css-values-3/": [
127
- "https://www.w3.org/TR/css3-values/",
128
- "https://www.w3.org/TR/css-values/"
129
- ],
130
- "https://www.w3.org/TR/css-syntax-3/": [
131
- "https://www.w3.org/TR/css-syntax/"
132
- ],
133
- "https://www.w3.org/TR/css-fonts-4/": [
134
- "https://www.w3.org/TR/css3-fonts/",
135
- "https://www.w3.org/TR/css-fonts-3/"
136
- ],
137
- "https://www.w3.org/TR/css3-selectors/": [
138
- "https://www.w3.org/TR/selectors/"
139
- ],
140
- "https://www.w3.org/TR/compositing-1/": [
141
- "https://www.w3.org/TR/compositing/"
142
- ],
143
- "https://www.w3.org/TR/css-writing-modes-3/": [
144
- "https://www.w3.org/TR/css3-writing-modes/"
145
- ],
146
- "https://www.w3.org/TR/cssom-view-1/": [
147
- "https://www.w3.org/TR/cssom-view/"
148
- ]
149
- }
1
+ {
2
+ "https://www.w3.org/TR/webmessaging/": [
3
+ "https://html.spec.whatwg.org/"
4
+ ],
5
+ "https://www.w3.org/TR/2dcontext/": [
6
+ "https://html.spec.whatwg.org/",
7
+ "https://www.whatwg.org/specs/web-apps/current-work/multipage/",
8
+ "https://www.w3.org/TR/2dcontext2/"
9
+ ],
10
+ "https://www.w3.org/TR/workers/": [
11
+ "https://html.spec.whatwg.org/"
12
+ ],
13
+ "https://html.spec.whatwg.org/multipage/": [
14
+ "https://w3c.github.io/html/",
15
+ "https://www.w3.org/TR/html/",
16
+ "https://www.w3.org/TR/html5/",
17
+ "https://www.w3.org/TR/html51/",
18
+ "https://www.w3.org/TR/html52/",
19
+ "https://html.spec.whatwg.org/",
20
+ "https://www.whatwg.org/specs/web-apps/current-work/multipage/",
21
+ "https://www.w3.org/TR/eventsource/",
22
+ "https://www.w3.org/TR/webmessaging/",
23
+ "https://www.w3.org/TR/2dcontext/",
24
+ "https://www.w3.org/TR/2dcontext2/",
25
+ "https://www.w3.org/TR/webstorage/",
26
+ "https://www.w3.org/TR/workers/",
27
+ "https://www.w3.org/TR/websockets/",
28
+ "https://www.w3.org/html/wg/drafts/html/master/webappapis.html"
29
+ ],
30
+ "https://www.w3.org/TR/dom41/": [
31
+ "https://dom.spec.whatwg.org/",
32
+ "https://www.w3.org/TR/dom/",
33
+ "https://www.w3.org/TR/DOM-Level-3-Core/",
34
+ "https://www.w3.org/TR/domcore/",
35
+ "https://www.w3.org/TR/REC-DOM-Level-1/"
36
+ ],
37
+ "https://www.w3.org/TR/html52/": [
38
+ "https://www.w3.org/TR/html/",
39
+ "https://www.w3.org/TR/html5/",
40
+ "https://www.w3.org/TR/html51/",
41
+ "https://www.w3.org/TR/html52/",
42
+ "https://html.spec.whatwg.org/",
43
+ "https://html.spec.whatwg.org/multipage/"
44
+ ],
45
+ "https://dom.spec.whatwg.org/": [
46
+ "https://www.w3.org/TR/dom/",
47
+ "https://www.w3.org/TR/dom41/",
48
+ "https://www.w3.org/TR/DOM-Level-3-Core/",
49
+ "https://www.w3.org/TR/domcore/",
50
+ "https://www.w3.org/TR/REC-DOM-Level-1/"
51
+ ],
52
+ "https://www.khronos.org/registry/webgl/specs/latest/1.0/": [
53
+ "https://www.khronos.org/registry/webgl/specs/1.0/",
54
+ "https://www.khronos.org/registry/webgl/specs/latest/"
55
+ ],
56
+ "https://www.w3.org/TR/notifications/": [
57
+ "https://notifications.spec.whatwg.org/"
58
+ ],
59
+ "https://www.w3.org/TR/geolocation-API/": [
60
+ "https://dev.w3.org/geo/api/spec-source.html"
61
+ ],
62
+ "https://www.w3.org/TR/uievents/": [
63
+ "https://w3c.github.io/uievents/"
64
+ ],
65
+ "https://www.w3.org/TR/mediacapture-streams/": [
66
+ "https://w3c.github.io/mediacapture-main/getusermedia.html"
67
+ ],
68
+ "https://www.w3.org/TR/vibration/": [
69
+ "https://dev.w3.org/2009/dap/vibration/"
70
+ ],
71
+ "https://www.w3.org/TR/html-media-capture/": [
72
+ "https://dev.w3.org/2009/dap/camera/"
73
+ ],
74
+ "https://www.w3.org/TR/service-workers-1/": [
75
+ "https://w3c.github.io/ServiceWorker/",
76
+ "https://www.w3.org/TR/service-workers/"
77
+ ],
78
+ "https://www.w3.org/TR/webvtt1/": [
79
+ "https://dev.w3.org/html5/webvtt/"
80
+ ],
81
+ "https://www.w3.org/TR/WebCryptoAPI/": [
82
+ "https://w3c.github.io/webcrypto/"
83
+ ],
84
+ "https://www.w3.org/TR/pointerlock-2/": [
85
+ "https://www.w3.org/TR/pointerlock/"
86
+ ],
87
+ "https://www.w3.org/TR/hr-time-3/": [
88
+ "https://www.w3.org/TR/hr-time/",
89
+ "https://www.w3.org/TR/hr-time-2/"
90
+ ],
91
+ "https://www.w3.org/TR/navigation-timing-2/": [
92
+ "https://www.w3.org/TR/navigation-timing/"
93
+ ],
94
+ "https://www.w3.org/TR/pointerevents2/": [
95
+ "https://www.w3.org/TR/pointerevents/"
96
+ ],
97
+ "https://www.w3.org/TR/page-visibility-2/": [
98
+ "https://www.w3.org/TR/page-visibility/"
99
+ ],
100
+ "https://www.w3.org/TR/user-timing-2/": [
101
+ "https://www.w3.org/TR/user-timing/"
102
+ ],
103
+ "https://www.w3.org/TR/performance-timeline-2/": [
104
+ "https://www.w3.org/TR/performance-timeline/"
105
+ ],
106
+ "https://www.w3.org/TR/IndexedDB-2/": [
107
+ "https://www.w3.org/TR/IndexedDB/"
108
+ ],
109
+ "https://www.w3.org/TR/resource-timing-2/": [
110
+ "https://www.w3.org/TR/resource-timing-1/",
111
+ "https://www.w3.org/TR/resource-timing/"
112
+ ],
113
+ "https://www.w3.org/TR/input-events-2/": [
114
+ "https://www.w3.org/TR/input-events-1/"
115
+ ],
116
+ "https://www.w3.org/TR/SVG2/": [
117
+ "https://www.w3.org/TR/SVG/",
118
+ "https://www.w3.org/TR/SVG11/"
119
+ ],
120
+ "https://w3c.github.io/staticrange/": [
121
+ "https://w3c.github.io/staticrange/index.html"
122
+ ],
123
+ "https://www.w3.org/TR/geometry-1/": [
124
+ "https://drafts.fxtf.org/geometry/"
125
+ ],
126
+ "https://www.w3.org/TR/css-values-3/": [
127
+ "https://www.w3.org/TR/css3-values/",
128
+ "https://www.w3.org/TR/css-values/"
129
+ ],
130
+ "https://www.w3.org/TR/css-syntax-3/": [
131
+ "https://www.w3.org/TR/css-syntax/"
132
+ ],
133
+ "https://www.w3.org/TR/css-fonts-4/": [
134
+ "https://www.w3.org/TR/css3-fonts/",
135
+ "https://www.w3.org/TR/css-fonts-3/"
136
+ ],
137
+ "https://www.w3.org/TR/css3-selectors/": [
138
+ "https://www.w3.org/TR/selectors/"
139
+ ],
140
+ "https://www.w3.org/TR/compositing-1/": [
141
+ "https://www.w3.org/TR/compositing/"
142
+ ],
143
+ "https://www.w3.org/TR/css-writing-modes-3/": [
144
+ "https://www.w3.org/TR/css3-writing-modes/"
145
+ ],
146
+ "https://www.w3.org/TR/cssom-view-1/": [
147
+ "https://www.w3.org/TR/cssom-view/"
148
+ ]
149
+ }