@carbon/upgrade 11.43.0 → 11.44.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +343 -56
- package/package.json +3 -3
package/cli.js
CHANGED
|
@@ -41415,7 +41415,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
41415
41415
|
module.exports = chalk;
|
|
41416
41416
|
}));
|
|
41417
41417
|
//#endregion
|
|
41418
|
-
//#region ../../node_modules
|
|
41418
|
+
//#region ../../node_modules/@jest/get-type/build/index.js
|
|
41419
41419
|
var require_build$6 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41420
41420
|
/*!
|
|
41421
41421
|
* /**
|
|
@@ -41464,7 +41464,287 @@ var require_build$6 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
41464
41464
|
})();
|
|
41465
41465
|
}));
|
|
41466
41466
|
//#endregion
|
|
41467
|
-
//#region ../../node_modules/react-is/cjs/react-is.production.js
|
|
41467
|
+
//#region ../../node_modules/react-is-18/cjs/react-is.production.min.js
|
|
41468
|
+
/**
|
|
41469
|
+
* @license React
|
|
41470
|
+
* react-is.production.min.js
|
|
41471
|
+
*
|
|
41472
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41473
|
+
*
|
|
41474
|
+
* This source code is licensed under the MIT license found in the
|
|
41475
|
+
* LICENSE file in the root directory of this source tree.
|
|
41476
|
+
*/
|
|
41477
|
+
var require_react_is_production_min = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
41478
|
+
var b = Symbol.for("react.element");
|
|
41479
|
+
var c = Symbol.for("react.portal");
|
|
41480
|
+
var d = Symbol.for("react.fragment");
|
|
41481
|
+
var e = Symbol.for("react.strict_mode");
|
|
41482
|
+
var f = Symbol.for("react.profiler");
|
|
41483
|
+
var g = Symbol.for("react.provider");
|
|
41484
|
+
var h = Symbol.for("react.context");
|
|
41485
|
+
var k = Symbol.for("react.server_context");
|
|
41486
|
+
var l = Symbol.for("react.forward_ref");
|
|
41487
|
+
var m = Symbol.for("react.suspense");
|
|
41488
|
+
var n = Symbol.for("react.suspense_list");
|
|
41489
|
+
var p = Symbol.for("react.memo");
|
|
41490
|
+
var q = Symbol.for("react.lazy");
|
|
41491
|
+
var t = Symbol.for("react.offscreen");
|
|
41492
|
+
var u = Symbol.for("react.module.reference");
|
|
41493
|
+
function v(a) {
|
|
41494
|
+
if ("object" === typeof a && null !== a) {
|
|
41495
|
+
var r = a.$$typeof;
|
|
41496
|
+
switch (r) {
|
|
41497
|
+
case b: switch (a = a.type, a) {
|
|
41498
|
+
case d:
|
|
41499
|
+
case f:
|
|
41500
|
+
case e:
|
|
41501
|
+
case m:
|
|
41502
|
+
case n: return a;
|
|
41503
|
+
default: switch (a = a && a.$$typeof, a) {
|
|
41504
|
+
case k:
|
|
41505
|
+
case h:
|
|
41506
|
+
case l:
|
|
41507
|
+
case q:
|
|
41508
|
+
case p:
|
|
41509
|
+
case g: return a;
|
|
41510
|
+
default: return r;
|
|
41511
|
+
}
|
|
41512
|
+
}
|
|
41513
|
+
case c: return r;
|
|
41514
|
+
}
|
|
41515
|
+
}
|
|
41516
|
+
}
|
|
41517
|
+
exports.ContextConsumer = h;
|
|
41518
|
+
exports.ContextProvider = g;
|
|
41519
|
+
exports.Element = b;
|
|
41520
|
+
exports.ForwardRef = l;
|
|
41521
|
+
exports.Fragment = d;
|
|
41522
|
+
exports.Lazy = q;
|
|
41523
|
+
exports.Memo = p;
|
|
41524
|
+
exports.Portal = c;
|
|
41525
|
+
exports.Profiler = f;
|
|
41526
|
+
exports.StrictMode = e;
|
|
41527
|
+
exports.Suspense = m;
|
|
41528
|
+
exports.SuspenseList = n;
|
|
41529
|
+
exports.isAsyncMode = function() {
|
|
41530
|
+
return !1;
|
|
41531
|
+
};
|
|
41532
|
+
exports.isConcurrentMode = function() {
|
|
41533
|
+
return !1;
|
|
41534
|
+
};
|
|
41535
|
+
exports.isContextConsumer = function(a) {
|
|
41536
|
+
return v(a) === h;
|
|
41537
|
+
};
|
|
41538
|
+
exports.isContextProvider = function(a) {
|
|
41539
|
+
return v(a) === g;
|
|
41540
|
+
};
|
|
41541
|
+
exports.isElement = function(a) {
|
|
41542
|
+
return "object" === typeof a && null !== a && a.$$typeof === b;
|
|
41543
|
+
};
|
|
41544
|
+
exports.isForwardRef = function(a) {
|
|
41545
|
+
return v(a) === l;
|
|
41546
|
+
};
|
|
41547
|
+
exports.isFragment = function(a) {
|
|
41548
|
+
return v(a) === d;
|
|
41549
|
+
};
|
|
41550
|
+
exports.isLazy = function(a) {
|
|
41551
|
+
return v(a) === q;
|
|
41552
|
+
};
|
|
41553
|
+
exports.isMemo = function(a) {
|
|
41554
|
+
return v(a) === p;
|
|
41555
|
+
};
|
|
41556
|
+
exports.isPortal = function(a) {
|
|
41557
|
+
return v(a) === c;
|
|
41558
|
+
};
|
|
41559
|
+
exports.isProfiler = function(a) {
|
|
41560
|
+
return v(a) === f;
|
|
41561
|
+
};
|
|
41562
|
+
exports.isStrictMode = function(a) {
|
|
41563
|
+
return v(a) === e;
|
|
41564
|
+
};
|
|
41565
|
+
exports.isSuspense = function(a) {
|
|
41566
|
+
return v(a) === m;
|
|
41567
|
+
};
|
|
41568
|
+
exports.isSuspenseList = function(a) {
|
|
41569
|
+
return v(a) === n;
|
|
41570
|
+
};
|
|
41571
|
+
exports.isValidElementType = function(a) {
|
|
41572
|
+
return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
41573
|
+
};
|
|
41574
|
+
exports.typeOf = v;
|
|
41575
|
+
}));
|
|
41576
|
+
//#endregion
|
|
41577
|
+
//#region ../../node_modules/react-is-18/cjs/react-is.development.js
|
|
41578
|
+
/**
|
|
41579
|
+
* @license React
|
|
41580
|
+
* react-is.development.js
|
|
41581
|
+
*
|
|
41582
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41583
|
+
*
|
|
41584
|
+
* This source code is licensed under the MIT license found in the
|
|
41585
|
+
* LICENSE file in the root directory of this source tree.
|
|
41586
|
+
*/
|
|
41587
|
+
var require_react_is_development$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
41588
|
+
if (process.env.NODE_ENV !== "production") (function() {
|
|
41589
|
+
"use strict";
|
|
41590
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.element");
|
|
41591
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
41592
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
41593
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
41594
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
41595
|
+
var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
|
|
41596
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
41597
|
+
var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
|
|
41598
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
41599
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
41600
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
|
|
41601
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
41602
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
41603
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
|
|
41604
|
+
var enableScopeAPI = false;
|
|
41605
|
+
var enableCacheElement = false;
|
|
41606
|
+
var enableTransitionTracing = false;
|
|
41607
|
+
var enableLegacyHidden = false;
|
|
41608
|
+
var enableDebugTracing = false;
|
|
41609
|
+
var REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
41610
|
+
function isValidElementType(type) {
|
|
41611
|
+
if (typeof type === "string" || typeof type === "function") return true;
|
|
41612
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) return true;
|
|
41613
|
+
if (typeof type === "object" && type !== null) {
|
|
41614
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== void 0) return true;
|
|
41615
|
+
}
|
|
41616
|
+
return false;
|
|
41617
|
+
}
|
|
41618
|
+
function typeOf(object) {
|
|
41619
|
+
if (typeof object === "object" && object !== null) {
|
|
41620
|
+
var $$typeof = object.$$typeof;
|
|
41621
|
+
switch ($$typeof) {
|
|
41622
|
+
case REACT_ELEMENT_TYPE:
|
|
41623
|
+
var type = object.type;
|
|
41624
|
+
switch (type) {
|
|
41625
|
+
case REACT_FRAGMENT_TYPE:
|
|
41626
|
+
case REACT_PROFILER_TYPE:
|
|
41627
|
+
case REACT_STRICT_MODE_TYPE:
|
|
41628
|
+
case REACT_SUSPENSE_TYPE:
|
|
41629
|
+
case REACT_SUSPENSE_LIST_TYPE: return type;
|
|
41630
|
+
default:
|
|
41631
|
+
var $$typeofType = type && type.$$typeof;
|
|
41632
|
+
switch ($$typeofType) {
|
|
41633
|
+
case REACT_SERVER_CONTEXT_TYPE:
|
|
41634
|
+
case REACT_CONTEXT_TYPE:
|
|
41635
|
+
case REACT_FORWARD_REF_TYPE:
|
|
41636
|
+
case REACT_LAZY_TYPE:
|
|
41637
|
+
case REACT_MEMO_TYPE:
|
|
41638
|
+
case REACT_PROVIDER_TYPE: return $$typeofType;
|
|
41639
|
+
default: return $$typeof;
|
|
41640
|
+
}
|
|
41641
|
+
}
|
|
41642
|
+
case REACT_PORTAL_TYPE: return $$typeof;
|
|
41643
|
+
}
|
|
41644
|
+
}
|
|
41645
|
+
}
|
|
41646
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
41647
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
41648
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
41649
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
41650
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
41651
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
41652
|
+
var Memo = REACT_MEMO_TYPE;
|
|
41653
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
41654
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
41655
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
41656
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
41657
|
+
var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
41658
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
41659
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false;
|
|
41660
|
+
function isAsyncMode(object) {
|
|
41661
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
41662
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
41663
|
+
console["warn"]("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.");
|
|
41664
|
+
}
|
|
41665
|
+
return false;
|
|
41666
|
+
}
|
|
41667
|
+
function isConcurrentMode(object) {
|
|
41668
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
41669
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true;
|
|
41670
|
+
console["warn"]("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.");
|
|
41671
|
+
}
|
|
41672
|
+
return false;
|
|
41673
|
+
}
|
|
41674
|
+
function isContextConsumer(object) {
|
|
41675
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
41676
|
+
}
|
|
41677
|
+
function isContextProvider(object) {
|
|
41678
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
41679
|
+
}
|
|
41680
|
+
function isElement(object) {
|
|
41681
|
+
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
41682
|
+
}
|
|
41683
|
+
function isForwardRef(object) {
|
|
41684
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
41685
|
+
}
|
|
41686
|
+
function isFragment(object) {
|
|
41687
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
41688
|
+
}
|
|
41689
|
+
function isLazy(object) {
|
|
41690
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
41691
|
+
}
|
|
41692
|
+
function isMemo(object) {
|
|
41693
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
41694
|
+
}
|
|
41695
|
+
function isPortal(object) {
|
|
41696
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
41697
|
+
}
|
|
41698
|
+
function isProfiler(object) {
|
|
41699
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
41700
|
+
}
|
|
41701
|
+
function isStrictMode(object) {
|
|
41702
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
41703
|
+
}
|
|
41704
|
+
function isSuspense(object) {
|
|
41705
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
41706
|
+
}
|
|
41707
|
+
function isSuspenseList(object) {
|
|
41708
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
41709
|
+
}
|
|
41710
|
+
exports.ContextConsumer = ContextConsumer;
|
|
41711
|
+
exports.ContextProvider = ContextProvider;
|
|
41712
|
+
exports.Element = Element;
|
|
41713
|
+
exports.ForwardRef = ForwardRef;
|
|
41714
|
+
exports.Fragment = Fragment;
|
|
41715
|
+
exports.Lazy = Lazy;
|
|
41716
|
+
exports.Memo = Memo;
|
|
41717
|
+
exports.Portal = Portal;
|
|
41718
|
+
exports.Profiler = Profiler;
|
|
41719
|
+
exports.StrictMode = StrictMode;
|
|
41720
|
+
exports.Suspense = Suspense;
|
|
41721
|
+
exports.SuspenseList = SuspenseList;
|
|
41722
|
+
exports.isAsyncMode = isAsyncMode;
|
|
41723
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
41724
|
+
exports.isContextConsumer = isContextConsumer;
|
|
41725
|
+
exports.isContextProvider = isContextProvider;
|
|
41726
|
+
exports.isElement = isElement;
|
|
41727
|
+
exports.isForwardRef = isForwardRef;
|
|
41728
|
+
exports.isFragment = isFragment;
|
|
41729
|
+
exports.isLazy = isLazy;
|
|
41730
|
+
exports.isMemo = isMemo;
|
|
41731
|
+
exports.isPortal = isPortal;
|
|
41732
|
+
exports.isProfiler = isProfiler;
|
|
41733
|
+
exports.isStrictMode = isStrictMode;
|
|
41734
|
+
exports.isSuspense = isSuspense;
|
|
41735
|
+
exports.isSuspenseList = isSuspenseList;
|
|
41736
|
+
exports.isValidElementType = isValidElementType;
|
|
41737
|
+
exports.typeOf = typeOf;
|
|
41738
|
+
})();
|
|
41739
|
+
}));
|
|
41740
|
+
//#endregion
|
|
41741
|
+
//#region ../../node_modules/react-is-18/index.js
|
|
41742
|
+
var require_react_is_18 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41743
|
+
if (process.env.NODE_ENV === "production") module.exports = require_react_is_production_min();
|
|
41744
|
+
else module.exports = require_react_is_development$1();
|
|
41745
|
+
}));
|
|
41746
|
+
//#endregion
|
|
41747
|
+
//#region ../../node_modules/react-is-19/cjs/react-is.production.js
|
|
41468
41748
|
/**
|
|
41469
41749
|
* @license React
|
|
41470
41750
|
* react-is.production.js
|
|
@@ -41567,7 +41847,7 @@ var require_react_is_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41567
41847
|
exports.typeOf = typeOf;
|
|
41568
41848
|
}));
|
|
41569
41849
|
//#endregion
|
|
41570
|
-
//#region ../../node_modules/react-is/cjs/react-is.development.js
|
|
41850
|
+
//#region ../../node_modules/react-is-19/cjs/react-is.development.js
|
|
41571
41851
|
/**
|
|
41572
41852
|
* @license React
|
|
41573
41853
|
* react-is.development.js
|
|
@@ -41659,13 +41939,13 @@ var require_react_is_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
41659
41939
|
})();
|
|
41660
41940
|
}));
|
|
41661
41941
|
//#endregion
|
|
41662
|
-
//#region ../../node_modules/react-is/index.js
|
|
41663
|
-
var
|
|
41942
|
+
//#region ../../node_modules/react-is-19/index.js
|
|
41943
|
+
var require_react_is_19 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41664
41944
|
if (process.env.NODE_ENV === "production") module.exports = require_react_is_production();
|
|
41665
41945
|
else module.exports = require_react_is_development();
|
|
41666
41946
|
}));
|
|
41667
41947
|
//#endregion
|
|
41668
|
-
//#region ../../node_modules/
|
|
41948
|
+
//#region ../../node_modules/pretty-format/node_modules/ansi-styles/index.js
|
|
41669
41949
|
var require_ansi_styles$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41670
41950
|
const ANSI_BACKGROUND_OFFSET = 10;
|
|
41671
41951
|
const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
|
|
@@ -41793,7 +42073,7 @@ var require_ansi_styles$1 = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
41793
42073
|
});
|
|
41794
42074
|
}));
|
|
41795
42075
|
//#endregion
|
|
41796
|
-
//#region ../../node_modules/
|
|
42076
|
+
//#region ../../node_modules/pretty-format/build/index.js
|
|
41797
42077
|
var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
41798
42078
|
/*!
|
|
41799
42079
|
* /**
|
|
@@ -41806,7 +42086,7 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
41806
42086
|
(() => {
|
|
41807
42087
|
"use strict";
|
|
41808
42088
|
var __webpack_modules__ = {
|
|
41809
|
-
"./src/collections.ts"
|
|
42089
|
+
"./src/collections.ts"(__unused_webpack_module, exports$11) {
|
|
41810
42090
|
Object.defineProperty(exports$11, "__esModule", { value: true });
|
|
41811
42091
|
exports$11.printIteratorEntries = printIteratorEntries;
|
|
41812
42092
|
exports$11.printIteratorValues = printIteratorValues;
|
|
@@ -41933,8 +42213,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
41933
42213
|
}
|
|
41934
42214
|
return result;
|
|
41935
42215
|
}
|
|
41936
|
-
}
|
|
41937
|
-
"./src/plugins/AsymmetricMatcher.ts"
|
|
42216
|
+
},
|
|
42217
|
+
"./src/plugins/AsymmetricMatcher.ts"(__unused_webpack_module, exports$12, __webpack_require__) {
|
|
41938
42218
|
Object.defineProperty(exports$12, "__esModule", { value: true });
|
|
41939
42219
|
exports$12.test = exports$12.serialize = exports$12["default"] = void 0;
|
|
41940
42220
|
var _collections = __webpack_require__("./src/collections.ts");
|
|
@@ -41973,8 +42253,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
41973
42253
|
serialize,
|
|
41974
42254
|
test
|
|
41975
42255
|
};
|
|
41976
|
-
}
|
|
41977
|
-
"./src/plugins/DOMCollection.ts"
|
|
42256
|
+
},
|
|
42257
|
+
"./src/plugins/DOMCollection.ts"(__unused_webpack_module, exports$13, __webpack_require__) {
|
|
41978
42258
|
Object.defineProperty(exports$13, "__esModule", { value: true });
|
|
41979
42259
|
exports$13.test = exports$13.serialize = exports$13["default"] = void 0;
|
|
41980
42260
|
var _collections = __webpack_require__("./src/collections.ts");
|
|
@@ -42004,8 +42284,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42004
42284
|
serialize,
|
|
42005
42285
|
test
|
|
42006
42286
|
};
|
|
42007
|
-
}
|
|
42008
|
-
"./src/plugins/DOMElement.ts"
|
|
42287
|
+
},
|
|
42288
|
+
"./src/plugins/DOMElement.ts"(__unused_webpack_module, exports$14, __webpack_require__) {
|
|
42009
42289
|
Object.defineProperty(exports$14, "__esModule", { value: true });
|
|
42010
42290
|
exports$14.test = exports$14.serialize = exports$14["default"] = void 0;
|
|
42011
42291
|
var _markup = __webpack_require__("./src/plugins/lib/markup.ts");
|
|
@@ -42065,8 +42345,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42065
42345
|
serialize,
|
|
42066
42346
|
test
|
|
42067
42347
|
};
|
|
42068
|
-
}
|
|
42069
|
-
"./src/plugins/Immutable.ts"
|
|
42348
|
+
},
|
|
42349
|
+
"./src/plugins/Immutable.ts"(__unused_webpack_module, exports$15, __webpack_require__) {
|
|
42070
42350
|
Object.defineProperty(exports$15, "__esModule", { value: true });
|
|
42071
42351
|
exports$15.test = exports$15.serialize = exports$15["default"] = void 0;
|
|
42072
42352
|
var _collections = __webpack_require__("./src/collections.ts");
|
|
@@ -42132,11 +42412,12 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42132
42412
|
serialize,
|
|
42133
42413
|
test
|
|
42134
42414
|
};
|
|
42135
|
-
}
|
|
42136
|
-
"./src/plugins/ReactElement.ts"
|
|
42415
|
+
},
|
|
42416
|
+
"./src/plugins/ReactElement.ts"(__unused_webpack_module, exports$16, __webpack_require__) {
|
|
42137
42417
|
Object.defineProperty(exports$16, "__esModule", { value: true });
|
|
42138
42418
|
exports$16.test = exports$16.serialize = exports$16["default"] = void 0;
|
|
42139
|
-
var
|
|
42419
|
+
var ReactIs18 = _interopRequireWildcard(require_react_is_18());
|
|
42420
|
+
var ReactIs19 = _interopRequireWildcard(require_react_is_19());
|
|
42140
42421
|
var _markup = __webpack_require__("./src/plugins/lib/markup.ts");
|
|
42141
42422
|
function _interopRequireWildcard(e, t) {
|
|
42142
42423
|
if ("function" == typeof WeakMap) var r = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
@@ -42161,6 +42442,13 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42161
42442
|
* This source code is licensed under the MIT license found in the
|
|
42162
42443
|
* LICENSE file in the root directory of this source tree.
|
|
42163
42444
|
*/
|
|
42445
|
+
const isElement = (val) => ReactIs18.isElement(val) || ReactIs19.isElement(val);
|
|
42446
|
+
const isFragment = (val) => ReactIs18.isFragment(val) || ReactIs19.isFragment(val);
|
|
42447
|
+
const isSuspense = (val) => ReactIs18.isSuspense(val) || ReactIs19.isSuspense(val);
|
|
42448
|
+
const isContextProvider = (val) => ReactIs18.isContextProvider(val) || ReactIs19.isContextProvider(val);
|
|
42449
|
+
const isContextConsumer = (val) => ReactIs18.isContextConsumer(val) || ReactIs19.isContextConsumer(val);
|
|
42450
|
+
const isForwardRef = (val) => ReactIs18.isForwardRef(val) || ReactIs19.isForwardRef(val);
|
|
42451
|
+
const isMemo = (val) => ReactIs18.isMemo(val) || ReactIs19.isMemo(val);
|
|
42164
42452
|
const getChildren = (arg, children = []) => {
|
|
42165
42453
|
if (Array.isArray(arg)) for (const item of arg) getChildren(item, children);
|
|
42166
42454
|
else if (arg != null && arg !== false && arg !== "") children.push(arg);
|
|
@@ -42170,17 +42458,17 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42170
42458
|
const type = element.type;
|
|
42171
42459
|
if (typeof type === "string") return type;
|
|
42172
42460
|
if (typeof type === "function") return type.displayName || type.name || "Unknown";
|
|
42173
|
-
if (
|
|
42174
|
-
if (
|
|
42461
|
+
if (isFragment(element)) return "React.Fragment";
|
|
42462
|
+
if (isSuspense(element)) return "React.Suspense";
|
|
42175
42463
|
if (typeof type === "object" && type !== null) {
|
|
42176
|
-
if (
|
|
42177
|
-
if (
|
|
42178
|
-
if (
|
|
42464
|
+
if (isContextProvider(element)) return "Context.Provider";
|
|
42465
|
+
if (isContextConsumer(element)) return "Context.Consumer";
|
|
42466
|
+
if (isForwardRef(element)) {
|
|
42179
42467
|
if (type.displayName) return type.displayName;
|
|
42180
42468
|
const functionName = type.render.displayName || type.render.name || "";
|
|
42181
42469
|
return functionName === "" ? "ForwardRef" : `ForwardRef(${functionName})`;
|
|
42182
42470
|
}
|
|
42183
|
-
if (
|
|
42471
|
+
if (isMemo(element)) {
|
|
42184
42472
|
const functionName = type.displayName || type.type.displayName || type.type.name || "";
|
|
42185
42473
|
return functionName === "" ? "Memo" : `Memo(${functionName})`;
|
|
42186
42474
|
}
|
|
@@ -42193,14 +42481,14 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42193
42481
|
};
|
|
42194
42482
|
const serialize = (element, config, indentation, depth, refs, printer) => ++depth > config.maxDepth ? (0, _markup.printElementAsLeaf)(getType(element), config) : (0, _markup.printElement)(getType(element), (0, _markup.printProps)(getPropKeys(element), element.props, config, indentation + config.indent, depth, refs, printer), (0, _markup.printChildren)(getChildren(element.props.children), config, indentation + config.indent, depth, refs, printer), config, indentation);
|
|
42195
42483
|
exports$16.serialize = serialize;
|
|
42196
|
-
const test = (val) => val != null &&
|
|
42484
|
+
const test = (val) => val != null && isElement(val);
|
|
42197
42485
|
exports$16.test = test;
|
|
42198
42486
|
exports$16["default"] = {
|
|
42199
42487
|
serialize,
|
|
42200
42488
|
test
|
|
42201
42489
|
};
|
|
42202
|
-
}
|
|
42203
|
-
"./src/plugins/ReactTestComponent.ts"
|
|
42490
|
+
},
|
|
42491
|
+
"./src/plugins/ReactTestComponent.ts"(__unused_webpack_module, exports$17, __webpack_require__) {
|
|
42204
42492
|
Object.defineProperty(exports$17, "__esModule", { value: true });
|
|
42205
42493
|
exports$17.test = exports$17.serialize = exports$17["default"] = void 0;
|
|
42206
42494
|
var _markup = __webpack_require__("./src/plugins/lib/markup.ts");
|
|
@@ -42224,8 +42512,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42224
42512
|
serialize,
|
|
42225
42513
|
test
|
|
42226
42514
|
};
|
|
42227
|
-
}
|
|
42228
|
-
"./src/plugins/lib/escapeHTML.ts"
|
|
42515
|
+
},
|
|
42516
|
+
"./src/plugins/lib/escapeHTML.ts"(__unused_webpack_module, exports$18) {
|
|
42229
42517
|
Object.defineProperty(exports$18, "__esModule", { value: true });
|
|
42230
42518
|
exports$18["default"] = escapeHTML;
|
|
42231
42519
|
/**
|
|
@@ -42237,8 +42525,8 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42237
42525
|
function escapeHTML(str) {
|
|
42238
42526
|
return str.replaceAll("<", "<").replaceAll(">", ">");
|
|
42239
42527
|
}
|
|
42240
|
-
}
|
|
42241
|
-
"./src/plugins/lib/markup.ts"
|
|
42528
|
+
},
|
|
42529
|
+
"./src/plugins/lib/markup.ts"(__unused_webpack_module, exports$19, __webpack_require__) {
|
|
42242
42530
|
Object.defineProperty(exports$19, "__esModule", { value: true });
|
|
42243
42531
|
exports$19.printText = exports$19.printProps = exports$19.printElementAsLeaf = exports$19.printElement = exports$19.printComment = exports$19.printChildren = void 0;
|
|
42244
42532
|
var _escapeHTML = _interopRequireDefault(__webpack_require__("./src/plugins/lib/escapeHTML.ts"));
|
|
@@ -42287,7 +42575,7 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42287
42575
|
return `${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`;
|
|
42288
42576
|
};
|
|
42289
42577
|
exports$19.printElementAsLeaf = printElementAsLeaf;
|
|
42290
|
-
}
|
|
42578
|
+
}
|
|
42291
42579
|
};
|
|
42292
42580
|
var __webpack_module_cache__ = {};
|
|
42293
42581
|
function __webpack_require__(moduleId) {
|
|
@@ -42393,13 +42681,12 @@ var require_build$5 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42393
42681
|
return null;
|
|
42394
42682
|
}
|
|
42395
42683
|
/**
|
|
42396
|
-
* Handles more complex objects (
|
|
42397
|
-
* maps and sets etc
|
|
42684
|
+
* Handles more complex objects (such as objects with circular references,
|
|
42685
|
+
* maps and sets etc.)
|
|
42398
42686
|
*/
|
|
42399
42687
|
function printComplexValue(val, config, indentation, depth, refs, hasCalledToJSON) {
|
|
42400
42688
|
if (refs.includes(val)) return "[Circular]";
|
|
42401
|
-
refs = [...refs];
|
|
42402
|
-
refs.push(val);
|
|
42689
|
+
refs = [...refs, val];
|
|
42403
42690
|
const hitMaxDepth = ++depth > config.maxDepth;
|
|
42404
42691
|
const min = config.min;
|
|
42405
42692
|
if (config.callToJSON && !hitMaxDepth && val.toJSON && typeof val.toJSON === "function" && !hasCalledToJSON) return printer(val.toJSON(), config, indentation, depth, refs, true);
|
|
@@ -42557,7 +42844,7 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42557
42844
|
(() => {
|
|
42558
42845
|
"use strict";
|
|
42559
42846
|
var __webpack_modules__ = {
|
|
42560
|
-
"./src/cleanupSemantic.ts"
|
|
42847
|
+
"./src/cleanupSemantic.ts"(__unused_webpack_module, exports$1) {
|
|
42561
42848
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
42562
42849
|
exports$1.cleanupSemantic = exports$1.Diff = exports$1.DIFF_INSERT = exports$1.DIFF_EQUAL = exports$1.DIFF_DELETE = void 0;
|
|
42563
42850
|
/**
|
|
@@ -42932,14 +43219,14 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
42932
43219
|
}
|
|
42933
43220
|
if (changes) diff_cleanupMerge(diffs);
|
|
42934
43221
|
};
|
|
42935
|
-
}
|
|
42936
|
-
"./src/constants.ts"
|
|
43222
|
+
},
|
|
43223
|
+
"./src/constants.ts"(__unused_webpack_module, exports$2) {
|
|
42937
43224
|
Object.defineProperty(exports$2, "__esModule", { value: true });
|
|
42938
43225
|
exports$2.SIMILAR_MESSAGE = exports$2.NO_DIFF_MESSAGE = void 0;
|
|
42939
43226
|
exports$2.NO_DIFF_MESSAGE = "Compared values have no visual difference.";
|
|
42940
43227
|
exports$2.SIMILAR_MESSAGE = "Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";
|
|
42941
|
-
}
|
|
42942
|
-
"./src/diffLines.ts"
|
|
43228
|
+
},
|
|
43229
|
+
"./src/diffLines.ts"(__unused_webpack_module, exports$3, __webpack_require__) {
|
|
42943
43230
|
Object.defineProperty(exports$3, "__esModule", { value: true });
|
|
42944
43231
|
exports$3.printDiffLines = exports$3.diffLinesUnified2 = exports$3.diffLinesUnified = exports$3.diffLinesRaw = void 0;
|
|
42945
43232
|
var _diffSequences = _interopRequireDefault(require_build$7());
|
|
@@ -43045,8 +43332,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43045
43332
|
return diffs;
|
|
43046
43333
|
};
|
|
43047
43334
|
exports$3.diffLinesRaw = diffLinesRaw;
|
|
43048
|
-
}
|
|
43049
|
-
"./src/diffStrings.ts"
|
|
43335
|
+
},
|
|
43336
|
+
"./src/diffStrings.ts"(__unused_webpack_module, exports$4, __webpack_require__) {
|
|
43050
43337
|
Object.defineProperty(exports$4, "__esModule", { value: true });
|
|
43051
43338
|
exports$4["default"] = void 0;
|
|
43052
43339
|
var _diffSequences = _interopRequireDefault(require_build$7());
|
|
@@ -43078,8 +43365,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43078
43365
|
return diffs;
|
|
43079
43366
|
};
|
|
43080
43367
|
exports$4["default"] = diffStrings;
|
|
43081
|
-
}
|
|
43082
|
-
"./src/escapeControlCharacters.ts"
|
|
43368
|
+
},
|
|
43369
|
+
"./src/escapeControlCharacters.ts"(__unused_webpack_module, exports$5) {
|
|
43083
43370
|
Object.defineProperty(exports$5, "__esModule", { value: true });
|
|
43084
43371
|
exports$5.escapeControlCharacters = void 0;
|
|
43085
43372
|
/**
|
|
@@ -43097,8 +43384,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43097
43384
|
}
|
|
43098
43385
|
});
|
|
43099
43386
|
exports$5.escapeControlCharacters = escapeControlCharacters;
|
|
43100
|
-
}
|
|
43101
|
-
"./src/getAlignedDiffs.ts"
|
|
43387
|
+
},
|
|
43388
|
+
"./src/getAlignedDiffs.ts"(__unused_webpack_module, exports$6, __webpack_require__) {
|
|
43102
43389
|
Object.defineProperty(exports$6, "__esModule", { value: true });
|
|
43103
43390
|
exports$6["default"] = void 0;
|
|
43104
43391
|
var _cleanupSemantic = __webpack_require__("./src/cleanupSemantic.ts");
|
|
@@ -43211,8 +43498,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43211
43498
|
return commonBuffer.getLines();
|
|
43212
43499
|
};
|
|
43213
43500
|
exports$6["default"] = getAlignedDiffs;
|
|
43214
|
-
}
|
|
43215
|
-
"./src/joinAlignedDiffs.ts"
|
|
43501
|
+
},
|
|
43502
|
+
"./src/joinAlignedDiffs.ts"(__unused_webpack_module, exports$7, __webpack_require__) {
|
|
43216
43503
|
Object.defineProperty(exports$7, "__esModule", { value: true });
|
|
43217
43504
|
exports$7.joinAlignedDiffsNoExpand = exports$7.joinAlignedDiffsExpand = void 0;
|
|
43218
43505
|
var _cleanupSemantic = __webpack_require__("./src/cleanupSemantic.ts");
|
|
@@ -43341,8 +43628,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43341
43628
|
}
|
|
43342
43629
|
}).join("\n");
|
|
43343
43630
|
exports$7.joinAlignedDiffsExpand = joinAlignedDiffsExpand;
|
|
43344
|
-
}
|
|
43345
|
-
"./src/normalizeDiffOptions.ts"
|
|
43631
|
+
},
|
|
43632
|
+
"./src/normalizeDiffOptions.ts"(__unused_webpack_module, exports$8) {
|
|
43346
43633
|
Object.defineProperty(exports$8, "__esModule", { value: true });
|
|
43347
43634
|
exports$8.normalizeDiffOptions = exports$8.noColor = void 0;
|
|
43348
43635
|
var _chalk = _interopRequireDefault(require_source());
|
|
@@ -43387,8 +43674,8 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43387
43674
|
contextLines: getContextLines(options.contextLines)
|
|
43388
43675
|
});
|
|
43389
43676
|
exports$8.normalizeDiffOptions = normalizeDiffOptions;
|
|
43390
|
-
}
|
|
43391
|
-
"./src/printDiffs.ts"
|
|
43677
|
+
},
|
|
43678
|
+
"./src/printDiffs.ts"(__unused_webpack_module, exports$9, __webpack_require__) {
|
|
43392
43679
|
Object.defineProperty(exports$9, "__esModule", { value: true });
|
|
43393
43680
|
exports$9.diffStringsUnified = exports$9.diffStringsRaw = void 0;
|
|
43394
43681
|
var _cleanupSemantic = __webpack_require__("./src/cleanupSemantic.ts");
|
|
@@ -43431,7 +43718,7 @@ var require_build$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
43431
43718
|
return diffs;
|
|
43432
43719
|
};
|
|
43433
43720
|
exports$9.diffStringsRaw = diffStringsRaw;
|
|
43434
|
-
}
|
|
43721
|
+
}
|
|
43435
43722
|
};
|
|
43436
43723
|
var __webpack_module_cache__ = {};
|
|
43437
43724
|
function __webpack_require__(moduleId) {
|
|
@@ -45078,7 +45365,7 @@ const upgrades = [
|
|
|
45078
45365
|
//#endregion
|
|
45079
45366
|
//#region package.json
|
|
45080
45367
|
var name = "@carbon/upgrade";
|
|
45081
|
-
var version = "11.
|
|
45368
|
+
var version = "11.44.0-rc.0";
|
|
45082
45369
|
//#endregion
|
|
45083
45370
|
//#region ../../node_modules/y18n/build/index.cjs
|
|
45084
45371
|
var require_build$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/upgrade",
|
|
3
3
|
"description": "A tool for upgrading Carbon versions",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.44.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
7
7
|
"carbon-upgrade": "./bin/carbon-upgrade.js"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"chalk": "^6.0.0",
|
|
43
|
-
"execa": "^
|
|
43
|
+
"execa": "^10.0.0",
|
|
44
44
|
"fast-glob": "^3.3.3",
|
|
45
45
|
"fs-extra": "^11.0.0",
|
|
46
46
|
"inquirer": "^12.5.0",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"@ibm/telemetry-js": "^1.5.0",
|
|
61
61
|
"jscodeshift": "^17.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "e848b98936051ac0026fb83551c91bfe603c589c"
|
|
64
64
|
}
|