writr 4.4.2 → 4.4.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/README.md +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ You can also run Writr via the browser. Here is an example of how to do that.
|
|
|
109
109
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
110
110
|
<title>Writr Example</title>
|
|
111
111
|
<script type="module">
|
|
112
|
-
import {Writr} from 'https://cdn.jsdelivr.net/npm/writr@
|
|
112
|
+
import {Writr} from 'https://cdn.jsdelivr.net/npm/writr@latest/+esm'
|
|
113
113
|
|
|
114
114
|
const writr = new Writr(`# Hello World ::-):\n\n This is a test.`);
|
|
115
115
|
writr.render().then(html => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "writr",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.3",
|
|
4
4
|
"description": "Markdown Rendering Simplified",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/writr.js",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"website:serve": "rimraf ./site/README.md ./site/dist && npx docula serve -s ./site -o ./site/dist"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"cacheable": "^1.8.
|
|
57
|
-
"hookified": "^1.8.
|
|
58
|
-
"html-react-parser": "^5.2.
|
|
56
|
+
"cacheable": "^1.8.10",
|
|
57
|
+
"hookified": "^1.8.2",
|
|
58
|
+
"html-react-parser": "^5.2.3",
|
|
59
59
|
"js-yaml": "^4.1.0",
|
|
60
60
|
"react": "^19.1.0",
|
|
61
61
|
"rehype-highlight": "^7.0.2",
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
"remark-math": "^6.0.0",
|
|
68
68
|
"remark-mdx": "^3.1.0",
|
|
69
69
|
"remark-parse": "^11.0.0",
|
|
70
|
-
"remark-rehype": "^11.1.
|
|
70
|
+
"remark-rehype": "^11.1.2",
|
|
71
71
|
"remark-toc": "^9.0.0",
|
|
72
72
|
"unified": "^11.0.5"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/js-yaml": "^4.0.9",
|
|
76
|
-
"@types/node": "^22.
|
|
77
|
-
"@types/react": "^19.
|
|
78
|
-
"@vitest/coverage-v8": "^3.
|
|
79
|
-
"docula": "^0.11.
|
|
76
|
+
"@types/node": "^22.15.3",
|
|
77
|
+
"@types/react": "^19.1.2",
|
|
78
|
+
"@vitest/coverage-v8": "^3.1.2",
|
|
79
|
+
"docula": "^0.11.1",
|
|
80
80
|
"rimraf": "^6.0.1",
|
|
81
81
|
"ts-node": "^10.9.2",
|
|
82
82
|
"tsup": "^8.4.0",
|
|
83
|
-
"typescript": "^5.8.
|
|
84
|
-
"vitest": "^3.
|
|
85
|
-
"webpack": "^5.
|
|
83
|
+
"typescript": "^5.8.3",
|
|
84
|
+
"vitest": "^3.1.2",
|
|
85
|
+
"webpack": "^5.99.7",
|
|
86
86
|
"xo": "^0.60.0"
|
|
87
87
|
},
|
|
88
88
|
"xo": {
|