@docusaurus/utils-validation 0.0.0-4720 → 0.0.0-4723

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.
@@ -36,7 +36,7 @@ function normalizePluginOptions(schema, options) {
36
36
  }
37
37
  exports.normalizePluginOptions = normalizePluginOptions;
38
38
  function normalizeThemeConfig(schema, themeConfig) {
39
- // A theme should only validate his "slice" of the full themeConfig,
39
+ // A theme should only validate its "slice" of the full themeConfig,
40
40
  // not the whole object, so we allow unknown attributes
41
41
  // otherwise one theme would fail validating the data of another theme
42
42
  const finalSchema = schema.unknown();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/utils-validation",
3
- "version": "0.0.0-4720",
3
+ "version": "0.0.0-4723",
4
4
  "description": "Node validation utility functions for Docusaurus packages.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/logger": "0.0.0-4720",
22
- "@docusaurus/utils": "0.0.0-4720",
21
+ "@docusaurus/logger": "0.0.0-4723",
22
+ "@docusaurus/utils": "0.0.0-4723",
23
23
  "joi": "^17.6.0",
24
24
  "tslib": "^2.3.1"
25
25
  },
26
26
  "engines": {
27
27
  "node": ">=14"
28
28
  },
29
- "gitHead": "63b8d4b4a1315a7c21db9bdcbb971039e0db4e05"
29
+ "gitHead": "3ed5b13a953033f8b22c0427609252011a8f2f28"
30
30
  }
@@ -44,7 +44,7 @@ export function normalizeThemeConfig<T>(
44
44
  schema: Joi.ObjectSchema<T>,
45
45
  themeConfig: Partial<T>,
46
46
  ): T {
47
- // A theme should only validate his "slice" of the full themeConfig,
47
+ // A theme should only validate its "slice" of the full themeConfig,
48
48
  // not the whole object, so we allow unknown attributes
49
49
  // otherwise one theme would fail validating the data of another theme
50
50
  const finalSchema = schema.unknown();