@docusaurus/theme-common 0.0.0-5448 → 0.0.0-5452

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.
@@ -8,9 +8,9 @@ import React, { useMemo, useContext } from 'react';
8
8
  import { ReactContextError } from '../utils/reactUtils';
9
9
  const Context = React.createContext(null);
10
10
  /**
11
- * Note: we don't use `PropBlogPostContent` as context value on purpose. Metadata is
12
- * currently stored inside the MDX component, but we may want to change that in
13
- * the future.
11
+ * Note: we don't use `PropBlogPostContent` as context value on purpose.
12
+ * Metadata is currently stored inside the MDX component, but we may want to
13
+ * change that in the future.
14
14
  */
15
15
  function useContextValue({ content, isBlogPostPage, }) {
16
16
  return useMemo(() => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-common",
3
- "version": "0.0.0-5448",
3
+ "version": "0.0.0-5452",
4
4
  "description": "Common code for Docusaurus themes.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -30,12 +30,12 @@
30
30
  },
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@docusaurus/mdx-loader": "0.0.0-5448",
34
- "@docusaurus/module-type-aliases": "0.0.0-5448",
35
- "@docusaurus/plugin-content-blog": "0.0.0-5448",
36
- "@docusaurus/plugin-content-docs": "0.0.0-5448",
37
- "@docusaurus/plugin-content-pages": "0.0.0-5448",
38
- "@docusaurus/utils": "0.0.0-5448",
33
+ "@docusaurus/mdx-loader": "0.0.0-5452",
34
+ "@docusaurus/module-type-aliases": "0.0.0-5452",
35
+ "@docusaurus/plugin-content-blog": "0.0.0-5452",
36
+ "@docusaurus/plugin-content-docs": "0.0.0-5452",
37
+ "@docusaurus/plugin-content-pages": "0.0.0-5452",
38
+ "@docusaurus/utils": "0.0.0-5452",
39
39
  "@types/history": "^4.7.11",
40
40
  "@types/react": "*",
41
41
  "@types/react-router-config": "*",
@@ -47,9 +47,9 @@
47
47
  "utility-types": "^3.10.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@docusaurus/core": "0.0.0-5448",
51
- "@docusaurus/types": "0.0.0-5448",
52
- "fs-extra": "^10.1.0",
50
+ "@docusaurus/core": "0.0.0-5452",
51
+ "@docusaurus/types": "0.0.0-5452",
52
+ "fs-extra": "^11.1.0",
53
53
  "lodash": "^4.17.21"
54
54
  },
55
55
  "peerDependencies": {
@@ -59,5 +59,5 @@
59
59
  "engines": {
60
60
  "node": ">=16.14"
61
61
  },
62
- "gitHead": "7cba37b2d6d6893562d252959f6403e0a974f6fb"
62
+ "gitHead": "894c8d4057d9fd6ab93468353912a55cf16f1415"
63
63
  }
@@ -24,9 +24,9 @@ export type BlogPostContextValue = Pick<
24
24
  const Context = React.createContext<BlogPostContextValue | null>(null);
25
25
 
26
26
  /**
27
- * Note: we don't use `PropBlogPostContent` as context value on purpose. Metadata is
28
- * currently stored inside the MDX component, but we may want to change that in
29
- * the future.
27
+ * Note: we don't use `PropBlogPostContent` as context value on purpose.
28
+ * Metadata is currently stored inside the MDX component, but we may want to
29
+ * change that in the future.
30
30
  */
31
31
  function useContextValue({
32
32
  content,