Skip to content

Commit

Permalink
Update Closure Compiler (#26205)
Browse files Browse the repository at this point in the history
I need it for facebook/react#26187.

We need to specify specifically the output mode `ECMASCRIPT5_STRICT` to
remove `const` from the Fizz runtime.

DiffTrain build for commit 80cf4a099e99bbd4ed13e02d30136f669f2868b9.
  • Loading branch information
jerrydev0927 committed Feb 20, 2023
1 parent 9afa0b3 commit 198de44
Show file tree
Hide file tree
Showing 27 changed files with 346 additions and 351 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2cc54b57edec999cf00de949627de2853ef2a1a7
80cf4a099e99bbd4ed13e02d30136f669f2868b9
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION_TRANSFORMS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2cc54b57edec999cf00de949627de2853ef2a1a7
80cf4a099e99bbd4ed13e02d30136f669f2868b9
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-www-classic-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-classic-80cf4a099-20230220";

// ATTENTION
// When adding new symbols to this file,
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-www-modern-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-modern-80cf4a099-20230220";

// ATTENTION
// When adding new symbols to this file,
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,4 +646,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-2cc54b57e-20230220";
exports.version = "18.3.0-www-classic-80cf4a099-20230220";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,4 +638,4 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-2cc54b57e-20230220";
exports.version = "18.3.0-www-modern-80cf4a099-20230220";
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-classic-2cc54b57e-20230220";
exports.version = "18.3.0-www-classic-80cf4a099-20230220";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/React-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ exports.useSyncExternalStore = function (
);
};
exports.useTransition = useTransition;
exports.version = "18.3.0-www-modern-2cc54b57e-20230220";
exports.version = "18.3.0-www-modern-80cf4a099-20230220";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactART-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}

var ReactVersion = "18.3.0-www-classic-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-classic-80cf4a099-20230220";

var LegacyRoot = 0;
var ConcurrentRoot = 1;
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactART-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}

var ReactVersion = "18.3.0-www-modern-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-modern-80cf4a099-20230220";

