reffy 19.2.4 → 20.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reffy",
3
- "version": "19.2.4",
3
+ "version": "20.0.0",
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,13 +37,13 @@
37
37
  "ajv-formats": "3.0.1",
38
38
  "commander": "14.0.1",
39
39
  "fetch-filecache-for-crawling": "5.1.1",
40
- "puppeteer": "24.23.0",
40
+ "puppeteer": "24.25.0",
41
41
  "semver": "^7.3.5",
42
- "web-specs": "3.67.0",
42
+ "web-specs": "3.68.0",
43
43
  "webidl2": "24.5.0"
44
44
  },
45
45
  "devDependencies": {
46
- "respec": "35.5.1",
46
+ "respec": "35.6.0",
47
47
  "respec-hljs": "2.1.1",
48
48
  "rollup": "4.52.4",
49
49
  "undici": "^7.0.0"
@@ -1,123 +1,124 @@
1
- {
2
- "$schema": "http://json-schema.org/schema#",
3
- "$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/css.json",
4
-
5
- "$defs": {
6
- "scopes": {
7
- "type": "array",
8
- "items": {
9
- "type": "string"
10
- },
11
- "minItems": 1
12
- },
13
-
14
- "extended": {
15
- "type": "array",
16
- "items": {
17
- "$ref": "../common.json#/$defs/url"
18
- }
19
- }
20
- },
21
-
22
- "type": "object",
23
- "additionalProperties": false,
24
- "required": ["atrules", "functions", "properties", "selectors", "types"],
25
- "properties": {
26
- "atrules": {
27
- "type": "array",
28
- "items": {
29
- "type": "object",
30
- "required": ["name", "descriptors"],
31
- "additionalProperties": false,
32
- "properties": {
33
- "name": { "type": "string", "pattern": "^@" },
34
- "href": { "$ref": "../common.json#/$defs/url" },
35
- "extended": { "$ref": "#/$defs/extended" },
36
- "syntax": { "$ref": "../common.json#/$defs/cssValue" },
37
- "prose": { "type": "string" },
38
- "descriptors": {
39
- "type": "array",
40
- "items": {
41
- "type": "object",
42
- "required": ["name", "for"],
43
- "additionalProperties": true,
44
- "properties": {
45
- "name": { "type": "string" },
46
- "for": { "type": "string" },
47
- "href": { "$ref": "../common.json#/$defs/url" },
48
- "syntax": { "$ref": "../common.json#/$defs/cssValue" }
49
- }
50
- }
51
- }
52
- }
53
- }
54
- },
55
- "functions": {
56
- "type": "array",
57
- "items": {
58
- "type": "object",
59
- "required": ["name"],
60
- "additionalProperties": false,
61
- "properties": {
62
- "name": { "type": "string", "pattern": "^.*()$" },
63
- "for": { "$ref": "#/$defs/scopes" },
64
- "href": { "$ref": "../common.json#/$defs/url" },
65
- "extended": { "$ref": "#/$defs/extended" },
66
- "prose": { "type": "string" },
67
- "syntax": { "$ref": "../common.json#/$defs/cssValue" }
68
- }
69
- }
70
- },
71
- "properties": {
72
- "type": "array",
73
- "items": {
74
- "type": "object",
75
- "additionalProperties": true,
76
- "required": ["name"],
77
- "properties": {
78
- "name": { "$ref": "../common.json#/$defs/cssPropertyName" },
79
- "href": { "$ref": "../common.json#/$defs/url" },
80
- "extended": { "$ref": "#/$defs/extended" },
81
- "syntax": { "$ref": "../common.json#/$defs/cssValue" },
82
- "legacyAliasOf": { "$ref": "../common.json#/$defs/cssPropertyName" },
83
- "styleDeclaration": {
84
- "type": "array",
85
- "items": { "type": "string" },
86
- "minItems": 1
87
- }
88
- }
89
- }
90
- },
91
- "selectors": {
92
- "type": "array",
93
- "items": {
94
- "type": "object",
95
- "required": ["name"],
96
- "additionalProperties": false,
97
- "properties": {
98
- "name": { "$ref": "../common.json#/$defs/cssPropertyName" },
99
- "href": { "$ref": "../common.json#/$defs/url" },
100
- "extended": { "$ref": "#/$defs/extended" },
101
- "prose": { "type": "string" },
102
- "syntax": { "$ref": "../common.json#/$defs/cssValue" }
103
- }
104
- }
105
- },
106
- "types": {
107
- "type": "array",
108
- "items": {
109
- "type": "object",
110
- "required": ["name"],
111
- "additionalProperties": false,
112
- "properties": {
113
- "name": { "type": "string", "pattern": "^[a-zA-Z0-9-\\+\\(\\)\\[\\]\\{\\}]+$" },
114
- "for": { "$ref": "#/$defs/scopes" },
115
- "href": { "$ref": "../common.json#/$defs/url" },
116
- "extended": { "$ref": "#/$defs/extended" },
117
- "prose": { "type": "string" },
118
- "syntax": { "$ref": "../common.json#/$defs/cssValue" }
119
- }
120
- }
121
- }
122
- }
123
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema#",
3
+ "$id": "https://github.com/w3c/reffy/blob/main/schemas/postprocessing/css.json",
4
+
5
+ "$defs": {
6
+ "scopes": {
7
+ "type": "array",
8
+ "items": {
9
+ "type": "string"
10
+ },
11
+ "minItems": 1
12
+ },
13
+
14
+ "extended": {
15
+ "type": "array",
16
+ "items": {
17
+ "$ref": "../common.json#/$defs/url"
18
+ }
19
+ }
20
+ },
21
+
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": ["atrules", "functions", "properties", "selectors", "types"],
25
+ "properties": {
26
+ "atrules": {
27
+ "type": "array",
28
+ "items": {
29
+ "type": "object",
30
+ "required": ["name", "descriptors"],
31
+ "additionalProperties": false,
32
+ "properties": {
33
+ "name": { "type": "string", "pattern": "^@" },
34
+ "href": { "$ref": "../common.json#/$defs/url" },
35
+ "for": { "$ref": "#/$defs/scopes" },
36
+ "extended": { "$ref": "#/$defs/extended" },
37
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" },
38
+ "prose": { "type": "string" },
39
+ "descriptors": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "object",
43
+ "required": ["name", "for"],
44
+ "additionalProperties": true,
45
+ "properties": {
46
+ "name": { "type": "string" },
47
+ "for": { "type": "string" },
48
+ "href": { "$ref": "../common.json#/$defs/url" },
49
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ },
56
+ "functions": {
57
+ "type": "array",
58
+ "items": {
59
+ "type": "object",
60
+ "required": ["name"],
61
+ "additionalProperties": false,
62
+ "properties": {
63
+ "name": { "type": "string", "pattern": "^.*()$" },
64
+ "for": { "$ref": "#/$defs/scopes" },
65
+ "href": { "$ref": "../common.json#/$defs/url" },
66
+ "extended": { "$ref": "#/$defs/extended" },
67
+ "prose": { "type": "string" },
68
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" }
69
+ }
70
+ }
71
+ },
72
+ "properties": {
73
+ "type": "array",
74
+ "items": {
75
+ "type": "object",
76
+ "additionalProperties": true,
77
+ "required": ["name"],
78
+ "properties": {
79
+ "name": { "$ref": "../common.json#/$defs/cssPropertyName" },
80
+ "href": { "$ref": "../common.json#/$defs/url" },
81
+ "extended": { "$ref": "#/$defs/extended" },
82
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" },
83
+ "legacyAliasOf": { "$ref": "../common.json#/$defs/cssPropertyName" },
84
+ "styleDeclaration": {
85
+ "type": "array",
86
+ "items": { "type": "string" },
87
+ "minItems": 1
88
+ }
89
+ }
90
+ }
91
+ },
92
+ "selectors": {
93
+ "type": "array",
94
+ "items": {
95
+ "type": "object",
96
+ "required": ["name"],
97
+ "additionalProperties": false,
98
+ "properties": {
99
+ "name": { "$ref": "../common.json#/$defs/cssPropertyName" },
100
+ "href": { "$ref": "../common.json#/$defs/url" },
101
+ "extended": { "$ref": "#/$defs/extended" },
102
+ "prose": { "type": "string" },
103
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" }
104
+ }
105
+ }
106
+ },
107
+ "types": {
108
+ "type": "array",
109
+ "items": {
110
+ "type": "object",
111
+ "required": ["name"],
112
+ "additionalProperties": false,
113
+ "properties": {
114
+ "name": { "type": "string", "pattern": "^[a-zA-Z0-9-\\+\\(\\)\\[\\]\\{\\}]+$" },
115
+ "for": { "$ref": "#/$defs/scopes" },
116
+ "href": { "$ref": "../common.json#/$defs/url" },
117
+ "extended": { "$ref": "#/$defs/extended" },
118
+ "prose": { "type": "string" },
119
+ "syntax": { "$ref": "../common.json#/$defs/cssValue" }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }