@docusaurus/utils-validation
Advanced tools
Comparing version 2.0.0-alpha.bd62be93d to 2.0.0-alpha.d61754b3d
{ | ||
"name": "@docusaurus/utils-validation", | ||
"version": "2.0.0-alpha.bd62be93d", | ||
"version": "2.0.0-alpha.d61754b3d", | ||
"description": "Node validation utility functions for Docusaurus packages", | ||
@@ -21,3 +21,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@docusaurus/utils": "2.0.0-alpha.bd62be93d", | ||
"@docusaurus/utils": "2.0.0-alpha.d61754b3d", | ||
"chalk": "^3.0.0", | ||
@@ -29,3 +29,3 @@ "joi": "^17.2.1" | ||
}, | ||
"gitHead": "056b5525e788ce77b725ff6fdea2be2cdcea3cd9" | ||
"gitHead": "58462f8c241b366b2c40759e4b37616202abea5a" | ||
} |
@@ -22,3 +22,3 @@ /** | ||
}: { | ||
schema: Joi.SchemaLike; | ||
schema: Joi.Schema; | ||
defaultValue?: unknown; | ||
@@ -40,3 +40,3 @@ }) { | ||
function testMarkdownPluginSchemas(schema: Joi.SchemaLike) { | ||
function testMarkdownPluginSchemas(schema: Joi.Schema) { | ||
const {testOK, testFail} = createTestHelpers({ | ||
@@ -43,0 +43,0 @@ schema, |
@@ -28,3 +28,3 @@ /** | ||
export const logValidationBugReportHint = () => { | ||
export const logValidationBugReportHint = (): void => { | ||
console.log( | ||
@@ -31,0 +31,0 @@ `\n${chalk.red('A validation error occured.')}${chalk.cyanBright( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
474647
+ Added@docusaurus/types@2.0.0-alpha.d61754b3d(transitive)
+ Added@docusaurus/utils@2.0.0-alpha.d61754b3d(transitive)
+ Added@types/node@22.13.0(transitive)
- Removed@docusaurus/types@2.0.0-alpha.bd62be93d(transitive)
- Removed@docusaurus/utils@2.0.0-alpha.bd62be93d(transitive)
- Removed@types/node@22.13.1(transitive)