var LegacyRoot = 0;
var ConcurrentRoot = 1;
Expand Down
4 changes: 2 additions & 2 deletions compiled/facebook-www/ReactART-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -9482,7 +9482,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-modern-2cc54b57e-20230220",
version: "18.3.0-www-modern-80cf4a099-20230220",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1277 = {
Expand Down Expand Up @@ -9513,7 +9513,7 @@ var internals$jscomp$inline_1277 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-2cc54b57e-20230220"
reconcilerVersion: "18.3.0-next-80cf4a099-20230220"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1278 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOM-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -42005,7 +42005,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-classic-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-classic-80cf4a099-20230220";

function createPortal$1(
children,
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOM-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -41609,7 +41609,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-www-modern-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-modern-80cf4a099-20230220";

function createPortal$1(
children,
Expand Down
25 changes: 13 additions & 12 deletions compiled/facebook-www/ReactDOM-prod.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,9 @@ var canUseDOM = !(
"undefined" === typeof window.document.createElement
),
hasOwnProperty = Object.prototype.hasOwnProperty,
VALID_ATTRIBUTE_NAME_REGEX =
/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
),
illegalAttributeNameCache = {},
validatedAttributeNameCache = {};
function isAttributeNameSafe(attributeName) {
Expand Down Expand Up @@ -15481,10 +15482,10 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1731 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-2cc54b57e-20230220",
version: "18.3.0-www-classic-80cf4a099-20230220",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2096 = {
var internals$jscomp$inline_2095 = {
bundleType: devToolsConfig$jscomp$inline_1731.bundleType,
version: devToolsConfig$jscomp$inline_1731.version,
rendererPackageName: devToolsConfig$jscomp$inline_1731.rendererPackageName,
Expand All @@ -15511,19 +15512,19 @@ var internals$jscomp$inline_2096 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-2cc54b57e-20230220"
reconcilerVersion: "18.3.0-next-80cf4a099-20230220"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2097 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2096 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2097.isDisabled &&
hook$jscomp$inline_2097.supportsFiber
!hook$jscomp$inline_2096.isDisabled &&
hook$jscomp$inline_2096.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2097.inject(
internals$jscomp$inline_2096
(rendererID = hook$jscomp$inline_2096.inject(
internals$jscomp$inline_2095
)),
(injectedHook = hook$jscomp$inline_2097);
(injectedHook = hook$jscomp$inline_2096);
} catch (err) {}
}
assign(Internals, {
Expand Down Expand Up @@ -15759,4 +15760,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-2cc54b57e-20230220";
exports.version = "18.3.0-next-80cf4a099-20230220";
25 changes: 13 additions & 12 deletions compiled/facebook-www/ReactDOM-prod.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ var canUseDOM = !(
"undefined" === typeof window.document.createElement
),
hasOwnProperty = Object.prototype.hasOwnProperty,
VALID_ATTRIBUTE_NAME_REGEX =
/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
),
illegalAttributeNameCache = {},
validatedAttributeNameCache = {};
function isAttributeNameSafe(attributeName) {
Expand Down Expand Up @@ -15010,10 +15011,10 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1690 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-2cc54b57e-20230220",
version: "18.3.0-www-modern-80cf4a099-20230220",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2060 = {
var internals$jscomp$inline_2059 = {
bundleType: devToolsConfig$jscomp$inline_1690.bundleType,
version: devToolsConfig$jscomp$inline_1690.version,
rendererPackageName: devToolsConfig$jscomp$inline_1690.rendererPackageName,
Expand Down Expand Up @@ -15041,19 +15042,19 @@ var internals$jscomp$inline_2060 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-2cc54b57e-20230220"
reconcilerVersion: "18.3.0-next-80cf4a099-20230220"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2061 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2060 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2061.isDisabled &&
hook$jscomp$inline_2061.supportsFiber
!hook$jscomp$inline_2060.isDisabled &&
hook$jscomp$inline_2060.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2061.inject(
internals$jscomp$inline_2060
(rendererID = hook$jscomp$inline_2060.inject(
internals$jscomp$inline_2059
)),
(injectedHook = hook$jscomp$inline_2061);
(injectedHook = hook$jscomp$inline_2060);
} catch (err) {}
}
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
Expand Down Expand Up @@ -15225,4 +15226,4 @@ exports.unstable_flushControlled = function (fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-2cc54b57e-20230220";
exports.version = "18.3.0-next-80cf4a099-20230220";
11 changes: 6 additions & 5 deletions compiled/facebook-www/ReactDOM-profiling.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,9 @@ var canUseDOM = !(
"undefined" === typeof window.document.createElement
),
hasOwnProperty = Object.prototype.hasOwnProperty,
VALID_ATTRIBUTE_NAME_REGEX =
/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
),
illegalAttributeNameCache = {},
validatedAttributeNameCache = {};
function isAttributeNameSafe(attributeName) {
Expand Down Expand Up @@ -16251,7 +16252,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1811 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-2cc54b57e-20230220",
version: "18.3.0-www-classic-80cf4a099-20230220",
rendererPackageName: "react-dom"
};
(function (internals) {
Expand Down Expand Up @@ -16295,7 +16296,7 @@ var devToolsConfig$jscomp$inline_1811 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-2cc54b57e-20230220"
reconcilerVersion: "18.3.0-next-80cf4a099-20230220"
});
assign(Internals, {
ReactBrowserEventEmitter: {
Expand Down Expand Up @@ -16530,7 +16531,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-2cc54b57e-20230220";
exports.version = "18.3.0-next-80cf4a099-20230220";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
11 changes: 6 additions & 5 deletions compiled/facebook-www/ReactDOM-profiling.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ var canUseDOM = !(
"undefined" === typeof window.document.createElement
),
hasOwnProperty = Object.prototype.hasOwnProperty,
VALID_ATTRIBUTE_NAME_REGEX =
/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
),
illegalAttributeNameCache = {},
validatedAttributeNameCache = {};
function isAttributeNameSafe(attributeName) {
Expand Down Expand Up @@ -15770,7 +15771,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1770 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-2cc54b57e-20230220",
version: "18.3.0-www-modern-80cf4a099-20230220",
rendererPackageName: "react-dom"
};
(function (internals) {
Expand Down Expand Up @@ -15815,7 +15816,7 @@ var devToolsConfig$jscomp$inline_1770 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-next-2cc54b57e-20230220"
reconcilerVersion: "18.3.0-next-80cf4a099-20230220"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
Expand Down Expand Up @@ -15986,7 +15987,7 @@ exports.unstable_flushControlled = function (fn) {
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-next-2cc54b57e-20230220";
exports.version = "18.3.0-next-80cf4a099-20230220";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-dev.classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");

var ReactVersion = "18.3.0-www-classic-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-classic-80cf4a099-20230220";

// This refers to a WWW module.
var warningWWW = require("warning");
Expand Down
2 changes: 1 addition & 1 deletion compiled/facebook-www/ReactDOMServer-dev.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");

var ReactVersion = "18.3.0-www-modern-2cc54b57e-20230220";
var ReactVersion = "18.3.0-www-modern-80cf4a099-20230220";

// This refers to a WWW module.
var warningWWW = require("warning");
Expand Down
Loading

0 comments on commit 198de44

Please sign in to comment.