writr 4.1.1 → 4.1.2
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.ts +2 -1
- package/package.json +4 -3
package/dist/writr.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import * as hast from 'hast';
|
|
|
3
3
|
import * as mdast from 'mdast';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { HTMLReactParserOptions } from 'html-react-parser';
|
|
6
|
-
import { Cacheable, CacheableMemory
|
|
6
|
+
import { Cacheable, CacheableMemory } from 'cacheable';
|
|
7
|
+
import { KeyvStoreAdapter } from 'keyv';
|
|
7
8
|
|
|
8
9
|
declare class WritrCache {
|
|
9
10
|
private _markdownStore;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "writr",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Markdown Rendering Simplified",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/writr.js",
|
|
@@ -56,8 +56,9 @@
|
|
|
56
56
|
"cacheable": "^1.8.0",
|
|
57
57
|
"crypto": "^1.0.1",
|
|
58
58
|
"fs": "^0.0.1-security",
|
|
59
|
-
"html-react-parser": "^5.1.
|
|
59
|
+
"html-react-parser": "^5.1.18",
|
|
60
60
|
"js-yaml": "^4.1.0",
|
|
61
|
+
"keyv": "^5.1.0",
|
|
61
62
|
"react": "^18.3.1",
|
|
62
63
|
"rehype-highlight": "^7.0.0",
|
|
63
64
|
"rehype-katex": "^7.0.1",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"devDependencies": {
|
|
76
77
|
"@keyv/sqlite": "^4.0.1",
|
|
77
78
|
"@types/js-yaml": "^4.0.9",
|
|
78
|
-
"@types/node": "^22.7.
|
|
79
|
+
"@types/node": "^22.7.5",
|
|
79
80
|
"@types/react": "^18.3.11",
|
|
80
81
|
"@vitest/coverage-v8": "^2.1.2",
|
|
81
82
|
"docula": "^0.9.1",
|