Skip to content

Commit 3e2ab80

Browse files
committed
[compiler] Update publish tags (facebook#32952)
Adds missing tag. DiffTrain build for [ce578f9](facebook@ce578f9)
1 parent 5dc18d4 commit 3e2ab80

35 files changed

+105
-89
lines changed

compiled/eslint-plugin-react-hooks/index.js

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17086,6 +17086,9 @@ function isSetActionStateType(id) {
1708617086
function isDispatcherType(id) {
1708717087
return id.type.kind === 'Function' && id.type.shapeId === 'BuiltInDispatch';
1708817088
}
17089+
function isFireFunctionType(id) {
17090+
return (id.type.kind === 'Function' && id.type.shapeId === 'BuiltInFireFunction');
17091+
}
1708917092
function isStableType(id) {
1709017093
return (isSetStateType(id) ||
1709117094
isSetActionStateType(id) ||
@@ -28703,6 +28706,7 @@ const BuiltInUseContextHookId = 'BuiltInUseContextHook';
2870328706
const BuiltInUseTransitionId = 'BuiltInUseTransition';
2870428707
const BuiltInStartTransitionId = 'BuiltInStartTransition';
2870528708
const BuiltInFireId = 'BuiltInFire';
28709+
const BuiltInFireFunctionId = 'BuiltInFireFunction';
2870628710
const BUILTIN_SHAPES = new Map();
2870728711
addObject(BUILTIN_SHAPES, BuiltInPropsId, [
2870828712
['ref', { kind: 'Object', shapeId: BuiltInUseRefId }],
@@ -37053,7 +37057,12 @@ const REACT_APIS = [
3705337057
addFunction(DEFAULT_SHAPES, [], {
3705437058
positionalParams: [],
3705537059
restParam: null,
37056-
returnType: { kind: 'Primitive' },
37060+
returnType: {
37061+
kind: 'Function',
37062+
return: { kind: 'Poly' },
37063+
shapeId: BuiltInFireFunctionId,
37064+
isConstructor: false,
37065+
},
3705737066
calleeEffect: Effect.Read,
3705837067
returnValueKind: ValueKind.Frozen,
3705937068
}, BuiltInFireId),
@@ -48290,9 +48299,10 @@ function inferEffectDependencies(fn) {
4829048299
});
4829148300
}
4829248301
for (const dep of scopeInfo.deps) {
48293-
if ((isUseRefType(dep.identifier) ||
48302+
if (((isUseRefType(dep.identifier) ||
4829448303
isSetStateType(dep.identifier)) &&
48295-
!reactiveIds.has(dep.identifier.id)) {
48304+
!reactiveIds.has(dep.identifier.id)) ||
48305+
isFireFunctionType(dep.identifier)) {
4829648306
continue;
4829748307
}
4829848308
const { place, instructions } = writeDependencyToInstructions(dep, reactiveIds.has(dep.identifier.id), fn.env, fnExpr.loc);
@@ -53607,6 +53617,12 @@ class Context {
5360753617
}
5360853618
getOrGenerateFireFunctionBinding(callee, fireLoc) {
5360953619
const fireFunctionBinding = getOrInsertWith(__classPrivateFieldGet(this, _Context_fireCalleesToFireFunctions, "f"), callee.identifier.id, () => createTemporaryPlace(__classPrivateFieldGet(this, _Context_env, "f"), GeneratedSource));
53620+
fireFunctionBinding.identifier.type = {
53621+
kind: 'Function',
53622+
shapeId: BuiltInFireFunctionId,
53623+
return: { kind: 'Poly' },
53624+
isConstructor: false,
53625+
};
5361053626
__classPrivateFieldGet(this, _Context_capturedCalleeIdentifierIds, "f").set(callee.identifier.id, {
5361153627
fireFunctionBinding,
5361253628
capturedCalleeIdentifier: callee.identifier,

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4a36d3eab7d9bbbfae62699989aa95e5a0297c16
1+
ce578f9c59be73e6e32c633e6d251e8ec6dcad84
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4a36d3eab7d9bbbfae62699989aa95e5a0297c16
1+
ce578f9c59be73e6e32c633e6d251e8ec6dcad84

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-classic-4a36d3ea-20250416";
1541+
exports.version = "19.2.0-www-classic-ce578f9c-20250417";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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
@@ -1538,7 +1538,7 @@ __DEV__ &&
15381538
exports.useTransition = function () {
15391539
return resolveDispatcher().useTransition();
15401540
};
1541-
exports.version = "19.2.0-www-modern-4a36d3ea-20250416";
1541+
exports.version = "19.2.0-www-modern-ce578f9c-20250417";
15421542
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15431543
"function" ===
15441544
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.2.0-www-classic-4a36d3ea-20250416";
639+
exports.version = "19.2.0-www-classic-ce578f9c-20250417";

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.2.0-www-modern-4a36d3ea-20250416";
639+
exports.version = "19.2.0-www-modern-ce578f9c-20250417";

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.2.0-www-classic-4a36d3ea-20250416";
643+
exports.version = "19.2.0-www-classic-ce578f9c-20250417";
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.2.0-www-modern-4a36d3ea-20250416";
643+
exports.version = "19.2.0-www-modern-ce578f9c-20250417";
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
@@ -18558,10 +18558,10 @@ __DEV__ &&
1855818558
(function () {
1855918559
var internals = {
1856018560
bundleType: 1,
18561-
version: "19.2.0-www-classic-4a36d3ea-20250416",
18561+
version: "19.2.0-www-classic-ce578f9c-20250417",
1856218562
rendererPackageName: "react-art",
1856318563
currentDispatcherRef: ReactSharedInternals,
18564-
reconcilerVersion: "19.2.0-www-classic-4a36d3ea-20250416"
18564+
reconcilerVersion: "19.2.0-www-classic-ce578f9c-20250417"
1856518565
};
1856618566
internals.overrideHookState = overrideHookState;
1856718567
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18595,7 +18595,7 @@ __DEV__ &&
1859518595
exports.Shape = Shape;
1859618596
exports.Surface = Surface;
1859718597
exports.Text = Text;
18598-
exports.version = "19.2.0-www-classic-4a36d3ea-20250416";
18598+
exports.version = "19.2.0-www-classic-ce578f9c-20250417";
1859918599
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1860018600
"function" ===
1860118601
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)