@depup/markdown-to-jsx 9.7.15-depup.0 → 9.10.1-depup.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 +2 -2
- package/changes.json +1 -1
- package/dist/entities.browser.cjs +1 -1
- package/dist/entities.browser.js +1 -1
- package/dist/entities.browser.js.map +3 -3
- package/dist/html.cjs +45 -45
- package/dist/html.d.cts +127 -43
- package/dist/html.d.ts +127 -43
- package/dist/html.js +45 -45
- package/dist/html.js.map +7 -7
- package/dist/index.cjs +45 -42
- package/dist/index.d.cts +127 -43
- package/dist/index.d.ts +127 -43
- package/dist/index.js +45 -42
- package/dist/index.js.map +9 -9
- package/dist/markdown.cjs +69 -61
- package/dist/markdown.d.cts +101 -17
- package/dist/markdown.d.ts +101 -17
- package/dist/markdown.js +69 -61
- package/dist/markdown.js.map +8 -8
- package/dist/native.cjs +42 -41
- package/dist/native.d.cts +192 -45
- package/dist/native.d.ts +192 -45
- package/dist/native.js +42 -41
- package/dist/native.js.map +7 -7
- package/dist/react.cjs +45 -42
- package/dist/react.d.cts +126 -42
- package/dist/react.d.ts +126 -42
- package/dist/react.js +45 -42
- package/dist/react.js.map +7 -7
- package/dist/solid.cjs +45 -42
- package/dist/solid.d.cts +127 -43
- package/dist/solid.d.ts +127 -43
- package/dist/solid.js +45 -42
- package/dist/solid.js.map +7 -7
- package/dist/vue.cjs +45 -42
- package/dist/vue.d.cts +130 -46
- package/dist/vue.d.ts +130 -46
- package/dist/vue.js +45 -42
- package/dist/vue.js.map +7 -7
- package/llms.txt +367 -0
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/markdown-to-jsx
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [markdown-to-jsx](https://www.npmjs.com/package/markdown-to-jsx) @ 9.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [markdown-to-jsx](https://www.npmjs.com/package/markdown-to-jsx) @ 9.10.1 |
|
|
17
|
+
| Processed | 2026-07-31 |
|
|
18
18
|
| Smoke test | failed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var{defineProperty:C,getOwnPropertyNames:G,getOwnPropertyDescriptor:H}=Object,J=Object.prototype.hasOwnProperty;function K(j){return this[j]}var L=j=>{var q=(F??=new WeakMap).get(j),v;if(q)return q;if(q=C({},"__esModule",{value:!0}),j&&typeof j=="object"||typeof j=="function")for(var z of G(j))J.call(q,z)||C(q,z,{get:K.bind(j,z),enumerable:!(v=H(j,z))||v.enumerable});return F.set(j,q),q},F,N=j=>j;function Q(j,q){this[j]=N.bind(null,q)}var R=(j,q)=>{for(var v in q)C(j,v,{get:q[v],enumerable:!0,configurable:!0,set:Q.bind(q,v)})},V={};R(V,{decodeEntity:()=>S,NAMED_CODES_TO_UNICODE:()=>U}),module.exports=L(V);var B;function S(j){if(!B)if(typeof document
|
|
1
|
+
var{defineProperty:C,getOwnPropertyNames:G,getOwnPropertyDescriptor:H}=Object,J=Object.prototype.hasOwnProperty;function K(j){return this[j]}var L=j=>{var q=(F??=new WeakMap).get(j),v;if(q)return q;if(q=C({},"__esModule",{value:!0}),j&&typeof j=="object"||typeof j=="function")for(var z of G(j))J.call(q,z)||C(q,z,{get:K.bind(j,z),enumerable:!(v=H(j,z))||v.enumerable});return F.set(j,q),q},F,N=j=>j;function Q(j,q){this[j]=N.bind(null,q)}var R=(j,q)=>{for(var v in q)C(j,v,{get:q[v],enumerable:!0,configurable:!0,set:Q.bind(q,v)})},V={};R(V,{decodeEntity:()=>S,NAMED_CODES_TO_UNICODE:()=>U}),module.exports=L(V);var B;function S(j){if(!B){if(typeof document>"u")return;B=document.createElement("textarea")}var q=`&${j};`;B.innerHTML=q;var v=B.value;return v===q?void 0:v}var U={};
|
package/dist/entities.browser.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var j;function B(z){if(!j)if(typeof document
|
|
1
|
+
var j;function B(z){if(!j){if(typeof document>"u")return;j=document.createElement("textarea")}var q=`&${z};`;j.innerHTML=q;var v=j.value;return v===q?void 0:v}var C={};export{B as decodeEntity,C as NAMED_CODES_TO_UNICODE};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/entities.browser.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"/**\n * Browser-optimized HTML entity decoder\n *\n * Uses the DOM's built-in entity decoding via textarea.innerHTML.\n * The browser's HTML parser has the complete entity table built-in,\n * so we can leverage it instead of shipping our own copy.\n *\n * This file is automatically selected for browser builds via the package.json\n * \"imports\" field with a \"browser\" condition, resulting in ~10KB gzipped savings.\n */\n\nvar decoder: HTMLTextAreaElement | undefined\n\n/**\n * Decode a single HTML entity reference using the browser's native HTML parser.\n * Returns undefined if decoding fails or changes nothing (unknown entity).\n */\nexport function decodeEntity(name: string): string | undefined {\n if (!decoder) {\n if (typeof document
|
|
5
|
+
"/**\n * Browser-optimized HTML entity decoder\n *\n * Uses the DOM's built-in entity decoding via textarea.innerHTML.\n * The browser's HTML parser has the complete entity table built-in,\n * so we can leverage it instead of shipping our own copy.\n *\n * This file is automatically selected for browser builds via the package.json\n * \"imports\" field with a \"browser\" condition, resulting in ~10KB gzipped savings.\n */\n\nvar decoder: HTMLTextAreaElement | undefined\n\n/**\n * Decode a single HTML entity reference using the browser's native HTML parser.\n * Returns undefined if decoding fails or changes nothing (unknown entity).\n */\nexport function decodeEntity(name: string): string | undefined {\n if (!decoder) {\n if (typeof document === 'undefined') {\n return\n }\n decoder = document.createElement('textarea')\n }\n var encoded = `&${name};`\n decoder.innerHTML = encoded\n var decoded = decoder.value\n return decoded === encoded ? undefined : decoded\n}\n\n/**\n * Empty placeholder - browser uses DOM decoding for lookups\n * This export exists for API compatibility with the full entity table\n */\nexport var NAMED_CODES_TO_UNICODE: Record<string, string> = {}\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "unBAWA,IAAI,EAMG,SAAS,CAAY,CAAC,EAAkC,CAC7D,GAAI,CAAC,
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": "unBAWA,IAAI,EAMG,SAAS,CAAY,CAAC,EAAkC,CAC7D,GAAI,CAAC,EAAS,CACZ,GAAI,OAAO,SAAa,IACtB,OAEF,EAAU,SAAS,cAAc,UAAU,EAE7C,IAAI,EAAU,IAAI,KAClB,EAAQ,UAAY,EACpB,IAAI,EAAU,EAAQ,MACtB,OAAO,IAAY,EAAU,OAAY,EAOpC,IAAI,EAAiD,CAAC",
|
|
8
|
+
"debugId": "1198EB1C1791839964756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|