Skip to content

Update koa-views requirement from 6.1.4 to 6.1.5

Updates the requirements on koa-views to permit the latest version.

Changelog

Sourced from koa-views's changelog.

5.0.0~6.0.0

  • koa@2 is supported by default and koa@1 is not supported
  • don't compile released code to ES5 (this means you need Node_v7.6, the same as koa@2 requires)
  • [BugFix] fix error if filename contains dot
  • [BugFix] default extension should not be changed
  • [BugFix] fix partials not working properly in handlebars
  • make consolidate engine source optional and allow configuration

5.0.0

4.1.0

  • [BugFix] state will pass now if no locals are passed

4.0.1

  • [Bugfix] Select correct extension in order to decide if the view should be sent or rendered

4.0.0

Breaking changes

  • no root option -> use views(path, ...)
  • path should now always be absolute (no magic anymore)
// don't
app.use(views('./views'))

// do
app.use(views(__dirname + '/views'))
  • opts is now always an object, no string can be passed in as engine
// this
app.use(views(__dirname + '/views', 'jade'))
// is now this
app.use(views(__dirname + '/views', {
  extension: 'jade'
}))
  • opts.default renamed to opts.extension to avoid misconceptions

Non-breaking changes

... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Merge request reports

Loading