@rse/specbook 0.9.4 → 0.9.5
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/README.md +15 -0
- package/dst/specbook-parse-value.js +1 -1
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -30,6 +30,21 @@ service with tools `specbook_<cmd>()`.
|
|
|
30
30
|
- PDF output format for printing and archiving
|
|
31
31
|
- CLI, MCP, and API interfaces
|
|
32
32
|
|
|
33
|
+
Rendering Example
|
|
34
|
+
-----------------
|
|
35
|
+
|
|
36
|
+
### HTML Rendering (Light Theme)
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
### HTML Rendering (Dark Theme)
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
### PDF Rendering
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+
|
|
33
48
|
Specification Format
|
|
34
49
|
--------------------
|
|
35
50
|
|
|
@@ -43,7 +43,7 @@ const parseValueExpr = (tokens, pos, nested) => {
|
|
|
43
43
|
}
|
|
44
44
|
catch (err) {
|
|
45
45
|
throw new Error(`invalid regular expression "/${source}/": ` +
|
|
46
|
-
(err instanceof Error ? err.message : String(err)));
|
|
46
|
+
(err instanceof Error ? err.message : String(err)), { cause: err });
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
else if (token.type === "reference")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rse/specbook",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"publishConfig": { "access": "public" },
|
|
5
5
|
"description": "Markdown-based Specification Format (API, CLI and MCP service)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,12 +44,11 @@
|
|
|
44
44
|
"zod": "4.4.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"eslint": "9.
|
|
48
|
-
"@eslint/js": "
|
|
47
|
+
"eslint": "10.9.0",
|
|
48
|
+
"@eslint/js": "10.0.1",
|
|
49
49
|
"typescript-eslint": "8.67.0",
|
|
50
50
|
"eslint-plugin-promise": "7.3.0",
|
|
51
|
-
"
|
|
52
|
-
"neostandard": "0.13.0",
|
|
51
|
+
"neostandard": "0.14.0-next.1",
|
|
53
52
|
"globals": "17.11.0",
|
|
54
53
|
"@types/node": "26.2.0",
|
|
55
54
|
"@types/subset-font": "2.3.0",
|