{
  "type": "Program",
  "start": 0,
  "end": 1072,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 47,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 31,
      "end": 66,
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 35
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 38,
          "end": 47,
          "loc": {
            "start": {
              "line": 3,
              "column": 7
            },
            "end": {
              "line": 3,
              "column": 16
            }
          },
          "local": {
            "type": "Identifier",
            "start": 38,
            "end": 47,
            "loc": {
              "start": {
                "line": 3,
                "column": 7
              },
              "end": {
                "line": 3,
                "column": 16
              }
            },
            "name": "koaErrors",
            "leadingComments": null
          },
          "leadingComments": null
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 53,
        "end": 65,
        "loc": {
          "start": {
            "line": 3,
            "column": 22
          },
          "end": {
            "line": 3,
            "column": 34
          }
        },
        "value": "koa-errors",
        "rawValue": "koa-errors",
        "raw": "'koa-errors'"
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": " global __DEV__ __DIST__ ",
          "start": 0,
          "end": 29,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 1,
              "column": 29
            }
          },
          "range": [
            0,
            29
          ]
        }
      ]
    },
    {
      "type": "ImportDeclaration",
      "start": 67,
      "end": 99,
      "loc": {
        "start": {
          "line": 4,
          "column": 0
        },
        "end": {
          "line": 4,
          "column": 32
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 74,
          "end": 80,
          "loc": {
            "start": {
              "line": 4,
              "column": 7
            },
            "end": {
              "line": 4,
              "column": 13
            }
          },
          "local": {
            "type": "Identifier",
            "start": 74,
            "end": 80,
            "loc": {
              "start": {
                "line": 4,
                "column": 7
              },
              "end": {
                "line": 4,
                "column": 13
              }
            },
            "name": "helmet"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 86,
        "end": 98,
        "loc": {
          "start": {
            "line": 4,
            "column": 19
          },
          "end": {
            "line": 4,
            "column": 31
          }
        },
        "value": "koa-helmet",
        "rawValue": "koa-helmet",
        "raw": "'koa-helmet'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 100,
      "end": 131,
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 31
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 107,
          "end": 114,
          "loc": {
            "start": {
              "line": 5,
              "column": 7
            },
            "end": {
              "line": 5,
              "column": 14
            }
          },
          "local": {
            "type": "Identifier",
            "start": 107,
            "end": 114,
            "loc": {
              "start": {
                "line": 5,
                "column": 7
              },
              "end": {
                "line": 5,
                "column": 14
              }
            },
            "name": "koaEtag"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 120,
        "end": 130,
        "loc": {
          "start": {
            "line": 5,
            "column": 20
          },
          "end": {
            "line": 5,
            "column": 30
          }
        },
        "value": "koa-etag",
        "rawValue": "koa-etag",
        "raw": "'koa-etag'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 132,
      "end": 175,
      "loc": {
        "start": {
          "line": 6,
          "column": 0
        },
        "end": {
          "line": 6,
          "column": 43
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 139,
          "end": 152,
          "loc": {
            "start": {
              "line": 6,
              "column": 7
            },
            "end": {
              "line": 6,
              "column": 20
            }
          },
          "local": {
            "type": "Identifier",
            "start": 139,
            "end": 152,
            "loc": {
              "start": {
                "line": 6,
                "column": 7
              },
              "end": {
                "line": 6,
                "column": 20
              }
            },
            "name": "koaCompressor"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 158,
        "end": 174,
        "loc": {
          "start": {
            "line": 6,
            "column": 26
          },
          "end": {
            "line": 6,
            "column": 42
          }
        },
        "value": "koa-compressor",
        "rawValue": "koa-compressor",
        "raw": "'koa-compressor'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 176,
      "end": 213,
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 7,
          "column": 37
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 183,
          "end": 193,
          "loc": {
            "start": {
              "line": 7,
              "column": 7
            },
            "end": {
              "line": 7,
              "column": 17
            }
          },
          "local": {
            "type": "Identifier",
            "start": 183,
            "end": 193,
            "loc": {
              "start": {
                "line": 7,
                "column": 7
              },
              "end": {
                "line": 7,
                "column": 17
              }
            },
            "name": "koaFavicon"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 199,
        "end": 212,
        "loc": {
          "start": {
            "line": 7,
            "column": 23
          },
          "end": {
            "line": 7,
            "column": 36
          }
        },
        "value": "koa-favicon",
        "rawValue": "koa-favicon",
        "raw": "'koa-favicon'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 214,
      "end": 255,
      "loc": {
        "start": {
          "line": 8,
          "column": 0
        },
        "end": {
          "line": 8,
          "column": 41
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 221,
          "end": 233,
          "loc": {
            "start": {
              "line": 8,
              "column": 7
            },
            "end": {
              "line": 8,
              "column": 19
            }
          },
          "local": {
            "type": "Identifier",
            "start": 221,
            "end": 233,
            "loc": {
              "start": {
                "line": 8,
                "column": 7
              },
              "end": {
                "line": 8,
                "column": 19
              }
            },
            "name": "koaAccesslog"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 239,
        "end": 254,
        "loc": {
          "start": {
            "line": 8,
            "column": 25
          },
          "end": {
            "line": 8,
            "column": 40
          }
        },
        "value": "koa-accesslog",
        "rawValue": "koa-accesslog",
        "raw": "'koa-accesslog'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 256,
      "end": 291,
      "loc": {
        "start": {
          "line": 9,
          "column": 0
        },
        "end": {
          "line": 9,
          "column": 35
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 263,
          "end": 272,
          "loc": {
            "start": {
              "line": 9,
              "column": 7
            },
            "end": {
              "line": 9,
              "column": 16
            }
          },
          "local": {
            "type": "Identifier",
            "start": 263,
            "end": 272,
            "loc": {
              "start": {
                "line": 9,
                "column": 7
              },
              "end": {
                "line": 9,
                "column": 16
              }
            },
            "name": "koaLogger"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 278,
        "end": 290,
        "loc": {
          "start": {
            "line": 9,
            "column": 22
          },
          "end": {
            "line": 9,
            "column": 34
          }
        },
        "value": "koa-logger",
        "rawValue": "koa-logger",
        "raw": "'koa-logger'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Returns the middlewares to be used\n *\n * @param {object} config - A roc config object.\n * @returns {array} A array with middlewares to use.\n ",
          "start": 293,
          "end": 443,
          "loc": {
            "start": {
              "line": 11,
              "column": 0
            },
            "end": {
              "line": 16,
              "column": 3
            }
          },
          "range": [
            293,
            443
          ]
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "start": 444,
      "end": 1071,
      "loc": {
        "start": {
          "line": 17,
          "column": 0
        },
        "end": {
          "line": 46,
          "column": 1
        }
      },
      "declaration": {
        "type": "FunctionDeclaration",
        "start": 459,
        "end": 1071,
        "loc": {
          "start": {
            "line": 17,
            "column": 15
          },
          "end": {
            "line": 46,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 468,
          "end": 479,
          "loc": {
            "start": {
              "line": 17,
              "column": 24
            },
            "end": {
              "line": 17,
              "column": 35
            }
          },
          "name": "middlewares",
          "leadingComments": null
        },
        "generator": false,
        "expression": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start": 480,
            "end": 486,
            "loc": {
              "start": {
                "line": 17,
                "column": 36
              },
              "end": {
                "line": 17,
                "column": 42
              }
            },
            "name": "config"
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 488,
          "end": 1071,
          "loc": {
            "start": {
              "line": 17,
              "column": 44
            },
            "end": {
              "line": 46,
              "column": 1
            }
          },
          "body": [
            {
              "type": "VariableDeclaration",
              "start": 494,
              "end": 521,
              "loc": {
                "start": {
                  "line": 18,
                  "column": 4
                },
                "end": {
                  "line": 18,
                  "column": 31
                }
              },
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "start": 500,
                  "end": 520,
                  "loc": {
                    "start": {
                      "line": 18,
                      "column": 10
                    },
                    "end": {
                      "line": 18,
                      "column": 30
                    }
                  },
                  "id": {
                    "type": "Identifier",
                    "start": 500,
                    "end": 515,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 10
                      },
                      "end": {
                        "line": 18,
                        "column": 25
                      }
                    },
                    "name": "middlewaresList"
                  },
                  "init": {
                    "type": "ArrayExpression",
                    "start": 518,
                    "end": 520,
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 28
                      },
                      "end": {
                        "line": 18,
                        "column": 30
                      }
                    },
                    "elements": []
                  }
                }
              ],
              "kind": "const"
            },
            {
              "type": "IfStatement",
              "start": 527,
              "end": 590,
              "loc": {
                "start": {
                  "line": 20,
                  "column": 4
                },
                "end": {
                  "line": 22,
                  "column": 5
                }
              },
              "test": {
                "type": "Identifier",
                "start": 531,
                "end": 538,
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 8
                  },
                  "end": {
                    "line": 20,
                    "column": 15
                  }
                },
                "name": "__DEV__"
              },
              "consequent": {
                "type": "BlockStatement",
                "start": 540,
                "end": 590,
                "loc": {
                  "start": {
                    "line": 20,
                    "column": 17
                  },
                  "end": {
                    "line": 22,
                    "column": 5
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 550,
                    "end": 584,
                    "loc": {
                      "start": {
                        "line": 21,
                        "column": 8
                      },
                      "end": {
                        "line": 21,
                        "column": 42
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 550,
                      "end": 583,
                      "loc": {
                        "start": {
                          "line": 21,
                          "column": 8
                        },
                        "end": {
                          "line": 21,
                          "column": 41
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 550,
                        "end": 570,
                        "loc": {
                          "start": {
                            "line": 21,
                            "column": 8
                          },
                          "end": {
                            "line": 21,
                            "column": 28
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 550,
                          "end": 565,
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 8
                            },
                            "end": {
                              "line": 21,
                              "column": 23
                            }
                          },
                          "name": "middlewaresList"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 566,
                          "end": 570,
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 24
                            },
                            "end": {
                              "line": 21,
                              "column": 28
                            }
                          },
                          "name": "push"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "CallExpression",
                          "start": 571,
                          "end": 582,
                          "loc": {
                            "start": {
                              "line": 21,
                              "column": 29
                            },
                            "end": {
                              "line": 21,
                              "column": 40
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 571,
                            "end": 580,
                            "loc": {
                              "start": {
                                "line": 21,
                                "column": 29
                              },
                              "end": {
                                "line": 21,
                                "column": 38
                              }
                            },
                            "name": "koaErrors"
                          },
                          "arguments": []
                        }
                      ]
                    }
                  }
                ],
                "trailingComments": null
              },
              "alternate": null,
              "trailingComments": [
                {
                  "type": "CommentLine",
                  "value": " Security headers",
                  "start": 596,
                  "end": 615,
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 4
                    },
                    "end": {
                      "line": 24,
                      "column": 23
                    }
                  },
                  "range": [
                    596,
                    615
                  ]
                }
              ]
            },
            {
              "type": "ExpressionStatement",
              "start": 620,
              "end": 651,
              "loc": {
                "start": {
                  "line": 25,
                  "column": 4
                },
                "end": {
                  "line": 25,
                  "column": 35
                }
              },
              "expression": {
                "type": "CallExpression",
                "start": 620,
                "end": 650,
                "loc": {
                  "start": {
                    "line": 25,
                    "column": 4
                  },
                  "end": {
                    "line": 25,
                    "column": 34
                  }
                },
                "callee": {
                  "type": "MemberExpression",
                  "start": 620,
                  "end": 640,
                  "loc": {
                    "start": {
                      "line": 25,
                      "column": 4
                    },
                    "end": {
                      "line": 25,
                      "column": 24
                    }
                  },
                  "object": {
                    "type": "Identifier",
                    "start": 620,
                    "end": 635,
                    "loc": {
                      "start": {
                        "line": 25,
                        "column": 4
                      },
                      "end": {
                        "line": 25,
                        "column": 19
                      }
                    },
                    "name": "middlewaresList",
                    "leadingComments": null
                  },
                  "property": {
                    "type": "Identifier",
                    "start": 636,
                    "end": 640,
                    "loc": {
                      "start": {
                        "line": 25,
                        "column": 20
                      },
                      "end": {
                        "line": 25,
                        "column": 24
                      }
                    },
                    "name": "push"
                  },
                  "computed": false,
                  "leadingComments": null
                },
                "arguments": [
                  {
                    "type": "CallExpression",
                    "start": 641,
                    "end": 649,
                    "loc": {
                      "start": {
                        "line": 25,
                        "column": 25
                      },
                      "end": {
                        "line": 25,
                        "column": 33
                      }
                    },
                    "callee": {
                      "type": "Identifier",
                      "start": 641,
                      "end": 647,
                      "loc": {
                        "start": {
                          "line": 25,
                          "column": 25
                        },
                        "end": {
                          "line": 25,
                          "column": 31
                        }
                      },
                      "name": "helmet"
                    },
                    "arguments": []
                  }
                ],
                "leadingComments": null
              },
              "leadingComments": [
                {
                  "type": "CommentLine",
                  "value": " Security headers",
                  "start": 596,
                  "end": 615,
                  "loc": {
                    "start": {
                      "line": 24,
                      "column": 4
                    },
                    "end": {
                      "line": 24,
                      "column": 23
                    }
                  },
                  "range": [
                    596,
                    615
                  ]
                }
              ]
            },
            {
              "type": "ExpressionStatement",
              "start": 657,
              "end": 689,
              "loc": {
                "start": {
                  "line": 27,
                  "column": 4
                },
                "end": {
                  "line": 27,
                  "column": 36
                }
              },
              "expression": {
                "type": "CallExpression",
                "start": 657,
                "end": 688,
                "loc": {
                  "start": {
                    "line": 27,
                    "column": 4
                  },
                  "end": {
                    "line": 27,
                    "column": 35
                  }
                },
                "callee": {
                  "type": "MemberExpression",
                  "start": 657,
                  "end": 677,
                  "loc": {
                    "start": {
                      "line": 27,
                      "column": 4
                    },
                    "end": {
                      "line": 27,
                      "column": 24
                    }
                  },
                  "object": {
                    "type": "Identifier",
                    "start": 657,
                    "end": 672,
                    "loc": {
                      "start": {
                        "line": 27,
                        "column": 4
                      },
                      "end": {
                        "line": 27,
                        "column": 19
                      }
                    },
                    "name": "middlewaresList"
                  },
                  "property": {
                    "type": "Identifier",
                    "start": 673,
                    "end": 677,
                    "loc": {
                      "start": {
                        "line": 27,
                        "column": 20
                      },
                      "end": {
                        "line": 27,
                        "column": 24
                      }
                    },
                    "name": "push"
                  },
                  "computed": false
                },
                "arguments": [
                  {
                    "type": "CallExpression",
                    "start": 678,
                    "end": 687,
                    "loc": {
                      "start": {
                        "line": 27,
                        "column": 25
                      },
                      "end": {
                        "line": 27,
                        "column": 34
                      }
                    },
                    "callee": {
                      "type": "Identifier",
                      "start": 678,
                      "end": 685,
                      "loc": {
                        "start": {
                          "line": 27,
                          "column": 25
                        },
                        "end": {
                          "line": 27,
                          "column": 32
                        }
                      },
                      "name": "koaEtag"
                    },
                    "arguments": []
                  }
                ]
              },
              "trailingComments": [
                {
                  "type": "CommentLine",
                  "value": " We only enable gzip in dist",
                  "start": 695,
                  "end": 725,
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 4
                    },
                    "end": {
                      "line": 29,
                      "column": 34
                    }
                  },
                  "range": [
                    695,
                    725
                  ]
                }
              ]
            },
            {
              "type": "IfStatement",
              "start": 730,
              "end": 798,
              "loc": {
                "start": {
                  "line": 30,
                  "column": 4
                },
                "end": {
                  "line": 32,
                  "column": 5
                }
              },
              "test": {
                "type": "Identifier",
                "start": 734,
                "end": 742,
                "loc": {
                  "start": {
                    "line": 30,
                    "column": 8
                  },
                  "end": {
                    "line": 30,
                    "column": 16
                  }
                },
                "name": "__DIST__",
                "leadingComments": null
              },
              "consequent": {
                "type": "BlockStatement",
                "start": 744,
                "end": 798,
                "loc": {
                  "start": {
                    "line": 30,
                    "column": 18
                  },
                  "end": {
                    "line": 32,
                    "column": 5
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 754,
                    "end": 792,
                    "loc": {
                      "start": {
                        "line": 31,
                        "column": 8
                      },
                      "end": {
                        "line": 31,
                        "column": 46
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 754,
                      "end": 791,
                      "loc": {
                        "start": {
                          "line": 31,
                          "column": 8
                        },
                        "end": {
                          "line": 31,
                          "column": 45
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 754,
                        "end": 774,
                        "loc": {
                          "start": {
                            "line": 31,
                            "column": 8
                          },
                          "end": {
                            "line": 31,
                            "column": 28
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 754,
                          "end": 769,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 8
                            },
                            "end": {
                              "line": 31,
                              "column": 23
                            }
                          },
                          "name": "middlewaresList"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 770,
                          "end": 774,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 24
                            },
                            "end": {
                              "line": 31,
                              "column": 28
                            }
                          },
                          "name": "push"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "CallExpression",
                          "start": 775,
                          "end": 790,
                          "loc": {
                            "start": {
                              "line": 31,
                              "column": 29
                            },
                            "end": {
                              "line": 31,
                              "column": 44
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 775,
                            "end": 788,
                            "loc": {
                              "start": {
                                "line": 31,
                                "column": 29
                              },
                              "end": {
                                "line": 31,
                                "column": 42
                              }
                            },
                            "name": "koaCompressor"
                          },
                          "arguments": []
                        }
                      ]
                    }
                  }
                ]
              },
              "alternate": null,
              "leadingComments": [
                {
                  "type": "CommentLine",
                  "value": " We only enable gzip in dist",
                  "start": 695,
                  "end": 725,
                  "loc": {
                    "start": {
                      "line": 29,
                      "column": 4
                    },
                    "end": {
                      "line": 29,
                      "column": 34
                    }
                  },
                  "range": [
                    695,
                    725
                  ]
                }
              ]
            },
            {
              "type": "VariableDeclaration",
              "start": 804,
              "end": 835,
              "loc": {
                "start": {
                  "line": 34,
                  "column": 4
                },
                "end": {
                  "line": 34,
                  "column": 35
                }
              },
              "declarations": [
                {
                  "type": "VariableDeclarator",
                  "start": 810,
                  "end": 834,
                  "loc": {
                    "start": {
                      "line": 34,
                      "column": 10
                    },
                    "end": {
                      "line": 34,
                      "column": 34
                    }
                  },
                  "id": {
                    "type": "Identifier",
                    "start": 810,
                    "end": 817,
                    "loc": {
                      "start": {
                        "line": 34,
                        "column": 10
                      },
                      "end": {
                        "line": 34,
                        "column": 17
                      }
                    },
                    "name": "favicon"
                  },
                  "init": {
                    "type": "MemberExpression",
                    "start": 820,
                    "end": 834,
                    "loc": {
                      "start": {
                        "line": 34,
                        "column": 20
                      },
                      "end": {
                        "line": 34,
                        "column": 34
                      }
                    },
                    "object": {
                      "type": "Identifier",
                      "start": 820,
                      "end": 826,
                      "loc": {
                        "start": {
                          "line": 34,
                          "column": 20
                        },
                        "end": {
                          "line": 34,
                          "column": 26
                        }
                      },
                      "name": "config"
                    },
                    "property": {
                      "type": "Identifier",
                      "start": 827,
                      "end": 834,
                      "loc": {
                        "start": {
                          "line": 34,
                          "column": 27
                        },
                        "end": {
                          "line": 34,
                          "column": 34
                        }
                      },
                      "name": "favicon"
                    },
                    "computed": false
                  }
                }
              ],
              "kind": "const"
            },
            {
              "type": "IfStatement",
              "start": 840,
              "end": 911,
              "loc": {
                "start": {
                  "line": 35,
                  "column": 4
                },
                "end": {
                  "line": 37,
                  "column": 5
                }
              },
              "test": {
                "type": "Identifier",
                "start": 844,
                "end": 851,
                "loc": {
                  "start": {
                    "line": 35,
                    "column": 8
                  },
                  "end": {
                    "line": 35,
                    "column": 15
                  }
                },
                "name": "favicon"
              },
              "consequent": {
                "type": "BlockStatement",
                "start": 853,
                "end": 911,
                "loc": {
                  "start": {
                    "line": 35,
                    "column": 17
                  },
                  "end": {
                    "line": 37,
                    "column": 5
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 863,
                    "end": 905,
                    "loc": {
                      "start": {
                        "line": 36,
                        "column": 8
                      },
                      "end": {
                        "line": 36,
                        "column": 50
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 863,
                      "end": 904,
                      "loc": {
                        "start": {
                          "line": 36,
                          "column": 8
                        },
                        "end": {
                          "line": 36,
                          "column": 49
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 863,
                        "end": 883,
                        "loc": {
                          "start": {
                            "line": 36,
                            "column": 8
                          },
                          "end": {
                            "line": 36,
                            "column": 28
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 863,
                          "end": 878,
                          "loc": {
                            "start": {
                              "line": 36,
                              "column": 8
                            },
                            "end": {
                              "line": 36,
                              "column": 23
                            }
                          },
                          "name": "middlewaresList"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 879,
                          "end": 883,
                          "loc": {
                            "start": {
                              "line": 36,
                              "column": 24
                            },
                            "end": {
                              "line": 36,
                              "column": 28
                            }
                          },
                          "name": "push"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "CallExpression",
                          "start": 884,
                          "end": 903,
                          "loc": {
                            "start": {
                              "line": 36,
                              "column": 29
                            },
                            "end": {
                              "line": 36,
                              "column": 48
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 884,
                            "end": 894,
                            "loc": {
                              "start": {
                                "line": 36,
                                "column": 29
                              },
                              "end": {
                                "line": 36,
                                "column": 39
                              }
                            },
                            "name": "koaFavicon"
                          },
                          "arguments": [
                            {
                              "type": "Identifier",
                              "start": 895,
                              "end": 902,
                              "loc": {
                                "start": {
                                  "line": 36,
                                  "column": 40
                                },
                                "end": {
                                  "line": 36,
                                  "column": 47
                                }
                              },
                              "name": "favicon"
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "alternate": null
            },
            {
              "type": "IfStatement",
              "start": 917,
              "end": 1040,
              "loc": {
                "start": {
                  "line": 39,
                  "column": 4
                },
                "end": {
                  "line": 43,
                  "column": 5
                }
              },
              "test": {
                "type": "Identifier",
                "start": 921,
                "end": 929,
                "loc": {
                  "start": {
                    "line": 39,
                    "column": 8
                  },
                  "end": {
                    "line": 39,
                    "column": 16
                  }
                },
                "name": "__DIST__"
              },
              "consequent": {
                "type": "BlockStatement",
                "start": 931,
                "end": 984,
                "loc": {
                  "start": {
                    "line": 39,
                    "column": 18
                  },
                  "end": {
                    "line": 41,
                    "column": 5
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 941,
                    "end": 978,
                    "loc": {
                      "start": {
                        "line": 40,
                        "column": 8
                      },
                      "end": {
                        "line": 40,
                        "column": 45
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 941,
                      "end": 977,
                      "loc": {
                        "start": {
                          "line": 40,
                          "column": 8
                        },
                        "end": {
                          "line": 40,
                          "column": 44
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 941,
                        "end": 961,
                        "loc": {
                          "start": {
                            "line": 40,
                            "column": 8
                          },
                          "end": {
                            "line": 40,
                            "column": 28
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 941,
                          "end": 956,
                          "loc": {
                            "start": {
                              "line": 40,
                              "column": 8
                            },
                            "end": {
                              "line": 40,
                              "column": 23
                            }
                          },
                          "name": "middlewaresList"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 957,
                          "end": 961,
                          "loc": {
                            "start": {
                              "line": 40,
                              "column": 24
                            },
                            "end": {
                              "line": 40,
                              "column": 28
                            }
                          },
                          "name": "push"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "CallExpression",
                          "start": 962,
                          "end": 976,
                          "loc": {
                            "start": {
                              "line": 40,
                              "column": 29
                            },
                            "end": {
                              "line": 40,
                              "column": 43
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 962,
                            "end": 974,
                            "loc": {
                              "start": {
                                "line": 40,
                                "column": 29
                              },
                              "end": {
                                "line": 40,
                                "column": 41
                              }
                            },
                            "name": "koaAccesslog"
                          },
                          "arguments": []
                        }
                      ]
                    }
                  }
                ]
              },
              "alternate": {
                "type": "BlockStatement",
                "start": 990,
                "end": 1040,
                "loc": {
                  "start": {
                    "line": 41,
                    "column": 11
                  },
                  "end": {
                    "line": 43,
                    "column": 5
                  }
                },
                "body": [
                  {
                    "type": "ExpressionStatement",
                    "start": 1000,
                    "end": 1034,
                    "loc": {
                      "start": {
                        "line": 42,
                        "column": 8
                      },
                      "end": {
                        "line": 42,
                        "column": 42
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 1000,
                      "end": 1033,
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 8
                        },
                        "end": {
                          "line": 42,
                          "column": 41
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 1000,
                        "end": 1020,
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 8
                          },
                          "end": {
                            "line": 42,
                            "column": 28
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 1000,
                          "end": 1015,
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 8
                            },
                            "end": {
                              "line": 42,
                              "column": 23
                            }
                          },
                          "name": "middlewaresList"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 1016,
                          "end": 1020,
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 24
                            },
                            "end": {
                              "line": 42,
                              "column": 28
                            }
                          },
                          "name": "push"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "CallExpression",
                          "start": 1021,
                          "end": 1032,
                          "loc": {
                            "start": {
                              "line": 42,
                              "column": 29
                            },
                            "end": {
                              "line": 42,
                              "column": 40
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 1021,
                            "end": 1030,
                            "loc": {
                              "start": {
                                "line": 42,
                                "column": 29
                              },
                              "end": {
                                "line": 42,
                                "column": 38
                              }
                            },
                            "name": "koaLogger"
                          },
                          "arguments": []
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "type": "ReturnStatement",
              "start": 1046,
              "end": 1069,
              "loc": {
                "start": {
                  "line": 45,
                  "column": 4
                },
                "end": {
                  "line": 45,
                  "column": 27
                }
              },
              "argument": {
                "type": "Identifier",
                "start": 1053,
                "end": 1068,
                "loc": {
                  "start": {
                    "line": 45,
                    "column": 11
                  },
                  "end": {
                    "line": 45,
                    "column": 26
                  }
                },
                "name": "middlewaresList"
              }
            }
          ]
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Returns the middlewares to be used\n *\n * @param {object} config - A roc config object.\n * @returns {array} A array with middlewares to use.\n ",
            "start": 293,
            "end": 443,
            "loc": {
              "start": {
                "line": 11,
                "column": 0
              },
              "end": {
                "line": 16,
                "column": 3
              }
            },
            "range": [
              293,
              443
            ]
          }
        ],
        "trailingComments": []
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Returns the middlewares to be used\n *\n * @param {object} config - A roc config object.\n * @returns {array} A array with middlewares to use.\n ",
          "start": 293,
          "end": 443,
          "loc": {
            "start": {
              "line": 11,
              "column": 0
            },
            "end": {
              "line": 16,
              "column": 3
            }
          },
          "range": [
            293,
            443
          ]
        }
      ]
    }
  ]
}