MCPcopy
hub / github.com/hapijs/hapi / _validateDeps

Method _validateDeps

lib/core.js:382–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380 }
381
382 _validateDeps() {
383
384 for (const { deps, plugin } of this.dependencies) {
385 for (const dep in deps) {
386 const version = deps[dep];
387 Hoek.assert(this.registrations[dep], 'Plugin', plugin, 'missing dependency', dep);
388 Hoek.assert(version === '*' || Config.versionMatch(this.registrations[dep].version, version), 'Plugin', plugin, 'requires', dep, 'version', version, 'but found', this.registrations[dep].version);
389 }
390 }
391 }
392
393 async _stop(options = {}) {
394

Callers 2

_startMethod · 0.80
_initializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected