next.js
Codemod for Async Request API
#69572
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
46
Changes
View On
GitHub
Codemod for Async Request API
#69572
huozhi
merged 46 commits into
canary
from
09-02-codemod_exotic_cookie
ijjk
added
created-by: Next.js team
ijjk
added
type: next
huozhi
changed the title
Transform cookies for sync and async migratable cases
codemod: cookies for sync and async migratable cases
1 year ago
huozhi
force pushed
from
a6366cd0
to
cd30b8fe
1 year ago
huozhi
force pushed
to
eb934f71
1 year ago
huozhi
force pushed
to
05e8e389
1 year ago
huozhi
changed the title
codemod: cookies for sync and async migratable cases
Codemod for Dynamic IO
1 year ago
huozhi
force pushed
to
fa442d3c
1 year ago
huozhi
marked this pull request as ready for review
1 year ago
eps1lon
commented on 2024-09-18
eps1lon
commented on 2024-09-18
eps1lon
commented on 2024-09-18
Transform cookies for sync and async migratable cases
4b521da2
rm if cond check
a49711b5
rm cond
6722ee11
skip client
ca294c40
wip params and search params
6570c2e4
rename properties
830d1ecb
transform search params
99e74acf
reogrnaize, merge two transform
8c95ab61
support typescript param and searchParam
230ec3f8
rename to props
948230de
insert imports
b929bea6
format
3785aa17
skip local api calls
79ec53da
convert recent export default to async if possible
3aa78556
add hook test
5cea1fde
handle generateMetadata
66d3ec24
handle props types defined somewhere else
53a36c1f
handle cases are not able to transform
cf480312
do not apply if possible
ec7b2ac4
secure transform func
c62981fc
handle route.js transform
1295221e
require entry file
34025683
reorg files
f964b11a
skip types
21ae0bfe
avoid duplicates
7c84196a
fix cookies type name and fix missing await case
a8ad7ba7
huozhi
force pushed
to
a8ad7ba7
1 year ago
handle destruction
f2c4992f
convert return type
5c68f587
rename UnsafeUnwrapped
b2a1bffb
insert helper per function
c4d446b3
add return type case
e293623c
transform the decl.func return type instead of path
1b892297
fix transform multi arg types
3c61a1ba
avoid inserting duplicated types
b97c1fb0
ztanner
commented on 2024-09-19
format
e6d50c6b
prettier input
60c89bd0
update comment
089017f9
prettier more
db8f04be
move folder to include the assets in files
9a548310
ztanner
approved these changes on 2024-09-20
reorganize tests
c9b1b606
fix await calls under arrow function
a06013d8
unique identifier
2676c4fc
rename tests
7a75a8ef
handle import specifiers
53f999f5
Merge branch 'canary' into 09-02-codemod_exotic_cookie
daf9d4f6
add docs
be4f8828
ijjk
added
Documentation
huozhi
changed the title
Codemod for Dynamic IO
Codemod for Async Request API
1 year ago
huozhi
merged
952ecb2c
into canary
1 year ago
huozhi
deleted the 09-02-codemod_exotic_cookie branch
1 year ago
github-actions
added
locked
github-actions
locked
as resolved
and limited conversation to collaborators
1 year ago
Login to write a write a comment.
Login via GitHub
Reviewers
ztanner
eps1lon
Assignees
No one assigned
Labels
type: next
created-by: Next.js team
Documentation
locked
Milestone
No milestone
Login to write a write a comment.
Login via GitHub