@aparte/plugin-streaming-markdown 0.17.1 → 0.17.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/README.md +5 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,9 +16,11 @@ setupStreamingMarkdownProvider();
|
|
|
16
16
|
|
|
17
17
|
`@aparte/core` and `streaming-markdown` are **peer dependencies**.
|
|
18
18
|
|
|
19
|
-
This plugin is enough on its own:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
This plugin is enough on its own: a reply renders the same whether it streams or arrives complete — a
|
|
20
|
+
conversation restored after a reload, a non-streaming provider's answer — because with no one-shot
|
|
21
|
+
provider registered, core runs the whole string through this parser too. A one-shot provider (e.g.
|
|
22
|
+
`@aparte/plugin-marked`) is optional — register one and finished and restored messages are rendered
|
|
23
|
+
through it, at that renderer's full fidelity.
|
|
22
24
|
|
|
23
25
|
**Security**: the streaming path writes DOM directly, bypassing the one-shot sanitizer, so it enforces
|
|
24
26
|
the URL policy live — a streamed `[x](javascript:…)` never produces a clickable `javascript:` link — and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aparte/plugin-streaming-markdown",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.2",
|
|
4
4
|
"homepage": "https://apartejs.dev/plugins/streaming-markdown/",
|
|
5
5
|
"description": "Incremental (token-by-token) Markdown rendering for aparté via streaming-markdown, with a live URL-scheme guard.",
|
|
6
6
|
"type": "module",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@aparte/core": ">=0.17.
|
|
28
|
+
"@aparte/core": ">=0.17.2 <1.0.0",
|
|
29
29
|
"streaming-markdown": "^0.2.15"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"streaming-markdown": "^0.2.15",
|
|
33
33
|
"typescript": "^5.4.0",
|
|
34
34
|
"vite": "^6.0.0",
|
|
35
|
-
"@aparte/core": "0.17.
|
|
35
|
+
"@aparte/core": "0.17.2"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"aparte",
|