@docusaurus/utils 0.0.0-4175 → 0.0.0-4183
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/utils",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4183",
|
|
4
4
|
"description": "Node utility functions for Docusaurus packages.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/types": "0.0.0-
|
|
21
|
+
"@docusaurus/types": "0.0.0-4183",
|
|
22
22
|
"@mdx-js/runtime": "^1.6.22",
|
|
23
23
|
"@types/github-slugger": "^1.3.0",
|
|
24
24
|
"chalk": "^4.1.2",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": "*",
|
|
47
47
|
"react-dom": "*"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "35b5777f9c0ddd08fc2f6912bb95667c20b620da"
|
|
50
50
|
}
|
|
@@ -36,7 +36,7 @@ describe('createExcerpt', () => {
|
|
|
36
36
|
Nunc porttitor libero nec vulputate venenatis. Nam nec rhoncus mauris. Morbi tempus est et nibh maximus, tempus venenatis arcu lobortis.
|
|
37
37
|
`),
|
|
38
38
|
).toEqual(
|
|
39
|
-
// h1 title is skipped on purpose, because we don't want the page to have SEO
|
|
39
|
+
// h1 title is skipped on purpose, because we don't want the page to have SEO metadata title === description
|
|
40
40
|
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ex urna, molestie et sagittis ut, varius ac justo.',
|
|
41
41
|
);
|
|
42
42
|
});
|
|
@@ -53,7 +53,7 @@ describe('createExcerpt', () => {
|
|
|
53
53
|
Nunc porttitor libero nec vulputate venenatis. Nam nec rhoncus mauris. Morbi tempus est et nibh maximus, tempus venenatis arcu lobortis.
|
|
54
54
|
`),
|
|
55
55
|
).toEqual(
|
|
56
|
-
// h1 title is skipped on purpose, because we don't want the page to have SEO
|
|
56
|
+
// h1 title is skipped on purpose, because we don't want the page to have SEO metadata title === description
|
|
57
57
|
'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ex urna, molestie et sagittis ut, varius ac justo.',
|
|
58
58
|
);
|
|
59
59
|
});
|