@mui/internal-markdown 2.0.11 → 2.0.12
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/package.json +3 -3
- package/parseMarkdown.test.mjs +1 -0
- package/prepareMarkdown.mjs +1 -1
- package/textToHash.test.mjs +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-markdown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI markdown parser. This is an internal package not meant for general use.",
|
|
6
6
|
"main": "./index.mjs",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@babel/runtime": "^7.28.4",
|
|
25
|
-
"
|
|
26
|
-
"marked": "^16.
|
|
25
|
+
"es-toolkit": "^1.40.0",
|
|
26
|
+
"marked": "^16.4.1",
|
|
27
27
|
"prismjs": "^1.30.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
package/parseMarkdown.test.mjs
CHANGED
|
@@ -283,6 +283,7 @@ title: "Our docs just got a major upgrade—here's what that means for you"
|
|
|
283
283
|
describe('createRender', () => {
|
|
284
284
|
it('should collect headers correctly', () => {
|
|
285
285
|
const context = { toc: [], headingHashes: {} };
|
|
286
|
+
// eslint-disable-next-line testing-library/render-result-naming-convention
|
|
286
287
|
const render = createRender(context);
|
|
287
288
|
|
|
288
289
|
expect(
|
package/prepareMarkdown.mjs
CHANGED
package/textToHash.test.mjs
CHANGED
|
@@ -17,6 +17,7 @@ describe('textToHash', () => {
|
|
|
17
17
|
];
|
|
18
18
|
table.forEach((entry, index) => {
|
|
19
19
|
const [markdown, expected] = entry;
|
|
20
|
+
// eslint-disable-next-line testing-library/render-result-naming-convention
|
|
20
21
|
const text = renderInlineMarkdown(markdown, { mangle: false, headerIds: false });
|
|
21
22
|
const actual = textToHash(text);
|
|
22
23
|
|