@mui/internal-markdown 2.0.8 → 2.0.10
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/loader.mjs +2 -2
- package/package.json +3 -3
- package/parseMarkdown.test.js +2 -2
package/loader.mjs
CHANGED
|
@@ -476,7 +476,7 @@ export default async function demoLoader() {
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
try {
|
|
479
|
-
// We are only iterating
|
|
479
|
+
// We are only iterating through an array that looks
|
|
480
480
|
// like this: ['JS', 'TS'], so it is safe to await
|
|
481
481
|
// eslint-disable-next-line no-await-in-loop
|
|
482
482
|
raw = await fs.readFile(relativeModuleFilePath, {
|
|
@@ -515,7 +515,7 @@ export default async function demoLoader() {
|
|
|
515
515
|
entry,
|
|
516
516
|
);
|
|
517
517
|
|
|
518
|
-
// We are only iterating
|
|
518
|
+
// We are only iterating through an array that looks
|
|
519
519
|
// like this: ['JS', 'TS'], so it is safe to await
|
|
520
520
|
// eslint-disable-next-line no-await-in-loop
|
|
521
521
|
const rawEntry = await fs.readFile(entryModuleFilePath, { encoding: 'utf8' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-markdown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"directory": "packages/markdown"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@babel/runtime": "^7.28.
|
|
24
|
+
"@babel/runtime": "^7.28.3",
|
|
25
25
|
"lodash": "^4.17.21",
|
|
26
|
-
"marked": "^
|
|
26
|
+
"marked": "^16.2.0",
|
|
27
27
|
"prismjs": "^1.30.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
package/parseMarkdown.test.js
CHANGED
|
@@ -64,7 +64,7 @@ describe('parseMarkdown', () => {
|
|
|
64
64
|
title: React Alert component
|
|
65
65
|
components: Alert, AlertTitle
|
|
66
66
|
hooks: useAlert
|
|
67
|
-
githubLabel: '
|
|
67
|
+
githubLabel: 'scope: alert'
|
|
68
68
|
packageName: '@mui/lab'
|
|
69
69
|
waiAria: https://www.w3.org/TR/wai-aria-practices/#alert
|
|
70
70
|
authors: ['foo', 'bar']
|
|
@@ -73,7 +73,7 @@ authors: ['foo', 'bar']
|
|
|
73
73
|
).to.deep.equal({
|
|
74
74
|
components: ['Alert', 'AlertTitle'],
|
|
75
75
|
hooks: ['useAlert'],
|
|
76
|
-
githubLabel: '
|
|
76
|
+
githubLabel: 'scope: alert',
|
|
77
77
|
packageName: '@mui/lab',
|
|
78
78
|
title: 'React Alert component',
|
|
79
79
|
waiAria: 'https://www.w3.org/TR/wai-aria-practices/#alert',
|