-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Update vendored React"" (#46881)
Reverts #46861. This requires vercel/turborepo#4102 to be released and bindings to be updated first. ~Also depends on #46896 to be merged first, and conflicts to be resolved.~
- Loading branch information
Showing
64 changed files
with
3,838 additions
and
2,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
packages/next-swc/crates/core/tests/errors/server-actions/1/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* __next_internal_action_entry_do_not_use__ foo */ export function foo() {} | ||
foo.$$typeof = Symbol.for("react.server.reference"); | ||
foo.$$filepath = "/app/item.js"; | ||
foo.$$name = "foo"; | ||
foo.$$id = "ab21efdafbe611287bc25c0462b1e0510d13e48b"; | ||
foo.$$bound = []; |
3 changes: 1 addition & 2 deletions
3
packages/next-swc/crates/core/tests/errors/server-actions/2/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/* __next_internal_action_entry_do_not_use__ bar */ 'use strict'; | ||
export function bar() {} | ||
bar.$$typeof = Symbol.for("react.server.reference"); | ||
bar.$$filepath = "/app/item.js"; | ||
bar.$$name = "bar"; | ||
bar.$$id = "ac840dcaf5e8197cb02b7f3a43c119b7a770b272"; | ||
bar.$$bound = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
packages/next-swc/crates/core/tests/fixture/server-actions/10/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* __next_internal_action_entry_do_not_use__ default */ export default async function foo() {} | ||
foo.$$typeof = Symbol.for("react.server.reference"); | ||
foo.$$filepath = "/app/item.js"; | ||
foo.$$name = "default"; | ||
foo.$$id = "c18c215a6b7cdc64bf709f3a714ffdef1bf9651d"; | ||
foo.$$bound = []; |
3 changes: 1 addition & 2 deletions
3
packages/next-swc/crates/core/tests/fixture/server-actions/11/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* __next_internal_action_entry_do_not_use__ default */ export default async function $ACTION_default_0() {} | ||
$ACTION_default_0.$$typeof = Symbol.for("react.server.reference"); | ||
$ACTION_default_0.$$filepath = "/app/item.js"; | ||
$ACTION_default_0.$$name = "default"; | ||
$ACTION_default_0.$$id = "c18c215a6b7cdc64bf709f3a714ffdef1bf9651d"; | ||
$ACTION_default_0.$$bound = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
packages/next-swc/crates/core/tests/fixture/server-actions/4/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
/* __next_internal_action_entry_do_not_use__ a,b,c,$ACTION_e */ export async function a() {} | ||
a.$$typeof = Symbol.for("react.server.reference"); | ||
a.$$filepath = "/app/item.js"; | ||
a.$$name = "a"; | ||
a.$$id = "6e7bc104e4d6e7fda190c4a51be969cfd0be6d6d"; | ||
a.$$bound = []; | ||
export async function b() {} | ||
b.$$typeof = Symbol.for("react.server.reference"); | ||
b.$$filepath = "/app/item.js"; | ||
b.$$name = "b"; | ||
b.$$id = "d1f7eb64271d7c601dfef7d4d7053de1c2ca4338"; | ||
b.$$bound = []; | ||
export async function c() {} | ||
c.$$typeof = Symbol.for("react.server.reference"); | ||
c.$$filepath = "/app/item.js"; | ||
c.$$name = "c"; | ||
c.$$id = "1ab723c80dcca470e0410b4b2a2fc2bf21f41476"; | ||
c.$$bound = []; | ||
function d() {} | ||
function Foo() { | ||
async function e() { | ||
return $ACTION_e(e.$$bound); | ||
} | ||
e.$$typeof = Symbol.for("react.server.reference"); | ||
e.$$filepath = "/app/item.js"; | ||
e.$$name = "$ACTION_e"; | ||
e.$$id = "b6c8c6754aefb804cf95f444931ba7e955c0701d"; | ||
e.$$bound = []; | ||
} | ||
export async function $ACTION_e(closure) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 3 additions & 6 deletions
9
packages/next-swc/crates/core/tests/fixture/server-actions/9/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
// app/send.ts | ||
/* __next_internal_action_entry_do_not_use__ foo,bar,qux */ async function foo() {} | ||
foo.$$typeof = Symbol.for("react.server.reference"); | ||
foo.$$filepath = "/app/item.js"; | ||
foo.$$name = "foo"; | ||
foo.$$id = "ab21efdafbe611287bc25c0462b1e0510d13e48b"; | ||
foo.$$bound = []; | ||
export { foo }; | ||
async function bar() {} | ||
bar.$$typeof = Symbol.for("react.server.reference"); | ||
bar.$$filepath = "/app/item.js"; | ||
bar.$$name = "bar"; | ||
bar.$$id = "ac840dcaf5e8197cb02b7f3a43c119b7a770b272"; | ||
bar.$$bound = []; | ||
export { bar as baz }; | ||
async function qux() {} | ||
qux.$$typeof = Symbol.for("react.server.reference"); | ||
qux.$$filepath = "/app/item.js"; | ||
qux.$$name = "qux"; | ||
qux.$$id = "3c8ed39a99caf636869d076cc7cae786a4053164"; | ||
qux.$$bound = []; | ||
export { qux as default }; |
Oops, something went wrong.