reffy 6.2.0 → 6.2.1
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/LICENSE +21 -21
- package/README.md +158 -158
- package/index.js +11 -11
- package/package.json +53 -53
- package/reffy.js +248 -248
- package/src/browserlib/canonicalize-url.mjs +50 -50
- package/src/browserlib/create-outline.mjs +352 -352
- package/src/browserlib/extract-cssdfn.mjs +319 -319
- package/src/browserlib/extract-dfns.mjs +686 -686
- package/src/browserlib/extract-elements.mjs +205 -205
- package/src/browserlib/extract-headings.mjs +48 -48
- package/src/browserlib/extract-ids.mjs +28 -28
- package/src/browserlib/extract-links.mjs +28 -28
- package/src/browserlib/extract-references.mjs +203 -203
- package/src/browserlib/extract-webidl.mjs +134 -134
- package/src/browserlib/get-absolute-url.mjs +21 -21
- package/src/browserlib/get-generator.mjs +26 -26
- package/src/browserlib/get-lastmodified-date.mjs +13 -13
- package/src/browserlib/get-title.mjs +11 -11
- package/src/browserlib/informative-selector.mjs +16 -16
- package/src/browserlib/map-ids-to-headings.mjs +136 -136
- package/src/browserlib/reffy.json +53 -53
- package/src/cli/check-missing-dfns.js +609 -609
- package/src/cli/generate-idlnames.js +430 -430
- package/src/cli/generate-idlparsed.js +139 -139
- package/src/cli/merge-crawl-results.js +128 -128
- package/src/cli/parse-webidl.js +430 -430
- package/src/lib/css-grammar-parse-tree.schema.json +109 -109
- package/src/lib/css-grammar-parser.js +440 -440
- package/src/lib/fetch.js +55 -55
- package/src/lib/nock-server.js +119 -119
- package/src/lib/specs-crawler.js +605 -603
- package/src/lib/util.js +898 -898
- package/src/specs/missing-css-rules.json +197 -197
- package/src/specs/spec-equivalents.json +149 -149
- package/src/browserlib/extract-editors.mjs~ +0 -14
- package/src/browserlib/generate-es-dfn-report.sh~ +0 -4
- package/src/cli/csstree-grammar-check.js +0 -28
- package/src/cli/csstree-grammar-check.js~ +0 -10
- package/src/cli/csstree-grammar-parser.js +0 -11
- package/src/cli/csstree-grammar-parser.js~ +0 -1
- package/src/cli/extract-editors.js~ +0 -38
- package/src/cli/process-specs.js~ +0 -28
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema#",
|
|
3
|
-
"definitions": {
|
|
4
|
-
"typedterminal": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"type": { "type": "string", "enum": ["primitive", "valuespace", "propertyref", "keyword" ] },
|
|
8
|
-
"name": { "type": "string"},
|
|
9
|
-
"optional": { "type": "boolean" },
|
|
10
|
-
"range": { "type": "array", "items": {"type": "string"} }
|
|
11
|
-
},
|
|
12
|
-
"additionalProperties": false,
|
|
13
|
-
"required": ["type", "name"]
|
|
14
|
-
},
|
|
15
|
-
"stringterminal": {
|
|
16
|
-
"type": "object",
|
|
17
|
-
"properties": {
|
|
18
|
-
"type": { "type": "string", "pattern": "^string$" },
|
|
19
|
-
"content": {"type": "string"}
|
|
20
|
-
},
|
|
21
|
-
"additionalProperties": false,
|
|
22
|
-
"required": ["type", "content"]
|
|
23
|
-
},
|
|
24
|
-
"oneOf": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"properties": {
|
|
27
|
-
"oneOf": {
|
|
28
|
-
"type": "array",
|
|
29
|
-
"items": { "$ref": "#/definitions/component"}
|
|
30
|
-
},
|
|
31
|
-
"nonempty": { "type": "boolean" }
|
|
32
|
-
},
|
|
33
|
-
"additionalProperties": false,
|
|
34
|
-
"required": ["oneOf"]
|
|
35
|
-
},
|
|
36
|
-
"anyOf": {
|
|
37
|
-
"type": "object",
|
|
38
|
-
"properties": {
|
|
39
|
-
"anyOf": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": { "$ref": "#/definitions/component"}
|
|
42
|
-
},
|
|
43
|
-
"nonempty": { "type": "boolean" }
|
|
44
|
-
},
|
|
45
|
-
"additionalProperties": false,
|
|
46
|
-
"required": ["anyOf"]
|
|
47
|
-
},
|
|
48
|
-
"allOf": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"properties": {
|
|
51
|
-
"allOf": {
|
|
52
|
-
"type": "array",
|
|
53
|
-
"items": { "$ref": "#/definitions/component"}
|
|
54
|
-
},
|
|
55
|
-
"nonempty": { "type": "boolean" }
|
|
56
|
-
},
|
|
57
|
-
"additionalProperties": false,
|
|
58
|
-
"required": ["allOf"]
|
|
59
|
-
},
|
|
60
|
-
"sequence": {
|
|
61
|
-
"type": "object",
|
|
62
|
-
"properties": {
|
|
63
|
-
"type": { "type": "string", "pattern": "^array$"},
|
|
64
|
-
"items": {
|
|
65
|
-
"oneOf": [
|
|
66
|
-
{
|
|
67
|
-
"type": "array",
|
|
68
|
-
"items": { "$ref": "#/definitions/component"}
|
|
69
|
-
},
|
|
70
|
-
{ "$ref": "#/definitions/component"}
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
"minItems": { "type": "number" },
|
|
74
|
-
"maxItems": { "type": "number" }
|
|
75
|
-
},
|
|
76
|
-
"additionalProperties": false,
|
|
77
|
-
"required": ["type", "items"]
|
|
78
|
-
},
|
|
79
|
-
"function": {
|
|
80
|
-
"type": "object",
|
|
81
|
-
"properties": {
|
|
82
|
-
"type": { "type": "string", "pattern": "^function$"},
|
|
83
|
-
"arguments": {
|
|
84
|
-
"oneOf": [
|
|
85
|
-
{
|
|
86
|
-
"type": "array",
|
|
87
|
-
"items": { "$ref": "#/definitions/component"}
|
|
88
|
-
},
|
|
89
|
-
{ "$ref": "#/definitions/component"}
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"additionalProperties": false,
|
|
94
|
-
"required": ["type", "arguments"]
|
|
95
|
-
},
|
|
96
|
-
"component": {
|
|
97
|
-
"oneOf": [
|
|
98
|
-
{ "$ref": "#/definitions/typedterminal" },
|
|
99
|
-
{ "$ref": "#/definitions/stringterminal" },
|
|
100
|
-
{ "$ref": "#/definitions/oneOf" },
|
|
101
|
-
{ "$ref": "#/definitions/anyOf" },
|
|
102
|
-
{ "$ref": "#/definitions/allOf" },
|
|
103
|
-
{ "$ref": "#/definitions/sequence" },
|
|
104
|
-
{ "$ref": "#/definitions/function" }
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"$ref": "#/definitions/component"
|
|
109
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema#",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"typedterminal": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": { "type": "string", "enum": ["primitive", "valuespace", "propertyref", "keyword" ] },
|
|
8
|
+
"name": { "type": "string"},
|
|
9
|
+
"optional": { "type": "boolean" },
|
|
10
|
+
"range": { "type": "array", "items": {"type": "string"} }
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"required": ["type", "name"]
|
|
14
|
+
},
|
|
15
|
+
"stringterminal": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"type": { "type": "string", "pattern": "^string$" },
|
|
19
|
+
"content": {"type": "string"}
|
|
20
|
+
},
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": ["type", "content"]
|
|
23
|
+
},
|
|
24
|
+
"oneOf": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"oneOf": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": { "$ref": "#/definitions/component"}
|
|
30
|
+
},
|
|
31
|
+
"nonempty": { "type": "boolean" }
|
|
32
|
+
},
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["oneOf"]
|
|
35
|
+
},
|
|
36
|
+
"anyOf": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"anyOf": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"items": { "$ref": "#/definitions/component"}
|
|
42
|
+
},
|
|
43
|
+
"nonempty": { "type": "boolean" }
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": ["anyOf"]
|
|
47
|
+
},
|
|
48
|
+
"allOf": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"allOf": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": { "$ref": "#/definitions/component"}
|
|
54
|
+
},
|
|
55
|
+
"nonempty": { "type": "boolean" }
|
|
56
|
+
},
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"required": ["allOf"]
|
|
59
|
+
},
|
|
60
|
+
"sequence": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"type": { "type": "string", "pattern": "^array$"},
|
|
64
|
+
"items": {
|
|
65
|
+
"oneOf": [
|
|
66
|
+
{
|
|
67
|
+
"type": "array",
|
|
68
|
+
"items": { "$ref": "#/definitions/component"}
|
|
69
|
+
},
|
|
70
|
+
{ "$ref": "#/definitions/component"}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"minItems": { "type": "number" },
|
|
74
|
+
"maxItems": { "type": "number" }
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": false,
|
|
77
|
+
"required": ["type", "items"]
|
|
78
|
+
},
|
|
79
|
+
"function": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"type": { "type": "string", "pattern": "^function$"},
|
|
83
|
+
"arguments": {
|
|
84
|
+
"oneOf": [
|
|
85
|
+
{
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": { "$ref": "#/definitions/component"}
|
|
88
|
+
},
|
|
89
|
+
{ "$ref": "#/definitions/component"}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"required": ["type", "arguments"]
|
|
95
|
+
},
|
|
96
|
+
"component": {
|
|
97
|
+
"oneOf": [
|
|
98
|
+
{ "$ref": "#/definitions/typedterminal" },
|
|
99
|
+
{ "$ref": "#/definitions/stringterminal" },
|
|
100
|
+
{ "$ref": "#/definitions/oneOf" },
|
|
101
|
+
{ "$ref": "#/definitions/anyOf" },
|
|
102
|
+
{ "$ref": "#/definitions/allOf" },
|
|
103
|
+
{ "$ref": "#/definitions/sequence" },
|
|
104
|
+
{ "$ref": "#/definitions/function" }
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"$ref": "#/definitions/component"
|
|
109
|
+
}
|