@docusaurus/plugin-content-pages 3.10.1-canary-6609 → 3.10.1-canary-6611

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,6 +8,7 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.validatePageFrontMatter = validatePageFrontMatter;
10
10
  const utils_validation_1 = require("@docusaurus/utils-validation");
11
+ /* eslint-disable camelcase */
11
12
  const PageFrontMatterSchema = utils_validation_1.Joi.object({
12
13
  // See https://github.com/facebook/docusaurus/issues/4591#issuecomment-822372398
13
14
  title: utils_validation_1.Joi.string().allow(''),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "3.10.1-canary-6609",
3
+ "version": "3.10.1-canary-6611",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "3.10.1-canary-6609",
22
- "@docusaurus/mdx-loader": "3.10.1-canary-6609",
23
- "@docusaurus/types": "3.10.1-canary-6609",
24
- "@docusaurus/utils": "3.10.1-canary-6609",
25
- "@docusaurus/utils-validation": "3.10.1-canary-6609",
21
+ "@docusaurus/core": "3.10.1-canary-6611",
22
+ "@docusaurus/mdx-loader": "3.10.1-canary-6611",
23
+ "@docusaurus/types": "3.10.1-canary-6611",
24
+ "@docusaurus/utils": "3.10.1-canary-6611",
25
+ "@docusaurus/utils-validation": "3.10.1-canary-6611",
26
26
  "fs-extra": "^11.2.0",
27
27
  "tslib": "^2.6.0",
28
28
  "webpack": "^5.106.2"
@@ -34,5 +34,5 @@
34
34
  "engines": {
35
35
  "node": ">=24.14"
36
36
  },
37
- "gitHead": "e2ade0dcd6905504171b71c273f7ffae3fd1da2d"
37
+ "gitHead": "1415301312e8a95204263b5c23892b818deff26c"
38
38
  }
package/src/content.ts CHANGED
@@ -80,7 +80,7 @@ export async function loadPagesContent(
80
80
  } catch (err) {
81
81
  throw new Error(
82
82
  `Processing of page source file path=${relativeSource} failed.`,
83
- {cause: err as Error},
83
+ {cause: err},
84
84
  );
85
85
  }
86
86
  }
@@ -14,6 +14,7 @@ import {
14
14
  FrontMatterLastUpdateSchema,
15
15
  } from '@docusaurus/utils-validation';
16
16
  import type {PageFrontMatter} from '@docusaurus/plugin-content-pages';
17
+ /* eslint-disable camelcase */
17
18
 
18
19
  const PageFrontMatterSchema = Joi.object<PageFrontMatter>({
19
20
  // See https://github.com/facebook/docusaurus/issues/4591#issuecomment-822372398