Skip to content

Commit ee6a04a

Browse files
committed
[ci] Update node_modules cache path (facebook#32609)
Alternative of facebook#32604. Bust all old caches since I reverted some other changes to the keys. DiffTrain build for [f3c9560](facebook@f3c9560)
1 parent 14818a8 commit ee6a04a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+107268
-19040
lines changed

Diff for: compiled/eslint-plugin-react-hooks/index.js

+74,238
Large diffs are not rendered by default.

Diff for: compiled/facebook-www/JSXDEVRuntime-dev.classic.js

+22-49
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,6 @@
1313
"use strict";
1414
__DEV__ &&
1515
(function () {
16-
function error(format) {
17-
for (
18-
var _len2 = arguments.length,
19-
args = Array(1 < _len2 ? _len2 - 1 : 0),
20-
_key2 = 1;
21-
_key2 < _len2;
22-
_key2++
23-
)
24-
args[_key2 - 1] = arguments[_key2];
25-
if (enableRemoveConsolePatches) {
26-
var _console2;
27-
(_console2 = console).error.apply(_console2, [format].concat(args));
28-
} else
29-
(_len2 = format),
30-
enableRemoveConsolePatches ||
31-
((_key2 =
32-
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE),
33-
null != _key2 &&
34-
_key2.getCurrentStack &&
35-
((_key2 = _key2.getCurrentStack()),
36-
"" !== _key2 && ((_len2 += "%s"), args.push(_key2))),
37-
args.unshift(_len2),
38-
args.unshift(!1),
39-
warningWWW.apply(null, args));
40-
}
4116
function getComponentNameFromType(type) {
4217
if (null == type) return null;
4318
if ("function" === typeof type)
@@ -66,7 +41,7 @@ __DEV__ &&
6641
if ("object" === typeof type)
6742
switch (
6843
("number" === typeof type.tag &&
69-
error(
44+
console.error(
7045
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
7146
),
7247
type.$$typeof)
@@ -115,20 +90,22 @@ __DEV__ &&
11590
} catch (e) {
11691
JSCompiler_inline_result = !0;
11792
}
118-
if (JSCompiler_inline_result)
119-
return (
120-
(JSCompiler_inline_result =
121-
("function" === typeof Symbol &&
122-
Symbol.toStringTag &&
123-
value[Symbol.toStringTag]) ||
124-
value.constructor.name ||
125-
"Object"),
126-
error(
127-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
128-
JSCompiler_inline_result
129-
),
130-
testStringCoercion(value)
93+
if (JSCompiler_inline_result) {
94+
JSCompiler_inline_result = console;
95+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
96+
var JSCompiler_inline_result$jscomp$0 =
97+
("function" === typeof Symbol &&
98+
Symbol.toStringTag &&
99+
value[Symbol.toStringTag]) ||
100+
value.constructor.name ||
101+
"Object";
102+
JSCompiler_temp_const.call(
103+
JSCompiler_inline_result,
104+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105+
JSCompiler_inline_result$jscomp$0
131106
);
107+
return testStringCoercion(value);
108+
}
132109
}
133110
function getTaskName(type) {
134111
if (type === REACT_FRAGMENT_TYPE) return "<>";
@@ -160,7 +137,7 @@ __DEV__ &&
160137
function warnAboutAccessingKey() {
161138
specialPropKeyWarningShown ||
162139
((specialPropKeyWarningShown = !0),
163-
error(
140+
console.error(
164141
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
165142
displayName
166143
));
@@ -175,7 +152,7 @@ __DEV__ &&
175152
var componentName = getComponentNameFromType(this.type);
176153
didWarnAboutElementRef[componentName] ||
177154
((didWarnAboutElementRef[componentName] = !0),
178-
error(
155+
console.error(
179156
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
180157
));
181158
componentName = this.props.ref;
@@ -255,7 +232,7 @@ __DEV__ &&
255232
validateChildKeys(children[isStaticChildren]);
256233
Object.freeze && Object.freeze(children);
257234
} else
258-
error(
235+
console.error(
259236
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
260237
);
261238
else validateChildKeys(children);
@@ -271,7 +248,7 @@ __DEV__ &&
271248
didWarnAboutKeySpread[children + isStaticChildren] ||
272249
((keys =
273250
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
274-
error(
251+
console.error(
275252
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
276253
isStaticChildren,
277254
children,
@@ -347,16 +324,12 @@ __DEV__ &&
347324
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
348325
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
349326
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
350-
enableRemoveConsolePatches =
351-
require("ReactFeatureFlags").enableRemoveConsolePatches,
352-
warningWWW = require("warning"),
353327
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
354328
ReactSharedInternals =
355329
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
356330
hasOwnProperty = Object.prototype.hasOwnProperty,
357-
isArrayImpl = Array.isArray;
358-
new ("function" === typeof WeakMap ? WeakMap : Map)();
359-
var createTask = console.createTask
331+
isArrayImpl = Array.isArray,
332+
createTask = console.createTask
360333
? console.createTask
361334
: function () {
362335
return null;

Diff for: compiled/facebook-www/JSXDEVRuntime-dev.modern.js

+22-49
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,6 @@
1313
"use strict";
1414
__DEV__ &&
1515
(function () {
16-
function error(format) {
17-
for (
18-
var _len2 = arguments.length,
19-
args = Array(1 < _len2 ? _len2 - 1 : 0),
20-
_key2 = 1;
21-
_key2 < _len2;
22-
_key2++
23-
)
24-
args[_key2 - 1] = arguments[_key2];
25-
if (enableRemoveConsolePatches) {
26-
var _console2;
27-
(_console2 = console).error.apply(_console2, [format].concat(args));
28-
} else
29-
(_len2 = format),
30-
enableRemoveConsolePatches ||
31-
((_key2 =
32-
require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE),
33-
null != _key2 &&
34-
_key2.getCurrentStack &&
35-
((_key2 = _key2.getCurrentStack()),
36-
"" !== _key2 && ((_len2 += "%s"), args.push(_key2))),
37-
args.unshift(_len2),
38-
args.unshift(!1),
39-
warningWWW.apply(null, args));
40-
}
4116
function getComponentNameFromType(type) {
4217
if (null == type) return null;
4318
if ("function" === typeof type)
@@ -66,7 +41,7 @@ __DEV__ &&
6641
if ("object" === typeof type)
6742
switch (
6843
("number" === typeof type.tag &&
69-
error(
44+
console.error(
7045
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
7146
),
7247
type.$$typeof)
@@ -115,20 +90,22 @@ __DEV__ &&
11590
} catch (e) {
11691
JSCompiler_inline_result = !0;
11792
}
118-
if (JSCompiler_inline_result)
119-
return (
120-
(JSCompiler_inline_result =
121-
("function" === typeof Symbol &&
122-
Symbol.toStringTag &&
123-
value[Symbol.toStringTag]) ||
124-
value.constructor.name ||
125-
"Object"),
126-
error(
127-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
128-
JSCompiler_inline_result
129-
),
130-
testStringCoercion(value)
93+
if (JSCompiler_inline_result) {
94+
JSCompiler_inline_result = console;
95+
var JSCompiler_temp_const = JSCompiler_inline_result.error;
96+
var JSCompiler_inline_result$jscomp$0 =
97+
("function" === typeof Symbol &&
98+
Symbol.toStringTag &&
99+
value[Symbol.toStringTag]) ||
100+
value.constructor.name ||
101+
"Object";
102+
JSCompiler_temp_const.call(
103+
JSCompiler_inline_result,
104+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105+
JSCompiler_inline_result$jscomp$0
131106
);
107+
return testStringCoercion(value);
108+
}
132109
}
133110
function getTaskName(type) {
134111
if (type === REACT_FRAGMENT_TYPE) return "<>";
@@ -160,7 +137,7 @@ __DEV__ &&
160137
function warnAboutAccessingKey() {
161138
specialPropKeyWarningShown ||
162139
((specialPropKeyWarningShown = !0),
163-
error(
140+
console.error(
164141
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
165142
displayName
166143
));
@@ -175,7 +152,7 @@ __DEV__ &&
175152
var componentName = getComponentNameFromType(this.type);
176153
didWarnAboutElementRef[componentName] ||
177154
((didWarnAboutElementRef[componentName] = !0),
178-
error(
155+
console.error(
179156
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
180157
));
181158
componentName = this.props.ref;
@@ -255,7 +232,7 @@ __DEV__ &&
255232
validateChildKeys(children[isStaticChildren]);
256233
Object.freeze && Object.freeze(children);
257234
} else
258-
error(
235+
console.error(
259236
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
260237
);
261238
else validateChildKeys(children);
@@ -271,7 +248,7 @@ __DEV__ &&
271248
didWarnAboutKeySpread[children + isStaticChildren] ||
272249
((keys =
273250
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
274-
error(
251+
console.error(
275252
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
276253
isStaticChildren,
277254
children,
@@ -347,16 +324,12 @@ __DEV__ &&
347324
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
348325
REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"),
349326
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
350-
enableRemoveConsolePatches =
351-
require("ReactFeatureFlags").enableRemoveConsolePatches,
352-
warningWWW = require("warning"),
353327
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
354328
ReactSharedInternals =
355329
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
356330
hasOwnProperty = Object.prototype.hasOwnProperty,
357-
isArrayImpl = Array.isArray;
358-
new ("function" === typeof WeakMap ? WeakMap : Map)();
359-
var createTask = console.createTask
331+
isArrayImpl = Array.isArray,
332+
createTask = console.createTask
360333
? console.createTask
361334
: function () {
362335
return null;

Diff for: compiled/facebook-www/REVISION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a84862dbdc8dada08a9d1df1c72144cd767704b6
1+
f3c956006a90dc68210bd3e19497d10fb9b028d3

Diff for: compiled/facebook-www/REVISION_TRANSFORMS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a84862dbdc8dada08a9d1df1c72144cd767704b6
1+
f3c956006a90dc68210bd3e19497d10fb9b028d3

0 commit comments

Comments
 (0)