source/deprecated/koa-generic-session/lib/session.js
function compatMaxage(opts) {
  if (opts) {
    opts.maxage = opts.maxage === undefined
      ? opts.maxAge
      : opts.maxage;
    delete opts.maxAge;
  }
}
function compatMaxage(opts) {
  if (opts) {
    opts.maxage = opts.maxage === undefined
      ? opts.maxAge
      : opts.maxage;
    delete opts.maxAge;
  }
}
function compatMaxage ( opts ) { if ( opts ) { opts . maxage = opts . maxage === undefined ? opts . maxAge : opts . maxage ; delete opts . maxAge ; } }
cookie use maxage, hack to compat connect type `maxAge`
cookie use maxage hack to compat connect type maxAge