Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// overwrite plugins with extensions overwrites
extensions.overwrites.forEach(({ path, mod }) => {
_.assign(_.get(this.plugins, path), mod);
});
// Populate AST with configurations.
await bootstrap(this);
// Usage.
await utils.usage(this.config);
// Init core store
initCoreStore(this);
this.db = createDatabaseManager(this);
await this.db.initialize();
// Initialize hooks and middlewares.
await initializeMiddlewares.call(this);
await initializeHooks.call(this);
}