Skip to content

Commit 6d81b1f

Browse files
committed
Use content hash for facebook-www builds (#26331)
Currently, any commit to React causes an internal sync since the Git commit hash is part of the build. This creates a lot more sync commits and noise than necessary, see: https://github.com/facebook/react/commits/builds/facebook-www This PR changes the version string to be a hash of the target build files instead. This way we get a new version with any change that actually impacts the generated files and still have a matching version across the files. DiffTrain build for [3cad3a5](3cad3a5)
1 parent a1c7473 commit 6d81b1f

28 files changed

+41
-42
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
88313ffd57a5df2666520c9a528eafdf2914d5f2
1+
3cad3a54eda7b2d1c670c2d414f33d78a4c3f6af

compiled/facebook-www/REVISION_TRANSFORMS

Lines changed: 0 additions & 1 deletion
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
30+
var ReactVersion = "18.3.0-www-classic-96f33629";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
30+
var ReactVersion = "18.3.0-www-modern-2b948334";
3131

3232
// ATTENTION
3333
// When adding new symbols to this file,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,4 +646,4 @@ exports.useSyncExternalStore = function (
646646
);
647647
};
648648
exports.useTransition = useTransition;
649-
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
649+
exports.version = "18.3.0-www-classic-993671e7";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,4 +638,4 @@ exports.useSyncExternalStore = function (
638638
);
639639
};
640640
exports.useTransition = useTransition;
641-
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
641+
exports.version = "18.3.0-www-modern-d633a116";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ exports.useSyncExternalStore = function (
657657
);
658658
};
659659
exports.useTransition = useTransition;
660-
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
660+
exports.version = "18.3.0-www-classic-1306d154";
661661

662662
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
663663
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ exports.useSyncExternalStore = function (
649649
);
650650
};
651651
exports.useTransition = useTransition;
652-
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
652+
exports.version = "18.3.0-www-modern-01657d31";
653653

654654
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
655655
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
72+
var ReactVersion = "18.3.0-www-classic-41d9d61e";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
6969
return self;
7070
}
7171

72-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
72+
var ReactVersion = "18.3.0-www-modern-9e979f3e";
7373

