shokupan 0.4.4 → 0.4.5

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/dist/index.js CHANGED
@@ -3452,7 +3452,8 @@ function enableOpenApiValidation(app) {
3452
3452
  }
3453
3453
  const eta = new Eta();
3454
3454
  class ScalarPlugin extends ShokupanRouter {
3455
- constructor(pluginOptions) {
3455
+ constructor(pluginOptions = {}) {
3456
+ pluginOptions.config ??= {};
3456
3457
  super();
3457
3458
  this.pluginOptions = pluginOptions;
3458
3459
  this.init();