respec 32.6.0 → 32.7.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/builds/respec-aom.js +82 -82
- package/builds/respec-aom.js.map +1 -1
- package/builds/respec-dini.js +88 -88
- package/builds/respec-dini.js.map +1 -1
- package/builds/respec-geonovum.js +59 -59
- package/builds/respec-geonovum.js.map +1 -1
- package/builds/respec-w3c.js +121 -131
- package/builds/respec-w3c.js.map +1 -1
- package/package.json +13 -13
- package/tools/respec2html.js +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "respec",
|
|
3
|
-
"version": "32.
|
|
3
|
+
"version": "32.7.0",
|
|
4
4
|
"license": "W3C",
|
|
5
5
|
"description": "A technical specification pre-processor.",
|
|
6
6
|
"engines": {
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"Robin Berjon"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@rollup/plugin-alias": "^4.0.
|
|
27
|
-
"@rollup/plugin-commonjs": "^
|
|
26
|
+
"@rollup/plugin-alias": "^4.0.3",
|
|
27
|
+
"@rollup/plugin-commonjs": "^24.0.1",
|
|
28
28
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
29
29
|
"@types/marked": "^4.0.8",
|
|
30
30
|
"@types/pluralize": "0.0.29",
|
|
31
|
-
"boxen": "^7.0.
|
|
31
|
+
"boxen": "^7.0.1",
|
|
32
32
|
"chokidar": "^3.5.3",
|
|
33
|
-
"clean-css": "^5.3.
|
|
33
|
+
"clean-css": "^5.3.2",
|
|
34
34
|
"epipebomb": "^1.0.0",
|
|
35
|
-
"eslint": "^8.
|
|
36
|
-
"eslint-config-prettier": "^8.
|
|
37
|
-
"eslint-plugin-import": "^2.
|
|
35
|
+
"eslint": "^8.33.0",
|
|
36
|
+
"eslint-config-prettier": "^8.6.0",
|
|
37
|
+
"eslint-plugin-import": "^2.27.5",
|
|
38
38
|
"eslint-plugin-jasmine": "^4.1.3",
|
|
39
39
|
"eslint-plugin-prettier": "^4.2.1",
|
|
40
40
|
"highlight.js": "^11.7.0",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"karma-safari-launcher": "^1.0.0",
|
|
52
52
|
"loading-indicator": "^2.0.0",
|
|
53
53
|
"pluralize": "^8.0.0",
|
|
54
|
-
"prettier": "^2.8.
|
|
54
|
+
"prettier": "^2.8.3",
|
|
55
55
|
"prompt": "^1.3.0",
|
|
56
|
-
"rollup": "^3.
|
|
56
|
+
"rollup": "^3.12.0",
|
|
57
57
|
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
58
58
|
"rollup-plugin-terser": "^7.0.2",
|
|
59
|
-
"serve": "^14.
|
|
59
|
+
"serve": "^14.2.0",
|
|
60
60
|
"serve-handler": "^6.1.5",
|
|
61
61
|
"sniffy-mimetype": "^1.1.1",
|
|
62
62
|
"typescript": "^4.9.4",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"colors": "1.4.0",
|
|
89
89
|
"finalhandler": "^1.2.0",
|
|
90
|
-
"marked": "^4.2.
|
|
91
|
-
"puppeteer": "^19.
|
|
90
|
+
"marked": "^4.2.12",
|
|
91
|
+
"puppeteer": "^19.6.2",
|
|
92
92
|
"sade": "^1.8.1",
|
|
93
93
|
"serve-static": "^1.15.0"
|
|
94
94
|
},
|
package/tools/respec2html.js
CHANGED
|
@@ -184,7 +184,7 @@ cli
|
|
|
184
184
|
.option("--localhost", "Spin up a local server to perform processing.", false)
|
|
185
185
|
.option("--port", "Port override for --localhost.", 3000);
|
|
186
186
|
|
|
187
|
-
cli.action((source, destination, opts) => {
|
|
187
|
+
cli.action(async (source, destination, opts) => {
|
|
188
188
|
source = source || opts.src;
|
|
189
189
|
destination = destination || opts.out;
|
|
190
190
|
const log = new Logger(opts.verbose);
|
|
@@ -195,10 +195,13 @@ cli.action((source, destination, opts) => {
|
|
|
195
195
|
process.exit(1);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
|
|
199
|
-
log
|
|
198
|
+
try {
|
|
199
|
+
await run(source, destination, opts, log);
|
|
200
|
+
process.exit(0);
|
|
201
|
+
} catch (error) {
|
|
202
|
+
log.fatal(error);
|
|
200
203
|
process.exit(1);
|
|
201
|
-
}
|
|
204
|
+
}
|
|
202
205
|
});
|
|
203
206
|
|
|
204
207
|
// https://github.com/lukeed/sade/issues/28#issuecomment-516104013
|