reffy 11.3.2 → 11.4.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": "11.3.2",
3
+ "version": "11.4.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,9 +37,9 @@
37
37
  "ajv-formats": "2.1.1",
38
38
  "commander": "10.0.0",
39
39
  "fetch-filecache-for-crawling": "4.1.0",
40
- "puppeteer": "19.5.2",
40
+ "puppeteer": "19.6.1",
41
41
  "semver": "^7.3.5",
42
- "web-specs": "2.43.0",
42
+ "web-specs": "2.44.0",
43
43
  "webidl2": "24.2.2"
44
44
  },
45
45
  "devDependencies": {
@@ -48,7 +48,7 @@
48
48
  "nock": "13.3.0",
49
49
  "respec": "32.6.1",
50
50
  "respec-hljs": "2.1.1",
51
- "rollup": "3.10.0"
51
+ "rollup": "3.10.1"
52
52
  },
53
53
  "scripts": {
54
54
  "test": "mocha --recursive tests/"
@@ -7,10 +7,11 @@
7
7
  "additionalProperties": {
8
8
  "type": "object",
9
9
  "additionalProperties": false,
10
- "required": ["fragment", "parsed"],
10
+ "required": ["fragment", "parsed", "type"],
11
11
  "properties": {
12
12
  "fragment": { "type": "string" },
13
- "parsed": { "type": "string" }
13
+ "parsed": { "type": "string" },
14
+ "type": { "$ref": "../common.json#/$defs/interfacetype" }
14
15
  }
15
16
  }
16
17
  }
@@ -150,7 +150,8 @@ async function saveIndex(names, folder) {
150
150
  Object.keys(names).sort().forEach(name => {
151
151
  index[name] = {
152
152
  fragment: `idlnames/${name}.idl`,
153
- parsed: `idlnamesparsed/${name}.json`
153
+ parsed: `idlnamesparsed/${name}.json`,
154
+ type: names[name].type
154
155
  };
155
156
  });
156
157
  const filename = path.join(folder, 'idlnames.json');