respec 35.2.2 → 35.3.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,12 +1,12 @@
1
1
  {
2
2
  "name": "respec",
3
- "version": "35.2.2",
3
+ "version": "35.3.0",
4
4
  "license": "W3C",
5
5
  "description": "A technical specification pre-processor.",
6
6
  "engines": {
7
7
  "node": ">=20.12.1"
8
8
  },
9
- "packageManager": "pnpm@9.15.0",
9
+ "packageManager": "pnpm@10.6.5",
10
10
  "bin": {
11
11
  "respec": "tools/respec2html.js",
12
12
  "respec2html": "tools/respec2html.js"
@@ -25,8 +25,8 @@
25
25
  ],
26
26
  "devDependencies": {
27
27
  "@rollup/plugin-alias": "^5.1.1",
28
- "@rollup/plugin-commonjs": "^28.0.2",
29
- "@rollup/plugin-node-resolve": "^16.0.0",
28
+ "@rollup/plugin-commonjs": "^28.0.3",
29
+ "@rollup/plugin-node-resolve": "^16.0.1",
30
30
  "@rollup/plugin-terser": "^0.4.4",
31
31
  "@types/pluralize": "0.0.33",
32
32
  "boxen": "^8.0.1",
@@ -37,12 +37,12 @@
37
37
  "eslint-config-prettier": "^9.1.0",
38
38
  "eslint-plugin-import": "^2.31.0",
39
39
  "eslint-plugin-jasmine": "^4.2.2",
40
- "eslint-plugin-prettier": "^5.2.1",
40
+ "eslint-plugin-prettier": "^5.2.3",
41
41
  "highlight.js": "^11.11.1",
42
42
  "hyperhtml": "^2.34.2",
43
- "idb": "^8.0.1",
44
- "jasmine": "^5.5.0",
45
- "jasmine-core": "^5.5.0",
43
+ "idb": "^8.0.2",
44
+ "jasmine": "^5.6.0",
45
+ "jasmine-core": "^5.6.0",
46
46
  "karma": "^6.4.4",
47
47
  "karma-chrome-launcher": "^3.2.0",
48
48
  "karma-firefox-launcher": "^2.1.3",
@@ -52,14 +52,14 @@
52
52
  "karma-safari-launcher": "^1.0.0",
53
53
  "loading-indicator": "^2.0.0",
54
54
  "pluralize": "^8.0.0",
55
- "prettier": "^3.4.2",
55
+ "prettier": "^3.5.3",
56
56
  "prompt": "^1.3.0",
57
- "rollup": "^4.29.1",
57
+ "rollup": "^4.36.0",
58
58
  "rollup-plugin-minify-html-literals": "^1.2.6",
59
59
  "serve": "^14.2.4",
60
60
  "serve-handler": "^6.1.6",
61
61
  "sniffy-mimetype": "^1.1.1",
62
- "typescript": "^5.7.2",
62
+ "typescript": "^5.8.2",
63
63
  "vnu-jar": "^24.10.17",
64
64
  "webidl2": "^24.4.1"
65
65
  },
@@ -87,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "colors": "1.4.0",
90
- "finalhandler": "^1.3.1",
90
+ "finalhandler": "^2.1.0",
91
91
  "marked": "^12.0.2",
92
- "puppeteer": "^23.11.1",
92
+ "puppeteer": "^24.4.0",
93
93
  "sade": "^1.8.1",
94
94
  "serve-static": "^1.16.2"
95
95
  },
@@ -306,7 +306,7 @@ function handleConsoleMessages(page, onError, onWarning) {
306
306
  /** @param {import('puppeteer').JSHandle<any>} handle */
307
307
  async function stringifyJSHandle(handle) {
308
308
  return await handle.evaluate(obj => {
309
- if (typeof obj === "string") {
309
+ if (typeof obj === "string" || obj === null || obj === undefined) {
310
310
  // Old ReSpec versions might report errors as strings.
311
311
  return JSON.stringify({ message: String(obj) });
312
312
  } else if (obj instanceof Error && !obj.plugin) {