PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/scripts/vendors/react-jsx-runtime-19.js +17 -3 23.6.0 → 24.1.0 View file →
@@ -52,8 +52,10 @@
52 52 case REACT_SUSPENSE_LIST_TYPE:
53 53 return "SuspenseList";
54 54 case REACT_ACTIVITY_TYPE:
55 55 return "Activity";
56 + case REACT_VIEW_TRANSITION_TYPE:
57 + return "ViewTransition";
56 58 }
57 59 if ("object" === typeof type)
58 60 switch ("number" === typeof type.tag && console.error(
59 61 "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
@@ -243,9 +245,9 @@
243 245 }
244 246 function isValidElement(object) {
245 247 return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
246 248 }
247 - var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
249 + var React = require_react(), REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), REACT_CLIENT_REFERENCE = /* @__PURE__ */ Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
248 250 return null;
249 251 };
250 252 React = {
251 253 react_stack_bottom_frame: function(callStackForError) {
@@ -262,25 +264,37 @@
262 264 var didWarnAboutKeySpread = {};
263 265 exports.Fragment = REACT_FRAGMENT_TYPE;
264 266 exports.jsx = function(type, config, maybeKey) {
265 267 var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
268 + if (trackActualOwner) {
269 + var previousStackTraceLimit = Error.stackTraceLimit;
270 + Error.stackTraceLimit = 10;
271 + var debugStackDEV = Error("react-stack-top-frame");
272 + Error.stackTraceLimit = previousStackTraceLimit;
273 + } else debugStackDEV = unknownOwnerDebugStack;
266 274 return jsxDEVImpl(
267 275 type,
268 276 config,
269 277 maybeKey,
270 278 false,
271 - trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
279 + debugStackDEV,
272 280 trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
273 281 );
274 282 };
275 283 exports.jsxs = function(type, config, maybeKey) {
276 284 var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
285 + if (trackActualOwner) {
286 + var previousStackTraceLimit = Error.stackTraceLimit;
287 + Error.stackTraceLimit = 10;
288 + var debugStackDEV = Error("react-stack-top-frame");
289 + Error.stackTraceLimit = previousStackTraceLimit;
290 + } else debugStackDEV = unknownOwnerDebugStack;
277 291 return jsxDEVImpl(
278 292 type,
279 293 config,
280 294 maybeKey,
281 295 true,
282 - trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
296 + debugStackDEV,
283 297 trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
284 298 );
285 299 };
286 300 })();