react-test-renderer 19.1.0 → 19.1.1
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.
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
prevPrepareStackTrace = error.indexOf("\n");
|
|
936
936
|
-1 !== prevPrepareStackTrace &&
|
|
937
937
|
(error = error.slice(prevPrepareStackTrace + 1));
|
|
938
|
-
prevPrepareStackTrace = error.indexOf("
|
|
938
|
+
prevPrepareStackTrace = error.indexOf("react_stack_bottom_frame");
|
|
939
939
|
-1 !== prevPrepareStackTrace &&
|
|
940
940
|
(prevPrepareStackTrace = error.lastIndexOf(
|
|
941
941
|
"\n",
|
|
@@ -13969,7 +13969,7 @@
|
|
|
13969
13969
|
}
|
|
13970
13970
|
};
|
|
13971
13971
|
var callComponent = {
|
|
13972
|
-
|
|
13972
|
+
react_stack_bottom_frame: function (Component, props, secondArg) {
|
|
13973
13973
|
var wasRendering = isRendering;
|
|
13974
13974
|
isRendering = !0;
|
|
13975
13975
|
try {
|
|
@@ -13980,9 +13980,9 @@
|
|
|
13980
13980
|
}
|
|
13981
13981
|
},
|
|
13982
13982
|
callComponentInDEV =
|
|
13983
|
-
callComponent
|
|
13983
|
+
callComponent.react_stack_bottom_frame.bind(callComponent),
|
|
13984
13984
|
callRender = {
|
|
13985
|
-
|
|
13985
|
+
react_stack_bottom_frame: function (instance) {
|
|
13986
13986
|
var wasRendering = isRendering;
|
|
13987
13987
|
isRendering = !0;
|
|
13988
13988
|
try {
|
|
@@ -13992,9 +13992,9 @@
|
|
|
13992
13992
|
}
|
|
13993
13993
|
}
|
|
13994
13994
|
},
|
|
13995
|
-
callRenderInDEV = callRender
|
|
13995
|
+
callRenderInDEV = callRender.react_stack_bottom_frame.bind(callRender),
|
|
13996
13996
|
callComponentDidMount = {
|
|
13997
|
-
|
|
13997
|
+
react_stack_bottom_frame: function (finishedWork, instance) {
|
|
13998
13998
|
try {
|
|
13999
13999
|
instance.componentDidMount();
|
|
14000
14000
|
} catch (error) {
|
|
@@ -14002,11 +14002,12 @@
|
|
|
14002
14002
|
}
|
|
14003
14003
|
}
|
|
14004
14004
|
},
|
|
14005
|
-
callComponentDidMountInDEV =
|
|
14006
|
-
|
|
14007
|
-
|
|
14005
|
+
callComponentDidMountInDEV =
|
|
14006
|
+
callComponentDidMount.react_stack_bottom_frame.bind(
|
|
14007
|
+
callComponentDidMount
|
|
14008
|
+
),
|
|
14008
14009
|
callComponentDidUpdate = {
|
|
14009
|
-
|
|
14010
|
+
react_stack_bottom_frame: function (
|
|
14010
14011
|
finishedWork,
|
|
14011
14012
|
instance,
|
|
14012
14013
|
prevProps,
|
|
@@ -14020,22 +14021,24 @@
|
|
|
14020
14021
|
}
|
|
14021
14022
|
}
|
|
14022
14023
|
},
|
|
14023
|
-
callComponentDidUpdateInDEV =
|
|
14024
|
-
|
|
14025
|
-
|
|
14024
|
+
callComponentDidUpdateInDEV =
|
|
14025
|
+
callComponentDidUpdate.react_stack_bottom_frame.bind(
|
|
14026
|
+
callComponentDidUpdate
|
|
14027
|
+
),
|
|
14026
14028
|
callComponentDidCatch = {
|
|
14027
|
-
|
|
14029
|
+
react_stack_bottom_frame: function (instance, errorInfo) {
|
|
14028
14030
|
var stack = errorInfo.stack;
|
|
14029
14031
|
instance.componentDidCatch(errorInfo.value, {
|
|
14030
14032
|
componentStack: null !== stack ? stack : ""
|
|
14031
14033
|
});
|
|
14032
14034
|
}
|
|
14033
14035
|
},
|
|
14034
|
-
callComponentDidCatchInDEV =
|
|
14035
|
-
|
|
14036
|
-
|
|
14036
|
+
callComponentDidCatchInDEV =
|
|
14037
|
+
callComponentDidCatch.react_stack_bottom_frame.bind(
|
|
14038
|
+
callComponentDidCatch
|
|
14039
|
+
),
|
|
14037
14040
|
callComponentWillUnmount = {
|
|
14038
|
-
|
|
14041
|
+
react_stack_bottom_frame: function (
|
|
14039
14042
|
current,
|
|
14040
14043
|
nearestMountedAncestor,
|
|
14041
14044
|
instance
|
|
@@ -14047,11 +14050,12 @@
|
|
|
14047
14050
|
}
|
|
14048
14051
|
}
|
|
14049
14052
|
},
|
|
14050
|
-
callComponentWillUnmountInDEV =
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
+
callComponentWillUnmountInDEV =
|
|
14054
|
+
callComponentWillUnmount.react_stack_bottom_frame.bind(
|
|
14055
|
+
callComponentWillUnmount
|
|
14056
|
+
),
|
|
14053
14057
|
callCreate = {
|
|
14054
|
-
|
|
14058
|
+
react_stack_bottom_frame: function (effect) {
|
|
14055
14059
|
null != effect.resourceKind &&
|
|
14056
14060
|
console.error(
|
|
14057
14061
|
"Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",
|
|
@@ -14063,9 +14067,9 @@
|
|
|
14063
14067
|
return (effect.destroy = create);
|
|
14064
14068
|
}
|
|
14065
14069
|
},
|
|
14066
|
-
callCreateInDEV = callCreate
|
|
14070
|
+
callCreateInDEV = callCreate.react_stack_bottom_frame.bind(callCreate),
|
|
14067
14071
|
callDestroy = {
|
|
14068
|
-
|
|
14072
|
+
react_stack_bottom_frame: function (
|
|
14069
14073
|
current,
|
|
14070
14074
|
nearestMountedAncestor,
|
|
14071
14075
|
destroy
|
|
@@ -14077,16 +14081,15 @@
|
|
|
14077
14081
|
}
|
|
14078
14082
|
}
|
|
14079
14083
|
},
|
|
14080
|
-
callDestroyInDEV =
|
|
14081
|
-
callDestroy["react-stack-bottom-frame"].bind(callDestroy),
|
|
14084
|
+
callDestroyInDEV = callDestroy.react_stack_bottom_frame.bind(callDestroy),
|
|
14082
14085
|
callLazyInit = {
|
|
14083
|
-
|
|
14086
|
+
react_stack_bottom_frame: function (lazy) {
|
|
14084
14087
|
var init = lazy._init;
|
|
14085
14088
|
return init(lazy._payload);
|
|
14086
14089
|
}
|
|
14087
14090
|
},
|
|
14088
14091
|
callLazyInitInDEV =
|
|
14089
|
-
callLazyInit
|
|
14092
|
+
callLazyInit.react_stack_bottom_frame.bind(callLazyInit),
|
|
14090
14093
|
thenableState = null,
|
|
14091
14094
|
thenableIndexCounter = 0,
|
|
14092
14095
|
currentDebugInfo = null,
|
|
@@ -14571,10 +14574,10 @@
|
|
|
14571
14574
|
(function () {
|
|
14572
14575
|
var internals = {
|
|
14573
14576
|
bundleType: 1,
|
|
14574
|
-
version: "19.1.
|
|
14577
|
+
version: "19.1.1",
|
|
14575
14578
|
rendererPackageName: "react-test-renderer",
|
|
14576
14579
|
currentDispatcherRef: ReactSharedInternals,
|
|
14577
|
-
reconcilerVersion: "19.1.
|
|
14580
|
+
reconcilerVersion: "19.1.1"
|
|
14578
14581
|
};
|
|
14579
14582
|
internals.overrideHookState = overrideHookState;
|
|
14580
14583
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -14713,5 +14716,5 @@
|
|
|
14713
14716
|
exports.unstable_batchedUpdates = function (fn, a) {
|
|
14714
14717
|
return fn(a);
|
|
14715
14718
|
};
|
|
14716
|
-
exports.version = "19.1.
|
|
14719
|
+
exports.version = "19.1.1";
|
|
14717
14720
|
})();
|
|
@@ -9181,10 +9181,10 @@ function wrapFiber(fiber) {
|
|
|
9181
9181
|
}
|
|
9182
9182
|
var internals$jscomp$inline_1467 = {
|
|
9183
9183
|
bundleType: 0,
|
|
9184
|
-
version: "19.1.
|
|
9184
|
+
version: "19.1.1",
|
|
9185
9185
|
rendererPackageName: "react-test-renderer",
|
|
9186
9186
|
currentDispatcherRef: ReactSharedInternals,
|
|
9187
|
-
reconcilerVersion: "19.1.
|
|
9187
|
+
reconcilerVersion: "19.1.1"
|
|
9188
9188
|
};
|
|
9189
9189
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
9190
9190
|
var hook$jscomp$inline_1468 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
@@ -9312,4 +9312,4 @@ exports.create = function (element, options) {
|
|
|
9312
9312
|
exports.unstable_batchedUpdates = function (fn, a) {
|
|
9313
9313
|
return fn(a);
|
|
9314
9314
|
};
|
|
9315
|
-
exports.version = "19.1.
|
|
9315
|
+
exports.version = "19.1.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-test-renderer",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.1",
|
|
4
4
|
"description": "React package for snapshot testing.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://react.dev/",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"react-is": "^19.1.
|
|
22
|
+
"react-is": "^19.1.1",
|
|
23
23
|
"scheduler": "^0.26.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"react": "^19.1.
|
|
26
|
+
"react": "^19.1.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"LICENSE",
|