rsnext/packages/next/lib
JJ Kasper 65c22167c8
Ensure has segments are allowed in destination (#23588)
This ensures we gather segments from the experimental has field when validating segments used in the destination to prevent the invalid segments in the destination error from showing incorrectly. This usage has been added to the custom-routes test suite to ensure the segments are passed correctly from the has field. 

Fixes: https://github.com/vercel/next.js/issues/23415

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
2021-04-01 09:15:28 +00:00
..
typescript fix(next): respect extends in tsconfig with exclude and include (#16619) 2021-01-24 14:24:36 +01:00
coalesced-function.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
constants.ts Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
file-exists.ts Eliminate public folder enumeration (#14042) 2020-06-10 20:35:34 +00:00
find-config.ts find-up 2020-03-30 16:26:25 -04:00
find-pages-dir.ts Add initial support for new env handling (#10525) 2020-03-26 13:32:41 +01:00
get-package-version.ts perf(next): use require.resolve instead of resolve (#19518) 2021-01-11 14:43:08 +00:00
is-serializable-props.ts Fix grammar in isSerializableProps (#19072) 2020-11-12 16:07:14 +00:00
load-custom-routes.ts Ensure has segments are allowed in destination (#23588) 2021-04-01 09:15:28 +00:00
non-nullable.ts temporary: re-flag font optimization (#20372) 2020-12-21 19:26:00 +00:00
oxford-comma-list.ts refactor(typescript): extract preflight functions (#13510) 2020-05-28 23:39:46 +00:00
pretty-bytes.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
recursive-copy.ts chore(next): export/lib/next-server missing types (#13320) 2020-05-24 22:44:05 +00:00
recursive-delete.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
recursive-readdir.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
verifyTypeScriptSetup.ts ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00