markdown-to-jsx 9.1.2 → 9.2.0
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 +187 -594
- package/dist/native.cjs +108 -0
- package/dist/native.d.cts +351 -0
- package/dist/native.d.ts +351 -0
- package/dist/native.js +108 -0
- package/dist/native.js.map +15 -0
- package/package.json +18 -3
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdown-to-jsx",
|
|
3
|
-
"description": "A very fast and versatile markdown toolchain. AST, React, and HTML output available with full customization.",
|
|
3
|
+
"description": "A very fast and versatile markdown toolchain. AST, React, React Native, Markdown, and HTML output available with full customization.",
|
|
4
4
|
"homepage": "https://markdown-to-jsx.quantizor.dev",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "9.
|
|
6
|
+
"version": "9.2.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public",
|
|
9
9
|
"mangle": {
|
|
@@ -80,6 +80,16 @@
|
|
|
80
80
|
"types": "./dist/markdown.d.cts",
|
|
81
81
|
"default": "./dist/markdown.cjs"
|
|
82
82
|
}
|
|
83
|
+
},
|
|
84
|
+
"./native": {
|
|
85
|
+
"import": {
|
|
86
|
+
"types": "./dist/native.d.ts",
|
|
87
|
+
"default": "./dist/native.js"
|
|
88
|
+
},
|
|
89
|
+
"require": {
|
|
90
|
+
"types": "./dist/native.d.cts",
|
|
91
|
+
"default": "./dist/native.cjs"
|
|
92
|
+
}
|
|
83
93
|
}
|
|
84
94
|
},
|
|
85
95
|
"sideEffects": false,
|
|
@@ -95,11 +105,13 @@
|
|
|
95
105
|
"@matejmazur/react-katex": "^3.1.3",
|
|
96
106
|
"@tailwindcss/typography": "^0.5.19",
|
|
97
107
|
"@tailwindcss/vite": "^4.1.17",
|
|
108
|
+
"@testing-library/react-native": "^13.3.3",
|
|
98
109
|
"@types/benchmark": "^2.1.5",
|
|
99
110
|
"@types/bun": "^1.3.2",
|
|
100
111
|
"@types/node": "^24.10.1",
|
|
101
112
|
"@types/react": "^19.2.6",
|
|
102
113
|
"@types/react-dom": "^19.2.3",
|
|
114
|
+
"@types/react-native": "^0.73.0",
|
|
103
115
|
"@vitejs/plugin-react": "^5.1.1",
|
|
104
116
|
"acorn": "^8.15.0",
|
|
105
117
|
"acorn-typescript": "^1.4.13",
|
|
@@ -144,6 +156,9 @@
|
|
|
144
156
|
"peerDependenciesMeta": {
|
|
145
157
|
"react": {
|
|
146
158
|
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"react-native": {
|
|
161
|
+
"optional": true
|
|
147
162
|
}
|
|
148
163
|
},
|
|
149
164
|
"scripts": {
|
|
@@ -160,6 +175,6 @@
|
|
|
160
175
|
"analyze": "bun scripts/analyze-patterns.ts",
|
|
161
176
|
"bench:all": "bun scripts/benchmark.ts --all",
|
|
162
177
|
"bench:jsx": "bun scripts/benchmark.ts --jsx",
|
|
163
|
-
"changeset-publish": "bun run build &&
|
|
178
|
+
"changeset-publish": "bun run build && changeset publish"
|
|
164
179
|
}
|
|
165
180
|
}
|