Skip to content

Commit a63549d

Browse files
Merge branch 'canary' into sokra/invert-turbopack-test-case-exclude-logic
2 parents 2b09ada + 1b7895e commit a63549d

File tree

20 files changed

+50
-41
lines changed

20 files changed

+50
-41
lines changed

docs/03-pages/01-building-your-application/01-routing/07-api-routes.mdx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ The following example sends a JSON response with the status code `200` (`OK`) an
217217
```ts filename="pages/api/hello.ts" switcher
218218
import type { NextApiRequest, NextApiResponse } from 'next'
219219

220-
export default function handler(req: NextApiRequest, res: NextApiResponse) {
220+
export default async function handler(
221+
req: NextApiRequest,
222+
res: NextApiResponse
223+
) {
221224
try {
222225
const result = await someAsyncOperation()
223226
res.status(200).json({ result })
@@ -228,7 +231,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
228231
```
229232

230233
```js filename="pages/api/hello.js" switcher
231-
export default function handler(req, res) {
234+
export default async function handler(req, res) {
232235
try {
233236
const result = await someAsyncOperation()
234237
res.status(200).json({ result })
@@ -247,7 +250,10 @@ The following example sends a HTTP response with the status code `200` (`OK`) an
247250
```ts filename="pages/api/hello.ts" switcher
248251
import type { NextApiRequest, NextApiResponse } from 'next'
249252

250-
export default function handler(req: NextApiRequest, res: NextApiResponse) {
253+
export default async function handler(
254+
req: NextApiRequest,
255+
res: NextApiResponse
256+
) {
251257
try {
252258
const result = await someAsyncOperation()
253259
res.status(200).send({ result })
@@ -258,7 +264,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
258264
```
259265

260266
```js filename="pages/api/hello.js" switcher
261-
export default function handler(req, res) {
267+
export default async function handler(req, res) {
262268
try {
263269
const result = await someAsyncOperation()
264270
res.status(200).send({ result })
@@ -277,7 +283,10 @@ The following example redirects the client to the `/` path if the form is succes
277283
```ts filename="pages/api/hello.ts" switcher
278284
import type { NextApiRequest, NextApiResponse } from 'next'
279285

280-
export default function handler(req: NextApiRequest, res: NextApiResponse) {
286+
export default async function handler(
287+
req: NextApiRequest,
288+
res: NextApiResponse
289+
) {
281290
const { name, message } = req.body
282291

283292
try {
@@ -290,7 +299,7 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
290299
```
291300

292301
```js filename="pages/api/hello.js" switcher
293-
export default function handler(req, res) {
302+
export default async function handler(req, res) {
294303
const { name, message } = req.body
295304

296305
try {

docs/05-community/01-contribution-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ The following fields are **required**:
111111

112112
```yaml filename="required-fields.mdx"
113113
---
114-
tile: Page Title
114+
title: Page Title
115115
description: Page Description
116116
---
117117
```

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"registry": "https://registry.npmjs.org/"
1717
}
1818
},
19-
"version": "13.5.5-canary.4"
19+
"version": "13.5.5-canary.5"
2020
}

packages/create-next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-next-app",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"keywords": [
55
"react",
66
"next",

packages/eslint-config-next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-next",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "ESLint configuration used by Next.js.",
55
"main": "index.js",
66
"license": "MIT",
@@ -10,7 +10,7 @@
1010
},
1111
"homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config",
1212
"dependencies": {
13-
"@next/eslint-plugin-next": "13.5.5-canary.4",
13+
"@next/eslint-plugin-next": "13.5.5-canary.5",
1414
"@rushstack/eslint-patch": "^1.3.3",
1515
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
1616
"eslint-import-resolver-node": "^0.3.6",

packages/eslint-plugin-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/eslint-plugin-next",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "ESLint plugin for Next.js.",
55
"main": "dist/index.js",
66
"license": "MIT",

packages/font/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/font",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/font"

packages/next-bundle-analyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/bundle-analyzer",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"license": "MIT",

packages/next-codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/codemod",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

packages/next-env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/env",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"keywords": [
55
"react",
66
"next",

packages/next-mdx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/mdx",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"main": "index.js",
55
"license": "MIT",
66
"repository": {

packages/next-plugin-storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/plugin-storybook",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/next-plugin-storybook"

packages/next-polyfill-module/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/polyfill-module",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)",
55
"main": "dist/polyfill-module.js",
66
"license": "MIT",

packages/next-polyfill-nomodule/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/polyfill-nomodule",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "A polyfill for non-dead, nomodule browsers.",
55
"main": "dist/polyfill-nomodule.js",
66
"license": "MIT",

packages/next-swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/swc",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"private": true,
55
"scripts": {
66
"clean": "node ../../scripts/rm.mjs native",

packages/next/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "The React Framework",
55
"main": "./dist/server/next.js",
66
"license": "MIT",
@@ -90,7 +90,7 @@
9090
]
9191
},
9292
"dependencies": {
93-
"@next/env": "13.5.5-canary.4",
93+
"@next/env": "13.5.5-canary.5",
9494
"@swc/helpers": "0.5.2",
9595
"busboy": "1.6.0",
9696
"caniuse-lite": "^1.0.30001406",
@@ -144,11 +144,11 @@
144144
"@mswjs/interceptors": "0.23.0",
145145
"@napi-rs/cli": "2.16.2",
146146
"@napi-rs/triples": "1.1.0",
147-
"@next/polyfill-module": "13.5.5-canary.4",
148-
"@next/polyfill-nomodule": "13.5.5-canary.4",
149-
"@next/react-dev-overlay": "13.5.5-canary.4",
150-
"@next/react-refresh-utils": "13.5.5-canary.4",
151-
"@next/swc": "13.5.5-canary.4",
147+
"@next/polyfill-module": "13.5.5-canary.5",
148+
"@next/polyfill-nomodule": "13.5.5-canary.5",
149+
"@next/react-dev-overlay": "13.5.5-canary.5",
150+
"@next/react-refresh-utils": "13.5.5-canary.5",
151+
"@next/swc": "13.5.5-canary.5",
152152
"@opentelemetry/api": "1.4.1",
153153
"@playwright/test": "^1.35.1",
154154
"@taskr/clear": "1.1.0",

packages/react-dev-overlay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/react-dev-overlay",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "A development-only overlay for developing React applications.",
55
"repository": {
66
"url": "vercel/next.js",

packages/react-refresh-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/react-refresh-utils",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"description": "An experimental package providing utilities for React Refresh.",
55
"repository": {
66
"url": "vercel/next.js",

packages/third-parties/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/third-parties",
3-
"version": "13.5.5-canary.4",
3+
"version": "13.5.5-canary.5",
44
"private": true,
55
"repository": {
66
"url": "vercel/next.js",
@@ -23,7 +23,7 @@
2323
"third-party-capital": "1.0.20"
2424
},
2525
"devDependencies": {
26-
"next": "13.5.5-canary.4",
26+
"next": "13.5.5-canary.5",
2727
"outdent": "0.8.0",
2828
"prettier": "2.5.1"
2929
},

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)