HowTheyVote / howtheyvote

HowTheyVote.eu allows anyone to easily find out how Members of the European Parliament vote in plenary.
https://howtheyvote.eu
GNU Affero General Public License v3.0
43 stars 2 forks source link

Bump @tinyhttp/app from 2.1.4 to 2.2.4 in /frontend #975

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

Bumps @tinyhttp/app from 2.1.4 to 2.2.4.

Release notes

Sourced from @​tinyhttp/app's releases.

@​tinyhttp/app@​2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/tinyhttp/tinyhttp/compare/@​tinyhttp/app@​2.2.0...@​tinyhttp/app@​2.2.1

v2.2: New (old) view engine

v.2.2

Features

new View engine

by @​talentlessguy in tinyhttp/tinyhttp#401

View engine was ported from express for cases like multiple view engines and custom View processing. See docs for more info.

App doesn't require a first argument as engine options in a generic anymore. Instead pass engine options to app.engine and res.render.

Example:

import { App } from '@tinyhttp/app'
import { renderFile, type EtaConfig } from 'eta'
import type { PartialConfig } from 'eta/dist/types/config'

const app = new App()

app.engine('eta', eta.renderFile)

app.use((_, res) => void res.render<PartialConfig>('index.eta', { name: 'Eta' }))

app.listen(3000, () => console.log(Listening on http://localhost:3000))

new type: AppConstructor

A constructor type for @tinyhttp/app has been moved into a type for more convenience:

import type { AppConstructor } from '@tinyhttp/app'

new App method: app.disabled

... (truncated)

Commits


Dependabot compatibility score

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 squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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[bot] commented 2 months ago

Superseded by #997.