@docusaurus/plugin-content-blog 0.0.0-5048 → 0.0.0-5049
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/lib/options.d.ts +1 -1
- package/package.json +9 -9
- package/src/options.ts +1 -1
package/lib/options.d.ts
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
import type { PluginOptions, Options } from '@docusaurus/plugin-content-blog';
|
|
8
8
|
import type { OptionValidationContext } from '@docusaurus/types';
|
|
9
9
|
export declare const DEFAULT_OPTIONS: PluginOptions;
|
|
10
|
-
export declare function validateOptions({ validate, options, }: OptionValidationContext<Options, PluginOptions>): PluginOptions;
|
|
10
|
+
export declare function validateOptions({ validate, options, }: OptionValidationContext<Options | undefined, PluginOptions>): PluginOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-blog",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5049",
|
|
4
4
|
"description": "Blog plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-blog.d.ts",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "0.0.0-
|
|
22
|
-
"@docusaurus/logger": "0.0.0-
|
|
23
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
24
|
-
"@docusaurus/utils": "0.0.0-
|
|
25
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
26
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
21
|
+
"@docusaurus/core": "0.0.0-5049",
|
|
22
|
+
"@docusaurus/logger": "0.0.0-5049",
|
|
23
|
+
"@docusaurus/mdx-loader": "0.0.0-5049",
|
|
24
|
+
"@docusaurus/utils": "0.0.0-5049",
|
|
25
|
+
"@docusaurus/utils-common": "0.0.0-5049",
|
|
26
|
+
"@docusaurus/utils-validation": "0.0.0-5049",
|
|
27
27
|
"cheerio": "^1.0.0-rc.11",
|
|
28
28
|
"feed": "^4.2.2",
|
|
29
29
|
"fs-extra": "^10.1.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"webpack": "^5.72.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@docusaurus/types": "0.0.0-
|
|
39
|
+
"@docusaurus/types": "0.0.0-5049",
|
|
40
40
|
"escape-string-regexp": "^4.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=14"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "527b2a01c46b67483327a1a6873fccf81bc19e2c"
|
|
50
50
|
}
|
package/src/options.ts
CHANGED
|
@@ -135,7 +135,7 @@ const PluginOptionSchema = Joi.object<PluginOptions>({
|
|
|
135
135
|
export function validateOptions({
|
|
136
136
|
validate,
|
|
137
137
|
options,
|
|
138
|
-
}: OptionValidationContext<Options, PluginOptions>): PluginOptions {
|
|
138
|
+
}: OptionValidationContext<Options | undefined, PluginOptions>): PluginOptions {
|
|
139
139
|
const validatedOptions = validate(PluginOptionSchema, options);
|
|
140
140
|
return validatedOptions;
|
|
141
141
|
}
|