Skip to content

Commit

Permalink
build(deps): bump next from 12.0.8 to 12.0.9 (#104)
Browse files Browse the repository at this point in the history
* build(deps): bump next from 12.0.8 to 12.0.9

Bumps [next](https://github.com/vercel/next.js) from 12.0.8 to 12.0.9.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v12.0.8...v12.0.9)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felix Haus <[email protected]>
  • Loading branch information
dependabot[bot] and ofhouse authored Feb 17, 2022
1 parent d186b35 commit aa00438
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 213 deletions.
10 changes: 5 additions & 5 deletions lib/image-optimizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ async function imageOptimizer(
* @param url - Parsed url object from the client request,
* e.g. `/my/image.png`
*/
async requestHandler(
{ headers }: IncomingMessage,
res: ServerResponse,
url: UrlWithParsedQuery
) {
async requestHandler({ headers }, res, url) {
if (!url) {
throw new Error('URL is missing from request.');
}

if (s3Config) {
// S3 expects keys without leading `/`
const trimmedKey = url.href.startsWith('/')
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"postpack": "rm ./LICENSE ./third-party-licenses.txt"
},
"dependencies": {
"@millihq/pixel-core": "1.0.0",
"@millihq/pixel-core": "2.0.0",
"aws-sdk": "*",
"next": "12.0.8",
"next": "12.0.9",
"node-fetch": "2.6.7",
"react": "17.0.2",
"sharp": "0.30.1"
Expand Down
Loading

0 comments on commit aa00438

Please sign in to comment.