
found 0 vulnerabilities
MacBook-Air RelationTableSplitter % sudo mdye start
/usr/local/lib/node_modules/mdye-cli/node_modules/schema-utils/dist/validate.js:213
throw new _ValidationError.default(errors, schema, configuration);
^
ValidationError: Invalid options object. Progress Plugin has been initialized using an options object that does not match the API schema.
- options should be one of these:
object { activeModules?, dependencies?, dependenciesCount?, entries?, handler?, modules?, modulesCount?, percentBy?, profile? } | function
Details:- options has an unknown property 'name'. These properties are valid:
object { activeModules?, dependencies?, dependenciesCount?, entries?, handler?, modules?, modulesCount?, percentBy?, profile? }
-> Options object for the ProgressPlugin. - options has an unknown property 'color'. These properties are valid:
object { activeModules?, dependencies?, dependenciesCount?, entries?, handler?, modules?, modulesCount?, percentBy?, profile? }
-> Options object for the ProgressPlugin. - options has an unknown property 'reporters'. These properties are valid:
object { activeModules?, dependencies?, dependenciesCount?, entries?, handler?, modules?, modulesCount?, percentBy?, profile? }
-> Options object for the ProgressPlugin. - options has an unknown property 'reporter'. These properties are valid:
object { activeModules?, dependencies?, dependenciesCount?, entries?, handler?, modules?, modulesCount?, percentBy?, profile? }
-> Options object for the ProgressPlugin.
at validate (/usr/local/lib/node_modules/mdye-cli/node_modules/schema-utils/dist/validate.js:213:11)
at Compiler.validate (/usr/local/lib/node_modules/mdye-cli/node_modules/webpack/lib/Compiler.js:1447:18)
at /usr/local/lib/node_modules/mdye-cli/node_modules/webpack/lib/ProgressPlugin.js:228:13
at Hook.eval [as call] (eval at create (/usr/local/lib/node_modules/mdye-cli/node_modules/tapable/lib/HookCodeFactory.js:19:10),:7:1)
at Hook.CALL_DELEGATE [as _call] (/usr/local/lib/node_modules/mdye-cli/node_modules/tapable/lib/Hook.js:16:14)
at createCompiler (/usr/local/lib/node_modules/mdye-cli/node_modules/webpack/lib/webpack.js:109:27)
at create (/usr/local/lib/node_modules/mdye-cli/node_modules/webpack/lib/webpack.js:217:15)
at webpack (/usr/local/lib/node_modules/mdye-cli/node_modules/webpack/lib/webpack.js:245:31)
at Command.(/usr/local/lib/node_modules/mdye-cli/src/commands/start.js:27:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errors: [
{
instancePath: '',
schemaPath: '#/anyOf',
keyword: 'anyOf',
params: {},
message: 'must match a schema in anyOf',
schema: [
{ 'ref': '#/definitions/ProgressPluginOptions' }, { 'ref': '#/definitions/HandlerFunction' }
],
parentSchema: {
definitions: {
HandlerFunction: {
description: 'Function that executes for every progress step.',
instanceof: 'Function',
tsType: "import('../../lib/ProgressPlugin').HandlerFn"
},
ProgressPluginOptions: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: [Object]
}
},
title: 'ProgressPluginArgument',
anyOf: [
{ 'ref': '#/definitions/ProgressPluginOptions' }, { 'ref': '#/definitions/HandlerFunction' }
]
},
data: {
name: 'webpack',
color: 'green',
reporters: [ 'fancy' ],
reporter: null
},
children: [
{
instancePath: '',
schemaPath: '#/additionalProperties',
keyword: 'additionalProperties',
params: { additionalProperty: 'name' },
message: 'must NOT have additional properties',
schema: false,
parentSchema: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: [Object]
},
data: {
name: 'webpack',
color: 'green',
reporters: [Array],
reporter: null
},
children: undefined
},
{
instancePath: '',
schemaPath: '#/additionalProperties',
keyword: 'additionalProperties',
params: { additionalProperty: 'color' },
message: 'must NOT have additional properties',
schema: false,
parentSchema: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: [Object]
},
data: {
name: 'webpack',
color: 'green',
reporters: [Array],
reporter: null
},
children: undefined
},
{
instancePath: '',
schemaPath: '#/additionalProperties',
keyword: 'additionalProperties',
params: { additionalProperty: 'reporters' },
message: 'must NOT have additional properties',
schema: false,
parentSchema: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: [Object]
},
data: {
name: 'webpack',
color: 'green',
reporters: [Array],
reporter: null
},
children: undefined
},
{
instancePath: '',
schemaPath: '#/additionalProperties',
keyword: 'additionalProperties',
params: { additionalProperty: 'reporter' },
message: 'must NOT have additional properties',
schema: false,
parentSchema: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: [Object]
},
data: {
name: 'webpack',
color: 'green',
reporters: [Array],
reporter: null
},
children: undefined
},
{
instancePath: '',
schemaPath: '#/definitions/HandlerFunction/instanceof',
keyword: 'instanceof',
params: {},
message: 'must pass "instanceof" keyword validation',
schema: 'Function',
parentSchema: {
description: 'Function that executes for every progress step.',
instanceof: 'Function',
tsType: "import('../../lib/ProgressPlugin').HandlerFn"
},
data: {
name: 'webpack',
color: 'green',
reporters: [Array],
reporter: null
},
children: undefined
}
]
}
],
schema: {
definitions: {
HandlerFunction: {
description: 'Function that executes for every progress step.',
instanceof: 'Function',
tsType: "import('../../lib/ProgressPlugin').HandlerFn"
},
ProgressPluginOptions: {
description: 'Options object for the ProgressPlugin.',
type: 'object',
additionalProperties: false,
properties: {
activeModules: {
description: 'Show active modules count and one active module in progress message.',
type: 'boolean'
},
dependencies: {
description: 'Show dependencies count in progress message.',
type: 'boolean'
},
dependenciesCount: {
description: 'Minimum dependencies count to start with. For better progress calculation. Default: 10000.',
type: 'number'
},
entries: {
description: 'Show entries count in progress message.',
type: 'boolean'
},
handler: {
description: 'Function that executes for every progress step.',
oneOf: [Array]
},
modules: {
description: 'Show modules count in progress message.',
type: 'boolean'
},
modulesCount: {
description: 'Minimum modules count to start with. For better progress calculation. Default: 5000.',
type: 'number'
},
percentBy: {
description: 'Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.',
enum: [Array]
},
profile: {
description: 'Collect profile data for progress steps. Default: false.',
enum: [Array]
}
}
}
},
title: 'ProgressPluginArgument',
anyOf: [
{ 'ref': '#/definitions/ProgressPluginOptions' }, { 'ref': '#/definitions/HandlerFunction' }
]
},
headerName: 'Progress Plugin',
baseDataPath: 'options',
postFormatter: null
}
- options has an unknown property 'name'. These properties are valid:
Node.js v18.20.8