Skip to content

Commit c506d49

Browse files
committed
fix[eslint-plugin-react-hooks]: Fix error when callback argument is an identifier with an as expression (#31119)
DiffTrain build for [eaf2d5c](eaf2d5c)
1 parent 3a9e9ff commit c506d49

35 files changed

+109
-98
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
047d95e85f0f0cfa6085b2e355e052a3c34ae24d
1+
eaf2d5c670c84124618977156d81946435922eb3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
047d95e85f0f0cfa6085b2e355e052a3c34ae24d
1+
eaf2d5c670c84124618977156d81946435922eb3

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ __DEV__ &&
18371837
exports.useTransition = function () {
18381838
return resolveDispatcher().useTransition();
18391839
};
1840-
exports.version = "19.0.0-www-classic-047d95e8-20241118";
1840+
exports.version = "19.0.0-www-classic-eaf2d5c6-20241119";
18411841
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
18421842
"function" ===
18431843
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ __DEV__ &&
18371837
exports.useTransition = function () {
18381838
return resolveDispatcher().useTransition();
18391839
};
1840-
exports.version = "19.0.0-www-modern-047d95e8-20241118";
1840+
exports.version = "19.0.0-www-modern-eaf2d5c6-20241119";
18411841
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
18421842
"function" ===
18431843
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.0.0-www-classic-047d95e8-20241118";
639+
exports.version = "19.0.0-www-classic-eaf2d5c6-20241119";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
636636
exports.useTransition = function () {
637637
return ReactSharedInternals.H.useTransition();
638638
};
639-
exports.version = "19.0.0-www-modern-047d95e8-20241118";
639+
exports.version = "19.0.0-www-modern-eaf2d5c6-20241119";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.0.0-www-classic-047d95e8-20241118";
643+
exports.version = "19.0.0-www-classic-eaf2d5c6-20241119";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
640640
exports.useTransition = function () {
641641
return ReactSharedInternals.H.useTransition();
642642
};
643-
exports.version = "19.0.0-www-modern-047d95e8-20241118";
643+
exports.version = "19.0.0-www-modern-eaf2d5c6-20241119";
644644
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
645645
"function" ===
646646
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17113,11 +17113,11 @@ __DEV__ &&
1711317113
(function () {
1711417114
var internals = {
1711517115
bundleType: 1,
17116-
version: "19.0.0-www-classic-047d95e8-20241118",
17116+
version: "19.0.0-www-classic-eaf2d5c6-20241119",
1711717117
rendererPackageName: "react-art",
1711817118
currentDispatcherRef: ReactSharedInternals,
1711917119
findFiberByHostInstance: getInstanceFromNode,
17120-
reconcilerVersion: "19.0.0-www-classic-047d95e8-20241118"
17120+
reconcilerVersion: "19.0.0-www-classic-eaf2d5c6-20241119"
1712117121
};
1712217122
internals.overrideHookState = overrideHookState;
1712317123
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17151,7 +17151,7 @@ __DEV__ &&
1715117151
exports.Shape = Shape;
1715217152
exports.Surface = Surface;
1715317153
exports.Text = Text;
17154-
exports.version = "19.0.0-www-classic-047d95e8-20241118";
17154+
exports.version = "19.0.0-www-classic-eaf2d5c6-20241119";
1715517155
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1715617156
"function" ===
1715717157
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16876,11 +16876,11 @@ __DEV__ &&
1687616876
(function () {
1687716877
var internals = {
1687816878
bundleType: 1,
16879-
version: "19.0.0-www-modern-047d95e8-20241118",
16879+
version: "19.0.0-www-modern-eaf2d5c6-20241119",
1688016880
rendererPackageName: "react-art",
1688116881
currentDispatcherRef: ReactSharedInternals,
1688216882
findFiberByHostInstance: getInstanceFromNode,
16883-
reconcilerVersion: "19.0.0-www-modern-047d95e8-20241118"
16883+
reconcilerVersion: "19.0.0-www-modern-eaf2d5c6-20241119"
1688416884
};
1688516885
internals.overrideHookState = overrideHookState;
1688616886
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16914,7 +16914,7 @@ __DEV__ &&
1691416914
exports.Shape = Shape;
1691516915
exports.Surface = Surface;
1691616916
exports.Text = Text;
16917-
exports.version = "19.0.0-www-modern-047d95e8-20241118";
16917+
exports.version = "19.0.0-www-modern-eaf2d5c6-20241119";
1691816918
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1691916919
"function" ===
1692016920
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)