reffy 6.4.1 → 6.5.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": "6.4.1",
3
+ "version": "6.5.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",
@@ -34,18 +34,18 @@
34
34
  "abortcontroller-polyfill": "1.7.3",
35
35
  "commander": "9.0.0",
36
36
  "fetch-filecache-for-crawling": "4.1.0",
37
- "puppeteer": "13.3.0",
37
+ "puppeteer": "13.4.0",
38
38
  "semver": "^7.3.5",
39
- "web-specs": "1.0.2",
39
+ "web-specs": "1.2.0",
40
40
  "webidl2": "24.2.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "chai": "4.3.6",
44
- "mocha": "9.2.0",
44
+ "mocha": "9.2.1",
45
45
  "nock": "13.2.4",
46
- "respec": "30.0.4",
46
+ "respec": "31.0.7",
47
47
  "respec-hljs": "2.1.1",
48
- "rollup": "2.67.2"
48
+ "rollup": "2.68.0"
49
49
  },
50
50
  "scripts": {
51
51
  "test": "mocha --recursive tests/"
@@ -34,7 +34,7 @@ function normalize(str) {
34
34
  }
35
35
 
36
36
  // Valid types defined in https://tabatkins.github.io/bikeshed/#dfn-types
37
- // (+ "namespace" and "event" which are not yet in the doc)
37
+ // (+ "namespace", "event" and "permission" which are not yet in the doc)
38
38
  function hasValidType(el) {
39
39
  const validDfnTypes = [
40
40
  // CSS types
@@ -68,6 +68,7 @@ function hasValidType(el) {
68
68
  'setlike',
69
69
  'extended-attribute',
70
70
  'event',
71
+ 'permission',
71
72
 
72
73
  // Element types
73
74
  'element',
@@ -82,7 +82,7 @@ Object.keys(mockSpecs).forEach(path => {
82
82
  // Handling requests generated by ReSpec documents
83
83
  nock("https://api.specref.org")
84
84
  .persist()
85
- .get("/bibrefs?refs=webidl,html").reply(200,
85
+ .get("/bibrefs?refs=webidl").reply(200,
86
86
  { webidl: { href: "https://webidl.spec.whatwg.org/" } },
87
87
  { "Access-Control-Allow-Origin": "*" }
88
88
  );