Skip to content

Commit 64eae6e

Browse files
committed
refactor: added more strict app segment config validation
1 parent 7474f10 commit 64eae6e

File tree

36 files changed

+898
-624
lines changed

36 files changed

+898
-624
lines changed

packages/next/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@
329329
"webpack-sources1": "npm:[email protected]",
330330
"webpack-sources3": "npm:[email protected]",
331331
"ws": "8.2.3",
332-
"zod": "3.22.3"
332+
"zod": "3.22.3",
333+
"zod-validation-error": "3.4.0"
333334
},
334335
"keywords": [
335336
"react",

test/unit/get-page-static-infos.test.ts renamed to packages/next/src/build/analysis/get-page-static-info.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/* eslint-env jest */
2-
import { getMiddlewareMatchers } from 'next/dist/build/analysis/get-page-static-info'
1+
import { getMiddlewareMatchers } from './get-page-static-info'
32

43
describe('get-page-static-infos', () => {
54
describe('getMiddlewareMatchers', () => {

0 commit comments

Comments
 (0)