writr 6.1.2 → 6.1.4
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/dist/writr.d.mts +0 -1
- package/dist/writr.mjs +1 -0
- package/package.json +33 -25
package/dist/writr.d.mts
CHANGED
package/dist/writr.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "writr",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"description": "Markdown Rendering Simplified",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/writr.mjs",
|
|
@@ -15,9 +15,13 @@
|
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "https://github.com/jaredwray/writr.git"
|
|
17
17
|
},
|
|
18
|
+
"homepage": "https://github.com/jaredwray/writr#readme",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/jaredwray/writr/issues"
|
|
21
|
+
},
|
|
18
22
|
"author": "Jared Wray <me@jaredwray.com>",
|
|
19
23
|
"engines": {
|
|
20
|
-
"node": "
|
|
24
|
+
"node": "^22.18.0"
|
|
21
25
|
},
|
|
22
26
|
"license": "MIT",
|
|
23
27
|
"keywords": [
|
|
@@ -49,13 +53,13 @@
|
|
|
49
53
|
"markdown-to-react"
|
|
50
54
|
],
|
|
51
55
|
"dependencies": {
|
|
52
|
-
"ai": "^
|
|
53
|
-
"cacheable": "^2.
|
|
54
|
-
"hashery": "^
|
|
55
|
-
"hookified": "^
|
|
56
|
-
"html-react-parser": "^6.
|
|
57
|
-
"js-yaml": "^
|
|
58
|
-
"react": "^19.2.
|
|
56
|
+
"ai": "^7.0.23",
|
|
57
|
+
"cacheable": "^2.5.0",
|
|
58
|
+
"hashery": "^3.0.1",
|
|
59
|
+
"hookified": "^3.0.1",
|
|
60
|
+
"html-react-parser": "^6.1.4",
|
|
61
|
+
"js-yaml": "^5.2.1",
|
|
62
|
+
"react": "^19.2.7",
|
|
59
63
|
"rehype-highlight": "^7.0.2",
|
|
60
64
|
"rehype-katex": "^7.0.1",
|
|
61
65
|
"rehype-raw": "^7.0.0",
|
|
@@ -70,29 +74,28 @@
|
|
|
70
74
|
"remark-rehype": "^11.1.2",
|
|
71
75
|
"remark-toc": "^9.0.0",
|
|
72
76
|
"unified": "^11.0.5",
|
|
73
|
-
"zod": "^4.3
|
|
77
|
+
"zod": "^4.4.3"
|
|
74
78
|
},
|
|
75
79
|
"devDependencies": {
|
|
76
|
-
"@ai-sdk/anthropic": "^
|
|
77
|
-
"@ai-sdk/google": "^
|
|
78
|
-
"@ai-sdk/openai": "^
|
|
79
|
-
"@biomejs/biome": "^2.
|
|
80
|
+
"@ai-sdk/anthropic": "^4.0.12",
|
|
81
|
+
"@ai-sdk/google": "^4.0.12",
|
|
82
|
+
"@ai-sdk/openai": "^4.0.11",
|
|
83
|
+
"@biomejs/biome": "^2.5.3",
|
|
80
84
|
"@monstermann/tinybench-pretty-printer": "^0.3.0",
|
|
81
|
-
"@types/js-yaml": "^4.0.9",
|
|
82
85
|
"@types/markdown-it": "^14.1.2",
|
|
83
|
-
"@types/node": "^24.
|
|
84
|
-
"@types/react": "^19.2.
|
|
85
|
-
"@vitest/coverage-v8": "^4.1.
|
|
86
|
-
"docula": "^
|
|
86
|
+
"@types/node": "^24.13.3",
|
|
87
|
+
"@types/react": "^19.2.17",
|
|
88
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
89
|
+
"docula": "^2.2.0",
|
|
87
90
|
"dotenv": "^17.3.1",
|
|
88
|
-
"markdown-it": "^14.
|
|
89
|
-
"marked": "^18.0.
|
|
91
|
+
"markdown-it": "^14.3.0",
|
|
92
|
+
"marked": "^18.0.6",
|
|
90
93
|
"rimraf": "^6.1.3",
|
|
91
|
-
"tinybench": "^6.0.
|
|
92
|
-
"tsdown": "^0.
|
|
93
|
-
"tsx": "^4.
|
|
94
|
+
"tinybench": "^6.0.2",
|
|
95
|
+
"tsdown": "^0.22.7",
|
|
96
|
+
"tsx": "^4.23.1",
|
|
94
97
|
"typescript": "^6.0.3",
|
|
95
|
-
"vitest": "^4.1.
|
|
98
|
+
"vitest": "^4.1.10"
|
|
96
99
|
},
|
|
97
100
|
"files": [
|
|
98
101
|
"dist",
|
|
@@ -107,6 +110,11 @@
|
|
|
107
110
|
"test": "pnpm lint && vitest run --coverage",
|
|
108
111
|
"test:ci": "biome check --error-on-warnings && vitest run --coverage",
|
|
109
112
|
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
113
|
+
"test:harness": "vitest run --config vitest.harness.config.ts",
|
|
114
|
+
"corpus:fetch": "tsx test/harness/fetch/fetcher.ts",
|
|
115
|
+
"corpus:fetch:offline": "tsx test/harness/fetch/fetcher.ts --offline",
|
|
116
|
+
"golden:generate": "tsx test/harness/generate-goldens.ts",
|
|
117
|
+
"golden:check": "tsx test/harness/generate-goldens.ts --check",
|
|
110
118
|
"website:build": "rimraf ./site/README.md ./site/dist && pnpm docula build",
|
|
111
119
|
"website:serve": "rimraf ./site/README.md ./site/dist && pnpm docula dev"
|
|
112
120
|
}
|