7474
var LegacyRoot = 0;
7575
var ConcurrentRoot = 1;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9783,7 +9783,7 @@ var slice = Array.prototype.slice,
97839783
return null;
97849784
},
97859785
bundleType: 0,
9786-
version: "18.3.0-www-classic-88313ffd5-20230306",
9786+
version: "18.3.0-www-classic-3e74a068",
97879787
rendererPackageName: "react-art"
97889788
};
97899789
var internals$jscomp$inline_1300 = {
@@ -9814,7 +9814,7 @@ var internals$jscomp$inline_1300 = {
98149814
scheduleRoot: null,
98159815
setRefreshHandler: null,
98169816
getCurrentFiber: null,
9817-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
9817+
reconcilerVersion: "18.3.0-www-classic-3e74a068"
98189818
};
98199819
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
98209820
var hook$jscomp$inline_1301 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9448,7 +9448,7 @@ var slice = Array.prototype.slice,
94489448
return null;
94499449
},
94509450
bundleType: 0,
9451-
version: "18.3.0-www-modern-88313ffd5-20230306",
9451+
version: "18.3.0-www-modern-2190fcfa",
94529452
rendererPackageName: "react-art"
94539453
};
94549454
var internals$jscomp$inline_1280 = {
@@ -9479,7 +9479,7 @@ var internals$jscomp$inline_1280 = {
94799479
scheduleRoot: null,
94809480
setRefreshHandler: null,
94819481
getCurrentFiber: null,
9482-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
9482+
reconcilerVersion: "18.3.0-www-modern-2190fcfa"
94839483
};
94849484
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
94859485
var hook$jscomp$inline_1281 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42124,7 +42124,7 @@ function createFiberRoot(
4212442124
return root;
4212542125
}
4212642126

42127-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
42127+
var ReactVersion = "18.3.0-www-classic-2fbfe042";
4212842128

4212942129
function createPortal$1(
4213042130
children,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41728,7 +41728,7 @@ function createFiberRoot(
4172841728
return root;
4172941729
}
4173041730

41731-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
41731+
var ReactVersion = "18.3.0-www-modern-2190fcfa";
4173241732

4173341733
function createPortal$1(
4173441734
children,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15493,7 +15493,7 @@ Internals.Events = [
1549315493
var devToolsConfig$jscomp$inline_1741 = {
1549415494
findFiberByHostInstance: getClosestInstanceFromNode,
1549515495
bundleType: 0,
15496-
version: "18.3.0-www-classic-88313ffd5-20230306",
15496+
version: "18.3.0-www-classic-222453ce",
1549715497
rendererPackageName: "react-dom"
1549815498
};
1549915499
var internals$jscomp$inline_2108 = {
@@ -15523,7 +15523,7 @@ var internals$jscomp$inline_2108 = {
1552315523
scheduleRoot: null,
1552415524
setRefreshHandler: null,
1552515525
getCurrentFiber: null,
15526-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
15526+
reconcilerVersion: "18.3.0-www-classic-222453ce"
1552715527
};
1552815528
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1552915529
var hook$jscomp$inline_2109 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15779,4 +15779,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1577915779
);
1578015780
};
1578115781
exports.unstable_runWithPriority = runWithPriority;
15782-
exports.version = "18.3.0-next-88313ffd5-20230306";
15782+
exports.version = "18.3.0-www-classic-222453ce";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15022,7 +15022,7 @@ Internals.Events = [
1502215022
var devToolsConfig$jscomp$inline_1700 = {
1502315023
findFiberByHostInstance: getClosestInstanceFromNode,
1502415024
bundleType: 0,
15025-
version: "18.3.0-www-modern-88313ffd5-20230306",
15025+
version: "18.3.0-www-modern-62d627d5",
1502615026
rendererPackageName: "react-dom"
1502715027
};
1502815028
var internals$jscomp$inline_2072 = {
@@ -15053,7 +15053,7 @@ var internals$jscomp$inline_2072 = {
1505315053
scheduleRoot: null,
1505415054
setRefreshHandler: null,
1505515055
getCurrentFiber: null,
15056-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
15056+
reconcilerVersion: "18.3.0-www-modern-62d627d5"
1505715057
};
1505815058
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1505915059
var hook$jscomp$inline_2073 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15238,4 +15238,4 @@ exports.unstable_flushControlled = function (fn) {
1523815238
}
1523915239
};
1524015240
exports.unstable_runWithPriority = runWithPriority;
15241-
exports.version = "18.3.0-next-88313ffd5-20230306";
15241+
exports.version = "18.3.0-www-modern-62d627d5";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16270,7 +16270,7 @@ Internals.Events = [
1627016270
var devToolsConfig$jscomp$inline_1821 = {
1627116271
findFiberByHostInstance: getClosestInstanceFromNode,
1627216272
bundleType: 0,
16273-
version: "18.3.0-www-classic-88313ffd5-20230306",
16273+
version: "18.3.0-www-classic-a7b04669",
1627416274
rendererPackageName: "react-dom"
1627516275
};
1627616276
(function (internals) {
@@ -16314,7 +16314,7 @@ var devToolsConfig$jscomp$inline_1821 = {
1631416314
scheduleRoot: null,
1631516315
setRefreshHandler: null,
1631616316
getCurrentFiber: null,
16317-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
16317+
reconcilerVersion: "18.3.0-www-classic-a7b04669"
1631816318
});
1631916319
assign(Internals, {
1632016320
ReactBrowserEventEmitter: {
@@ -16557,7 +16557,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
1655716557
);
1655816558
};
1655916559
exports.unstable_runWithPriority = runWithPriority;
16560-
exports.version = "18.3.0-next-88313ffd5-20230306";
16560+
exports.version = "18.3.0-www-classic-a7b04669";
1656116561

1656216562
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1656316563
if (

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15789,7 +15789,7 @@ Internals.Events = [
1578915789
var devToolsConfig$jscomp$inline_1780 = {
1579015790
findFiberByHostInstance: getClosestInstanceFromNode,
1579115791
bundleType: 0,
15792-
version: "18.3.0-www-modern-88313ffd5-20230306",
15792+
version: "18.3.0-www-modern-24da6f7f",
1579315793
rendererPackageName: "react-dom"
1579415794
};
1579515795
(function (internals) {
@@ -15834,7 +15834,7 @@ var devToolsConfig$jscomp$inline_1780 = {
1583415834
scheduleRoot: null,
1583515835
setRefreshHandler: null,
1583615836
getCurrentFiber: null,
15837-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
15837+
reconcilerVersion: "18.3.0-www-modern-24da6f7f"
1583815838
});
1583915839
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
1584015840
exports.createPortal = function (children, container) {
@@ -16006,7 +16006,7 @@ exports.unstable_flushControlled = function (fn) {
1600616006
}
1600716007
};
1600816008
exports.unstable_runWithPriority = runWithPriority;
16009-
exports.version = "18.3.0-next-88313ffd5-20230306";
16009+
exports.version = "18.3.0-www-modern-24da6f7f";
1601016010

1601116011
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1601216012
if (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
22+
var ReactVersion = "18.3.0-www-classic-2b8f2d2e";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (__DEV__) {
1919
var React = require("react");
2020
var ReactDOM = require("react-dom");
2121

22-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
22+
var ReactVersion = "18.3.0-www-modern-8b9d2476";
2323

2424
// This refers to a WWW module.
2525
var warningWWW = require("warning");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3771,4 +3771,4 @@ exports.renderToString = function (children, options) {
37713771
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
37723772
);
37733773
};
3774-
exports.version = "18.3.0-www-classic-88313ffd5-20230306";
3774+
exports.version = "18.3.0-www-classic-edb46d4a";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3669,4 +3669,4 @@ exports.renderToString = function (children, options) {
36693669
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
36703670
);
36713671
};
3672-
exports.version = "18.3.0-www-modern-88313ffd5-20230306";
3672+
exports.version = "18.3.0-www-modern-49a8a99b";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31253,7 +31253,7 @@ function createFiberRoot(
3125331253
return root;
3125431254
}
3125531255

31256-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
31256+
var ReactVersion = "18.3.0-www-classic-7b506ede";
3125731257

3125831258
function createPortal$1(
3125931259
children,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37744,7 +37744,7 @@ function createFiberRoot(
3774437744
return root;
3774537745
}
3774637746

37747-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
37747+
var ReactVersion = "18.3.0-www-modern-1843fa86";
3774837748

3774937749
function createPortal$1(
3775037750
children,

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11524,7 +11524,7 @@ Internals.Events = [
1152411524
var devToolsConfig$jscomp$inline_1535 = {
1152511525
findFiberByHostInstance: getClosestInstanceFromNode,
1152611526
bundleType: 0,
11527-
version: "18.3.0-www-classic-88313ffd5-20230306",
11527+
version: "18.3.0-www-classic-41d9d61e",
1152811528
rendererPackageName: "react-dom"
1152911529
};
1153011530
var internals$jscomp$inline_2058 = {
@@ -11554,7 +11554,7 @@ var internals$jscomp$inline_2058 = {
1155411554
scheduleRoot: null,
1155511555
setRefreshHandler: null,
1155611556
getCurrentFiber: null,
11557-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
11557+
reconcilerVersion: "18.3.0-www-classic-41d9d61e"
1155811558
};
1155911559
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1156011560
var hook$jscomp$inline_2059 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14785,4 +14785,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
1478514785
);
1478614786
};
1478714787
exports.unstable_runWithPriority = runWithPriority;
14788-
exports.version = "18.3.0-next-88313ffd5-20230306";
14788+
exports.version = "18.3.0-www-classic-41d9d61e";

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13884,7 +13884,7 @@ Internals.Events = [
1388413884
var devToolsConfig$jscomp$inline_1652 = {
1388513885
findFiberByHostInstance: getClosestInstanceFromNode,
1388613886
bundleType: 0,
13887-
version: "18.3.0-www-modern-88313ffd5-20230306",
13887+
version: "18.3.0-www-modern-2b948334",
1388813888
rendererPackageName: "react-dom"
1388913889
};
1389013890
var internals$jscomp$inline_2032 = {
@@ -13915,7 +13915,7 @@ var internals$jscomp$inline_2032 = {
1391513915
scheduleRoot: null,
1391613916
setRefreshHandler: null,
1391713917
getCurrentFiber: null,
13918-
reconcilerVersion: "18.3.0-next-88313ffd5-20230306"
13918+
reconcilerVersion: "18.3.0-www-modern-2b948334"
1391913919
};
1392013920
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1392113921
var hook$jscomp$inline_2033 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14243,4 +14243,4 @@ exports.unstable_flushControlled = function (fn) {
1424314243
}
1424414244
};
1424514245
exports.unstable_runWithPriority = runWithPriority;
14246-
exports.version = "18.3.0-next-88313ffd5-20230306";
14246+
exports.version = "18.3.0-www-modern-2b948334";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23769,7 +23769,7 @@ function createFiberRoot(
2376923769
return root;
2377023770
}
2377123771

23772-
var ReactVersion = "18.3.0-www-classic-88313ffd5-20230306";
23772+
var ReactVersion = "18.3.0-www-classic-9aa67a4b";
2377323773

2377423774
// Might add PROFILE later.
2377523775

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23769,7 +23769,7 @@ function createFiberRoot(
2376923769
return root;
2377023770
}
2377123771

23772-
var ReactVersion = "18.3.0-www-modern-88313ffd5-20230306";
23772+
var ReactVersion = "18.3.0-www-modern-2b948334";
2377323773

2377423774
// Might add PROFILE later.
2377523775

0 commit comments

Comments
 (0)