Skip to content

Commit

Permalink
Upgrade to [email protected] (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Jul 20, 2023
2 parents f0f8a40 + e292ab0 commit d66aaa9
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 91 deletions.
178 changes: 89 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.2.0",
"next": "^13.1.3",
"jest-environment-node-single-context": "^27.3.0",
"next": "^13.4.10",
"nock": "^13.0.5",
"oidc-provider": "^7.6.0",
"on-headers": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/middleware-cookies.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import MiddlewareCookies from '../../src/utils/middleware-cookies';
import { NextRequest, NextResponse } from 'next/server';
import { serialize } from 'cookie';

const setup = (reqInit?: RequestInit): [NextRequest, NextResponse] => {
const setup = (reqInit?: { headers: Record<string, string> }): [NextRequest, NextResponse] => {
return [new NextRequest(new URL('http://example.com'), reqInit), NextResponse.next()];
};

Expand Down

0 comments on commit d66aaa9

Please sign in to comment.