Skip to content

Commit dc45676

Browse files
committed
Rename SECRET INTERNALS to __CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE (#28789)
Follow up to #28783 and #28786. Since we've changed the implementations of these we can rename them to something a bit more descriptive while we're at it, since anyone depending on them will need to upgrade their code anyway. "react" with no condition: `__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE` "react" with "react-server" condition: `__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE` "react-dom": `__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE` DiffTrain build for commit f613165.
1 parent 7ea335a commit dc45676

17 files changed

+51
-51
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<adb9aab2e8546b87933aac3aac47e82d>>
10+
* @generated SignedSource<<fdd11cfd0a9f56383a8f5fff2c50fc9e>>
1111
*/
1212

1313
"use strict";
@@ -21,7 +21,7 @@ if (__DEV__) {
2121
var Scheduler$1 = require("scheduler");
2222

2323
var ReactSharedInternals =
24-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
24+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
2525

2626
// by calls to these methods by a Babel plugin.
2727
//
@@ -26590,7 +26590,7 @@ if (__DEV__) {
2659026590
return root;
2659126591
}
2659226592

26593-
var ReactVersion = "19.0.0-canary-8e2720f2";
26593+
var ReactVersion = "19.0.0-canary-27752dcf";
2659426594

2659526595
/*
2659626596
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<87f2bb9cd01d048068daf2853de59b90>>
10+
* @generated SignedSource<<cf5a6e176e0f69c2bc9ded42a2ef0d63>>
1111
*/
1212

1313
"use strict";
@@ -30,7 +30,7 @@ function _createClass(Constructor, protoProps, staticProps) {
3030
}
3131
var assign = Object.assign,
3232
ReactSharedInternals =
33-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
33+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
3434
REACT_ELEMENT_TYPE = Symbol.for("react.element"),
3535
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
3636
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
@@ -9141,7 +9141,7 @@ var devToolsConfig$jscomp$inline_1000 = {
91419141
throw Error("TestRenderer does not support findFiberByHostInstance()");
91429142
},
91439143
bundleType: 0,
9144-
version: "19.0.0-canary-3a10429d",
9144+
version: "19.0.0-canary-13c476bc",
91459145
rendererPackageName: "react-test-renderer"
91469146
};
91479147
var internals$jscomp$inline_1221 = {
@@ -9172,7 +9172,7 @@ var internals$jscomp$inline_1221 = {
91729172
scheduleRoot: null,
91739173
setRefreshHandler: null,
91749174
getCurrentFiber: null,
9175-
reconcilerVersion: "19.0.0-canary-3a10429d"
9175+
reconcilerVersion: "19.0.0-canary-13c476bc"
91769176
};
91779177
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
91789178
var hook$jscomp$inline_1222 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<144679f7b56e93b28582f8c11b73acdb>>
10+
* @generated SignedSource<<ec92ba0d6674d69f102b6b07bcc607e9>>
1111
*/
1212

1313
"use strict";
@@ -30,7 +30,7 @@ function _createClass(Constructor, protoProps, staticProps) {
3030
}
3131
var assign = Object.assign,
3232
ReactSharedInternals =
33-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
33+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
3434
REACT_ELEMENT_TYPE = Symbol.for("react.element"),
3535
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
3636
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
@@ -9757,7 +9757,7 @@ var devToolsConfig$jscomp$inline_1082 = {
97579757
throw Error("TestRenderer does not support findFiberByHostInstance()");
97589758
},
97599759
bundleType: 0,
9760-
version: "19.0.0-canary-3f0332e8",
9760+
version: "19.0.0-canary-09ccb82c",
97619761
rendererPackageName: "react-test-renderer"
97629762
};
97639763
(function (internals) {
@@ -9801,7 +9801,7 @@ var devToolsConfig$jscomp$inline_1082 = {
98019801
scheduleRoot: null,
98029802
setRefreshHandler: null,
98039803
getCurrentFiber: null,
9804-
reconcilerVersion: "19.0.0-canary-3f0332e8"
9804+
reconcilerVersion: "19.0.0-canary-09ccb82c"
98059805
});
98069806
exports._Scheduler = Scheduler;
98079807
exports.act = act;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXDEVRuntime-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<a9007ecc9044c458313f7ebb83810ab6>>
10+
* @generated SignedSource<<6d9fbd7e5536fb8d847f12abfabf7e26>>
1111
*/
1212

1313
"use strict";
@@ -57,7 +57,7 @@ if (__DEV__) {
5757
}
5858

5959
var ReactSharedInternals =
60-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
60+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
6161

6262
function error(format) {
6363
{

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<b379d10e7a911819a4c1157692e442ed>>
10+
* @generated SignedSource<<b0adad8af834c70d2628ac4126f5d774>>
1111
*/
1212

1313
"use strict";
@@ -57,7 +57,7 @@ if (__DEV__) {
5757
}
5858

5959
var ReactSharedInternals =
60-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
60+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
6161

6262
function error(format) {
6363
{

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<6a9bb0dff181629a2d212a3aa8871904>>
10+
* @generated SignedSource<<b4bf34965feaa60392dd96103e5ba9fc>>
1111
*/
1212

1313
"use strict";
@@ -33,7 +33,7 @@ function formatProdErrorMessage(code) {
3333
var disableDefaultPropsExceptForClasses =
3434
dynamicFlagsUntyped.disableDefaultPropsExceptForClasses,
3535
ReactSharedInternals =
36-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3737
function jsxProd(type, config, maybeKey) {
3838
var key = null,
3939
ref = null;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/JSXRuntime-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<6a9bb0dff181629a2d212a3aa8871904>>
10+
* @generated SignedSource<<b4bf34965feaa60392dd96103e5ba9fc>>
1111
*/
1212

1313
"use strict";
@@ -33,7 +33,7 @@ function formatProdErrorMessage(code) {
3333
var disableDefaultPropsExceptForClasses =
3434
dynamicFlagsUntyped.disableDefaultPropsExceptForClasses,
3535
ReactSharedInternals =
36-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3737
function jsxProd(type, config, maybeKey) {
3838
var key = null,
3939
ref = null;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<1ca38f577582e221f06ba8c0f86a202c>>
10+
* @generated SignedSource<<178370112fe2dafc2dbee6f0ef4ab3c2>>
1111
*/
1212

1313
"use strict";
@@ -26,7 +26,7 @@ if (__DEV__) {
2626
}
2727
var dynamicFlagsUntyped = require("ReactNativeInternalFeatureFlags");
2828

29-
var ReactVersion = "19.0.0-canary-700d733d";
29+
var ReactVersion = "19.0.0-canary-70dcf491";
3030

3131
// ATTENTION
3232
// When adding new symbols to this file,
@@ -3789,7 +3789,7 @@ if (__DEV__) {
37893789
exports.PureComponent = PureComponent;
37903790
exports.StrictMode = REACT_STRICT_MODE_TYPE;
37913791
exports.Suspense = REACT_SUSPENSE_TYPE;
3792-
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
3792+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
37933793
ReactSharedInternals;
37943794
exports.act = act;
37953795
exports.cache = cache;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<87e5d01f9dfe9dfb349c364fc2fdafbf>>
10+
* @generated SignedSource<<087f252fe5b0c9dfa8cf8dc95115b992>>
1111
*/
1212

1313
"use strict";
@@ -426,7 +426,7 @@ exports.Profiler = REACT_PROFILER_TYPE;
426426
exports.PureComponent = PureComponent;
427427
exports.StrictMode = REACT_STRICT_MODE_TYPE;
428428
exports.Suspense = REACT_SUSPENSE_TYPE;
429-
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
429+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
430430
ReactSharedInternals;
431431
exports.act = function () {
432432
throw Error("act(...) is not supported in production builds of React.");
@@ -675,4 +675,4 @@ exports.useSyncExternalStore = function (
675675
exports.useTransition = function () {
676676
return ReactSharedInternals.H.useTransition();
677677
};
678-
exports.version = "19.0.0-canary-fb236a46";
678+
exports.version = "19.0.0-canary-d8f6321d";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4a9b3767e8f6d17ecebea9050a477787>>
10+
* @generated SignedSource<<29cc74f6affd7f9736126f6a72ea5315>>
1111
*/
1212

1313
"use strict";
@@ -430,7 +430,7 @@ exports.Profiler = REACT_PROFILER_TYPE;
430430
exports.PureComponent = PureComponent;
431431
exports.StrictMode = REACT_STRICT_MODE_TYPE;
432432
exports.Suspense = REACT_SUSPENSE_TYPE;
433-
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED =
433+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
434434
ReactSharedInternals;
435435
exports.act = function () {
436436
throw Error("act(...) is not supported in production builds of React.");
@@ -679,7 +679,7 @@ exports.useSyncExternalStore = function (
679679
exports.useTransition = function () {
680680
return ReactSharedInternals.H.useTransition();
681681
};
682-
exports.version = "19.0.0-canary-7ccf7b86";
682+
exports.version = "19.0.0-canary-c8b45fd3";
683683
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
684684
"function" ===
685685
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9644d206e8d92d0e31a9252d78933a48c62eb427
1+
f6131653570bbbf62d642ba9343b9cd0ab1ae97c

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f6597e9005c61ca92bee97c0ac29c4ba>>
10+
* @generated SignedSource<<494d27c89fdf2fb47e01cb552bf35a07>>
1111
*/
1212

1313
"use strict";
@@ -31,7 +31,7 @@ if (__DEV__) {
3131
var Scheduler = require("scheduler");
3232

3333
var ReactSharedInternals =
34-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
34+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3535

3636
var suppressWarning = false;
3737
function setSuppressWarning(newSuppressWarning) {
@@ -30237,7 +30237,7 @@ to return true:wantsResponderID| |
3023730237
return root;
3023830238
}
3023930239

30240-
var ReactVersion = "19.0.0-canary-0c451732";
30240+
var ReactVersion = "19.0.0-canary-d3b8f5e2";
3024130241

3024230242
/*
3024330243
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<2aece110942a0616726b0f38c6fd0861>>
10+
* @generated SignedSource<<16efbcb0da2cbd078a40efb1a0552fe8>>
1111
*/
1212

1313
"use strict";
@@ -1292,7 +1292,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
12921292
log$1 = Scheduler.log,
12931293
unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,
12941294
ReactSharedInternals =
1295-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
1295+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
12961296
rendererID = null,
12971297
injectedHook = null;
12981298
function onCommitRoot(root) {
@@ -10572,7 +10572,7 @@ var roots = new Map(),
1057210572
devToolsConfig$jscomp$inline_1099 = {
1057310573
findFiberByHostInstance: getInstanceFromNode,
1057410574
bundleType: 0,
10575-
version: "19.0.0-canary-aab30f5e",
10575+
version: "19.0.0-canary-120922b5",
1057610576
rendererPackageName: "react-native-renderer",
1057710577
rendererConfig: {
1057810578
getInspectorDataForInstance: getInspectorDataForInstance,
@@ -10615,7 +10615,7 @@ var internals$jscomp$inline_1366 = {
1061510615
scheduleRoot: null,
1061610616
setRefreshHandler: null,
1061710617
getCurrentFiber: null,
10618-
reconcilerVersion: "19.0.0-canary-aab30f5e"
10618+
reconcilerVersion: "19.0.0-canary-120922b5"
1061910619
};
1062010620
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1062110621
var hook$jscomp$inline_1367 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<2f6df52d0f4a771089641b8f6aacfd39>>
10+
* @generated SignedSource<<a3c25968a30f5f8cd268a3314ac130fe>>
1111
*/
1212

1313
"use strict";
@@ -1296,7 +1296,7 @@ var alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
12961296
log$1 = Scheduler.log,
12971297
unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,
12981298
ReactSharedInternals =
1299-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
1299+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
13001300
rendererID = null,
13011301
injectedHook = null,
13021302
injectedProfilingHooks = null,
@@ -11277,7 +11277,7 @@ var roots = new Map(),
1127711277
devToolsConfig$jscomp$inline_1179 = {
1127811278
findFiberByHostInstance: getInstanceFromNode,
1127911279
bundleType: 0,
11280-
version: "19.0.0-canary-c33d2f1a",
11280+
version: "19.0.0-canary-7ffb2ad4",
1128111281
rendererPackageName: "react-native-renderer",
1128211282
rendererConfig: {
1128311283
getInspectorDataForInstance: getInspectorDataForInstance,
@@ -11333,7 +11333,7 @@ var roots = new Map(),
1133311333
scheduleRoot: null,
1133411334
setRefreshHandler: null,
1133511335
getCurrentFiber: null,
11336-
reconcilerVersion: "19.0.0-canary-c33d2f1a"
11336+
reconcilerVersion: "19.0.0-canary-7ffb2ad4"
1133711337
});
1133811338
exports.createPortal = function (children, containerTag) {
1133911339
return createPortal$1(

compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<37233a4ad08d9bcf021f585ac680bdb6>>
10+
* @generated SignedSource<<24fee48abc3bddda74443b28d17bbc3e>>
1111
*/
1212

1313
"use strict";
@@ -31,7 +31,7 @@ if (__DEV__) {
3131
var Scheduler = require("scheduler");
3232

3333
var ReactSharedInternals =
34-
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
34+
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
3535

3636
var suppressWarning = false;
3737
function setSuppressWarning(newSuppressWarning) {
@@ -30677,7 +30677,7 @@ to return true:wantsResponderID| |
3067730677
return root;
3067830678
}
3067930679

30680-
var ReactVersion = "19.0.0-canary-94b5e823";
30680+
var ReactVersion = "19.0.0-canary-ae39878d";
3068130681

3068230682
/*
3068330683
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol

0 commit comments

Comments
 (0)