react-server-dom-webpack 18.3.0-canary-7ac5e9a60-20230508 → 18.3.0-canary-fda1f0b90-20230509
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/cjs/react-server-dom-webpack-client.browser.development.js +1 -5
- package/cjs/react-server-dom-webpack-client.edge.development.js +1 -5
- package/cjs/react-server-dom-webpack-client.node.development.js +1 -5
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +1 -5
- package/cjs/react-server-dom-webpack-server.browser.development.js +1 -5
- package/cjs/react-server-dom-webpack-server.edge.development.js +1 -5
- package/cjs/react-server-dom-webpack-server.node.development.js +1 -5
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +1 -5
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +1 -5
- package/umd/react-server-dom-webpack-server.browser.development.js +1 -5
@@ -455,7 +455,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
455
455
|
if (typeof value === 'string') {
|
456
456
|
substr = value;
|
457
457
|
} else if (typeof value === 'object' && value !== null) {
|
458
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
459
458
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
460
459
|
} else {
|
461
460
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -488,7 +487,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
488
487
|
var _substr = void 0;
|
489
488
|
|
490
489
|
if (typeof _value === 'object' && _value !== null) {
|
491
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
492
490
|
_substr = describeObjectForErrorMessage(_value);
|
493
491
|
} else {
|
494
492
|
_substr = describeValueForErrorMessage(_value);
|
@@ -527,7 +525,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
527
525
|
var _substr2 = void 0;
|
528
526
|
|
529
527
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
530
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
531
528
|
_substr2 = describeObjectForErrorMessage(_value2);
|
532
529
|
} else {
|
533
530
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -568,7 +565,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
568
565
|
var _substr3 = void 0;
|
569
566
|
|
570
567
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
571
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
572
568
|
_substr3 = describeObjectForErrorMessage(_value3);
|
573
569
|
} else {
|
574
570
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -783,7 +779,7 @@ function processReply(root, formFieldPrefix, resolve, reject) {
|
|
783
779
|
if (value[value.length - 1] === 'Z') {
|
784
780
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
785
781
|
// $FlowFixMe[incompatible-use]
|
786
|
-
var _originalValue = parent[key];
|
782
|
+
var _originalValue = parent[key];
|
787
783
|
|
788
784
|
if (_originalValue instanceof Date) {
|
789
785
|
return serializeDateFromDateJSON(value);
|
@@ -455,7 +455,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
455
455
|
if (typeof value === 'string') {
|
456
456
|
substr = value;
|
457
457
|
} else if (typeof value === 'object' && value !== null) {
|
458
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
459
458
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
460
459
|
} else {
|
461
460
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -488,7 +487,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
488
487
|
var _substr = void 0;
|
489
488
|
|
490
489
|
if (typeof _value === 'object' && _value !== null) {
|
491
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
492
490
|
_substr = describeObjectForErrorMessage(_value);
|
493
491
|
} else {
|
494
492
|
_substr = describeValueForErrorMessage(_value);
|
@@ -527,7 +525,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
527
525
|
var _substr2 = void 0;
|
528
526
|
|
529
527
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
530
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
531
528
|
_substr2 = describeObjectForErrorMessage(_value2);
|
532
529
|
} else {
|
533
530
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -568,7 +565,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
568
565
|
var _substr3 = void 0;
|
569
566
|
|
570
567
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
571
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
572
568
|
_substr3 = describeObjectForErrorMessage(_value3);
|
573
569
|
} else {
|
574
570
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -783,7 +779,7 @@ function processReply(root, formFieldPrefix, resolve, reject) {
|
|
783
779
|
if (value[value.length - 1] === 'Z') {
|
784
780
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
785
781
|
// $FlowFixMe[incompatible-use]
|
786
|
-
var _originalValue = parent[key];
|
782
|
+
var _originalValue = parent[key];
|
787
783
|
|
788
784
|
if (_originalValue instanceof Date) {
|
789
785
|
return serializeDateFromDateJSON(value);
|
@@ -456,7 +456,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
456
456
|
if (typeof value === 'string') {
|
457
457
|
substr = value;
|
458
458
|
} else if (typeof value === 'object' && value !== null) {
|
459
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
460
459
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
461
460
|
} else {
|
462
461
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -489,7 +488,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
489
488
|
var _substr = void 0;
|
490
489
|
|
491
490
|
if (typeof _value === 'object' && _value !== null) {
|
492
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
493
491
|
_substr = describeObjectForErrorMessage(_value);
|
494
492
|
} else {
|
495
493
|
_substr = describeValueForErrorMessage(_value);
|
@@ -528,7 +526,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
528
526
|
var _substr2 = void 0;
|
529
527
|
|
530
528
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
531
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
532
529
|
_substr2 = describeObjectForErrorMessage(_value2);
|
533
530
|
} else {
|
534
531
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -569,7 +566,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
569
566
|
var _substr3 = void 0;
|
570
567
|
|
571
568
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
572
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
573
569
|
_substr3 = describeObjectForErrorMessage(_value3);
|
574
570
|
} else {
|
575
571
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -784,7 +780,7 @@ function processReply(root, formFieldPrefix, resolve, reject) {
|
|
784
780
|
if (value[value.length - 1] === 'Z') {
|
785
781
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
786
782
|
// $FlowFixMe[incompatible-use]
|
787
|
-
var _originalValue = parent[key];
|
783
|
+
var _originalValue = parent[key];
|
788
784
|
|
789
785
|
if (_originalValue instanceof Date) {
|
790
786
|
return serializeDateFromDateJSON(value);
|
@@ -405,7 +405,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
405
405
|
if (typeof value === 'string') {
|
406
406
|
substr = value;
|
407
407
|
} else if (typeof value === 'object' && value !== null) {
|
408
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
409
408
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
410
409
|
} else {
|
411
410
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -438,7 +437,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
438
437
|
var _substr = void 0;
|
439
438
|
|
440
439
|
if (typeof _value === 'object' && _value !== null) {
|
441
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
442
440
|
_substr = describeObjectForErrorMessage(_value);
|
443
441
|
} else {
|
444
442
|
_substr = describeValueForErrorMessage(_value);
|
@@ -477,7 +475,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
477
475
|
var _substr2 = void 0;
|
478
476
|
|
479
477
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
480
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
481
478
|
_substr2 = describeObjectForErrorMessage(_value2);
|
482
479
|
} else {
|
483
480
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -518,7 +515,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
518
515
|
var _substr3 = void 0;
|
519
516
|
|
520
517
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
521
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
522
518
|
_substr3 = describeObjectForErrorMessage(_value3);
|
523
519
|
} else {
|
524
520
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -733,7 +729,7 @@ function processReply(root, formFieldPrefix, resolve, reject) {
|
|
733
729
|
if (value[value.length - 1] === 'Z') {
|
734
730
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
735
731
|
// $FlowFixMe[incompatible-use]
|
736
|
-
var _originalValue = parent[key];
|
732
|
+
var _originalValue = parent[key];
|
737
733
|
|
738
734
|
if (_originalValue instanceof Date) {
|
739
735
|
return serializeDateFromDateJSON(value);
|
@@ -1036,7 +1036,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1036
1036
|
if (typeof value === 'string') {
|
1037
1037
|
substr = value;
|
1038
1038
|
} else if (typeof value === 'object' && value !== null) {
|
1039
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1040
1039
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
1041
1040
|
} else {
|
1042
1041
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -1069,7 +1068,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1069
1068
|
var _substr = void 0;
|
1070
1069
|
|
1071
1070
|
if (typeof _value === 'object' && _value !== null) {
|
1072
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1073
1071
|
_substr = describeObjectForErrorMessage(_value);
|
1074
1072
|
} else {
|
1075
1073
|
_substr = describeValueForErrorMessage(_value);
|
@@ -1108,7 +1106,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1108
1106
|
var _substr2 = void 0;
|
1109
1107
|
|
1110
1108
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
1111
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1112
1109
|
_substr2 = describeObjectForErrorMessage(_value2);
|
1113
1110
|
} else {
|
1114
1111
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -1149,7 +1146,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1149
1146
|
var _substr3 = void 0;
|
1150
1147
|
|
1151
1148
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
1152
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1153
1149
|
_substr3 = describeObjectForErrorMessage(_value3);
|
1154
1150
|
} else {
|
1155
1151
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -1867,7 +1863,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
1867
1863
|
if (value[value.length - 1] === 'Z') {
|
1868
1864
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
1869
1865
|
// $FlowFixMe[incompatible-use]
|
1870
|
-
var _originalValue = parent[key];
|
1866
|
+
var _originalValue = parent[key];
|
1871
1867
|
|
1872
1868
|
if (_originalValue instanceof Date) {
|
1873
1869
|
return serializeDateFromDateJSON(value);
|
@@ -1039,7 +1039,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1039
1039
|
if (typeof value === 'string') {
|
1040
1040
|
substr = value;
|
1041
1041
|
} else if (typeof value === 'object' && value !== null) {
|
1042
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1043
1042
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
1044
1043
|
} else {
|
1045
1044
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -1072,7 +1071,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1072
1071
|
var _substr = void 0;
|
1073
1072
|
|
1074
1073
|
if (typeof _value === 'object' && _value !== null) {
|
1075
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1076
1074
|
_substr = describeObjectForErrorMessage(_value);
|
1077
1075
|
} else {
|
1078
1076
|
_substr = describeValueForErrorMessage(_value);
|
@@ -1111,7 +1109,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1111
1109
|
var _substr2 = void 0;
|
1112
1110
|
|
1113
1111
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
1114
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1115
1112
|
_substr2 = describeObjectForErrorMessage(_value2);
|
1116
1113
|
} else {
|
1117
1114
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -1152,7 +1149,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1152
1149
|
var _substr3 = void 0;
|
1153
1150
|
|
1154
1151
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
1155
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1156
1152
|
_substr3 = describeObjectForErrorMessage(_value3);
|
1157
1153
|
} else {
|
1158
1154
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -1875,7 +1871,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
1875
1871
|
if (value[value.length - 1] === 'Z') {
|
1876
1872
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
1877
1873
|
// $FlowFixMe[incompatible-use]
|
1878
|
-
var _originalValue = parent[key];
|
1874
|
+
var _originalValue = parent[key];
|
1879
1875
|
|
1880
1876
|
if (_originalValue instanceof Date) {
|
1881
1877
|
return serializeDateFromDateJSON(value);
|
@@ -1104,7 +1104,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1104
1104
|
if (typeof value === 'string') {
|
1105
1105
|
substr = value;
|
1106
1106
|
} else if (typeof value === 'object' && value !== null) {
|
1107
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1108
1107
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
1109
1108
|
} else {
|
1110
1109
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -1137,7 +1136,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1137
1136
|
var _substr = void 0;
|
1138
1137
|
|
1139
1138
|
if (typeof _value === 'object' && _value !== null) {
|
1140
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1141
1139
|
_substr = describeObjectForErrorMessage(_value);
|
1142
1140
|
} else {
|
1143
1141
|
_substr = describeValueForErrorMessage(_value);
|
@@ -1176,7 +1174,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1176
1174
|
var _substr2 = void 0;
|
1177
1175
|
|
1178
1176
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
1179
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1180
1177
|
_substr2 = describeObjectForErrorMessage(_value2);
|
1181
1178
|
} else {
|
1182
1179
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -1217,7 +1214,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1217
1214
|
var _substr3 = void 0;
|
1218
1215
|
|
1219
1216
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
1220
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1221
1217
|
_substr3 = describeObjectForErrorMessage(_value3);
|
1222
1218
|
} else {
|
1223
1219
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -1940,7 +1936,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
1940
1936
|
if (value[value.length - 1] === 'Z') {
|
1941
1937
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
1942
1938
|
// $FlowFixMe[incompatible-use]
|
1943
|
-
var _originalValue = parent[key];
|
1939
|
+
var _originalValue = parent[key];
|
1944
1940
|
|
1945
1941
|
if (_originalValue instanceof Date) {
|
1946
1942
|
return serializeDateFromDateJSON(value);
|
@@ -1104,7 +1104,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1104
1104
|
if (typeof value === 'string') {
|
1105
1105
|
substr = value;
|
1106
1106
|
} else if (typeof value === 'object' && value !== null) {
|
1107
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1108
1107
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
1109
1108
|
} else {
|
1110
1109
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -1137,7 +1136,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1137
1136
|
var _substr = void 0;
|
1138
1137
|
|
1139
1138
|
if (typeof _value === 'object' && _value !== null) {
|
1140
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1141
1139
|
_substr = describeObjectForErrorMessage(_value);
|
1142
1140
|
} else {
|
1143
1141
|
_substr = describeValueForErrorMessage(_value);
|
@@ -1176,7 +1174,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1176
1174
|
var _substr2 = void 0;
|
1177
1175
|
|
1178
1176
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
1179
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1180
1177
|
_substr2 = describeObjectForErrorMessage(_value2);
|
1181
1178
|
} else {
|
1182
1179
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -1217,7 +1214,6 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1217
1214
|
var _substr3 = void 0;
|
1218
1215
|
|
1219
1216
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
1220
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1221
1217
|
_substr3 = describeObjectForErrorMessage(_value3);
|
1222
1218
|
} else {
|
1223
1219
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -1940,7 +1936,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
1940
1936
|
if (value[value.length - 1] === 'Z') {
|
1941
1937
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
1942
1938
|
// $FlowFixMe[incompatible-use]
|
1943
|
-
var _originalValue = parent[key];
|
1939
|
+
var _originalValue = parent[key];
|
1944
1940
|
|
1945
1941
|
if (_originalValue instanceof Date) {
|
1946
1942
|
return serializeDateFromDateJSON(value);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "18.3.0-canary-
|
4
|
+
"version": "18.3.0-canary-fda1f0b90-20230509",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -78,8 +78,8 @@
|
|
78
78
|
"node": ">=0.10.0"
|
79
79
|
},
|
80
80
|
"peerDependencies": {
|
81
|
-
"react": "18.3.0-canary-
|
82
|
-
"react-dom": "18.3.0-canary-
|
81
|
+
"react": "18.3.0-canary-fda1f0b90-20230509",
|
82
|
+
"react-dom": "18.3.0-canary-fda1f0b90-20230509",
|
83
83
|
"webpack": "^5.59.0"
|
84
84
|
},
|
85
85
|
"dependencies": {
|
@@ -451,7 +451,6 @@
|
|
451
451
|
if (typeof value === 'string') {
|
452
452
|
substr = value;
|
453
453
|
} else if (typeof value === 'object' && value !== null) {
|
454
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
455
454
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
456
455
|
} else {
|
457
456
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -484,7 +483,6 @@
|
|
484
483
|
var _substr = void 0;
|
485
484
|
|
486
485
|
if (typeof _value === 'object' && _value !== null) {
|
487
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
488
486
|
_substr = describeObjectForErrorMessage(_value);
|
489
487
|
} else {
|
490
488
|
_substr = describeValueForErrorMessage(_value);
|
@@ -523,7 +521,6 @@
|
|
523
521
|
var _substr2 = void 0;
|
524
522
|
|
525
523
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
526
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
527
524
|
_substr2 = describeObjectForErrorMessage(_value2);
|
528
525
|
} else {
|
529
526
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -564,7 +561,6 @@
|
|
564
561
|
var _substr3 = void 0;
|
565
562
|
|
566
563
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
567
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
568
564
|
_substr3 = describeObjectForErrorMessage(_value3);
|
569
565
|
} else {
|
570
566
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -779,7 +775,7 @@
|
|
779
775
|
if (value[value.length - 1] === 'Z') {
|
780
776
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
781
777
|
// $FlowFixMe[incompatible-use]
|
782
|
-
var _originalValue = parent[key];
|
778
|
+
var _originalValue = parent[key];
|
783
779
|
|
784
780
|
if (_originalValue instanceof Date) {
|
785
781
|
return serializeDateFromDateJSON(value);
|
@@ -1032,7 +1032,6 @@
|
|
1032
1032
|
if (typeof value === 'string') {
|
1033
1033
|
substr = value;
|
1034
1034
|
} else if (typeof value === 'object' && value !== null) {
|
1035
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1036
1035
|
substr = '{' + describeObjectForErrorMessage(value) + '}';
|
1037
1036
|
} else {
|
1038
1037
|
substr = '{' + describeValueForErrorMessage(value) + '}';
|
@@ -1065,7 +1064,6 @@
|
|
1065
1064
|
var _substr = void 0;
|
1066
1065
|
|
1067
1066
|
if (typeof _value === 'object' && _value !== null) {
|
1068
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1069
1067
|
_substr = describeObjectForErrorMessage(_value);
|
1070
1068
|
} else {
|
1071
1069
|
_substr = describeValueForErrorMessage(_value);
|
@@ -1104,7 +1102,6 @@
|
|
1104
1102
|
var _substr2 = void 0;
|
1105
1103
|
|
1106
1104
|
if (name === expandedName && typeof _value2 === 'object' && _value2 !== null) {
|
1107
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1108
1105
|
_substr2 = describeObjectForErrorMessage(_value2);
|
1109
1106
|
} else {
|
1110
1107
|
_substr2 = describeValueForErrorMessage(_value2);
|
@@ -1145,7 +1142,6 @@
|
|
1145
1142
|
var _substr3 = void 0;
|
1146
1143
|
|
1147
1144
|
if (typeof _value3 === 'object' && _value3 !== null) {
|
1148
|
-
// $FlowFixMe[incompatible-call] found when upgrading Flow
|
1149
1145
|
_substr3 = describeObjectForErrorMessage(_value3);
|
1150
1146
|
} else {
|
1151
1147
|
_substr3 = describeValueForErrorMessage(_value3);
|
@@ -1863,7 +1859,7 @@
|
|
1863
1859
|
if (value[value.length - 1] === 'Z') {
|
1864
1860
|
// Possibly a Date, whose toJSON automatically calls toISOString
|
1865
1861
|
// $FlowFixMe[incompatible-use]
|
1866
|
-
var _originalValue = parent[key];
|
1862
|
+
var _originalValue = parent[key];
|
1867
1863
|
|
1868
1864
|
if (_originalValue instanceof Date) {
|
1869
1865
|
return serializeDateFromDateJSON(value);
|