reffy 17.2.1 → 17.2.3

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": "17.2.1",
3
+ "version": "17.2.3",
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,16 +37,16 @@
37
37
  "ajv-formats": "3.0.1",
38
38
  "commander": "12.1.0",
39
39
  "fetch-filecache-for-crawling": "5.1.1",
40
- "puppeteer": "23.1.1",
40
+ "puppeteer": "23.2.1",
41
41
  "semver": "^7.3.5",
42
- "web-specs": "3.17.0",
42
+ "web-specs": "3.18.1",
43
43
  "webidl2": "24.4.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "mocha": "10.7.3",
47
47
  "respec": "35.1.1",
48
48
  "respec-hljs": "2.1.1",
49
- "rollup": "4.21.0",
49
+ "rollup": "4.21.2",
50
50
  "undici": "^6.1.0"
51
51
  },
52
52
  "overrides": {
@@ -150,7 +150,7 @@ export default function (spec) {
150
150
  const bubblesCell = table.querySelector(`tr:nth-child(${bubblingInfoRow + 1}) td:nth-child(2)`);
151
151
  const bubbles = bubblesCell ? bubblesCell.textContent.trim() === "Yes" : null;
152
152
  const cancelableCell = table.querySelector(`tr:nth-child(${cancelableInfoRow + 1}) td:nth-child(2)`);
153
- const cancelable = cancelableCell ? cancelableCell.textContent.trim() === "Yes" : null;
153
+ const cancelable = cancelableCell ? cancelableCell.textContent.trim() === "Yes" : null;
154
154
  const iface = table.querySelector(`tr:nth-child(${interfaceRow + 1}) td:nth-child(2)`)?.textContent?.trim();
155
155
  if (eventName) {
156
156
  events.push({
@@ -216,7 +216,7 @@ export default function (spec) {
216
216
  phrasing = "fire a pointer event";
217
217
  }
218
218
  } else {
219
- m = parsedText.match(/fir(e|ing)\sa?\s*functional\s+event\s+(named\s+)?"?(?<eventName>[a-z]+)/i);
219
+ m = parsedText.match(/fir(e|ing)\sa?\s*functional\s+event\s+((named|given)\s+)?"?(?<eventName>[a-z]+)/i);
220
220
  if (m) {
221
221
  phrasing = "fire functional event";
222
222
  }
@@ -277,7 +277,7 @@ export default function (spec) {
277
277
  }
278
278
  }
279
279
  }
280
- if (event.bubbles === undefined && event.cancelable === undefined) {
280
+ if (event.bubbles === undefined && event.cancelable === undefined) {
281
281
  if (parsedText.match(/bubbles and cancelable attributes/)) {
282
282
  if (parsedText.match(/true/)) {
283
283
  event.bubbles = true;
@@ -286,8 +286,8 @@ export default function (spec) {
286
286
  event.bubbles = false;
287
287
  event.cancelable = false;
288
288
  }
289
- }
290
- }
289
+ }
290
+ }
291
291
  if (event.bubbles === undefined) {
292
292
  if (parsedText.match(/bubbles attribute/)) {
293
293
  if (parsedText.match(/true/)) {