@apollo/client 3.14.0 → 3.14.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.
- package/CHANGELOG.md +10 -0
- package/apollo-client.cjs +76 -72
- package/apollo-client.cjs.map +1 -1
- package/apollo-client.min.cjs +1 -1
- package/cache/cache.cjs +14 -41
- package/cache/cache.cjs.map +1 -1
- package/cache/cache.cjs.native.js +14 -41
- package/cache/core/cache.js +1 -1
- package/cache/core/cache.js.map +1 -1
- package/cache/inmemory/inMemoryCache.js +1 -1
- package/cache/inmemory/inMemoryCache.js.map +1 -1
- package/core/ApolloClient.js +1 -1
- package/core/ApolloClient.js.map +1 -1
- package/core/ObservableQuery.js +1 -1
- package/core/ObservableQuery.js.map +1 -1
- package/core/QueryInfo.js +1 -1
- package/core/QueryInfo.js.map +1 -1
- package/core/QueryManager.js +1 -1
- package/core/QueryManager.js.map +1 -1
- package/core/core.cjs +29 -56
- package/core/core.cjs.map +1 -1
- package/core/core.cjs.native.js +29 -56
- package/dev/dev.cjs +49 -53
- package/dev/dev.cjs.map +1 -1
- package/dev/dev.cjs.native.js +49 -53
- package/invariantErrorCodes.js +48 -53
- package/link/core/ApolloLink.js +1 -1
- package/link/core/ApolloLink.js.map +1 -1
- package/link/core/core.cjs +1 -15
- package/link/core/core.cjs.map +1 -1
- package/link/core/core.cjs.native.js +1 -15
- package/package.json +1 -1
- package/react/components/components.cjs +2 -14
- package/react/components/components.cjs.map +1 -1
- package/react/components/components.cjs.native.js +2 -14
- package/react/hoc/graphql.js +1 -1
- package/react/hoc/graphql.js.map +1 -1
- package/react/hoc/hoc.cjs +12 -31
- package/react/hoc/hoc.cjs.map +1 -1
- package/react/hoc/hoc.cjs.native.js +12 -31
- package/react/hoc/mutation-hoc.js +1 -1
- package/react/hoc/mutation-hoc.js.map +1 -1
- package/react/hoc/query-hoc.js +1 -1
- package/react/hoc/query-hoc.js.map +1 -1
- package/react/hoc/subscription-hoc.js +1 -1
- package/react/hoc/subscription-hoc.js.map +1 -1
- package/react/hooks/hooks.cjs +26 -52
- package/react/hooks/hooks.cjs.map +1 -1
- package/react/hooks/hooks.cjs.native.js +26 -52
- package/react/hooks/internal/useWarnRemoved.d.ts +1 -1
- package/react/hooks/internal/useWarnRemoved.js +1 -1
- package/react/hooks/internal/useWarnRemoved.js.map +1 -1
- package/react/hooks/internal/useWarnRemovedOption.d.ts +2 -1
- package/react/hooks/internal/useWarnRemovedOption.js +7 -5
- package/react/hooks/internal/useWarnRemovedOption.js.map +1 -1
- package/react/hooks/useApolloClient.js +1 -1
- package/react/hooks/useBackgroundQuery.js +1 -1
- package/react/hooks/useBackgroundQuery.js.map +1 -1
- package/react/hooks/useFragment.js +1 -1
- package/react/hooks/useFragment.js.map +1 -1
- package/react/hooks/useLazyQuery.js +3 -3
- package/react/hooks/useLazyQuery.js.map +1 -1
- package/react/hooks/useLoadableQuery.js +3 -3
- package/react/hooks/useLoadableQuery.js.map +1 -1
- package/react/hooks/useQuery.js +3 -3
- package/react/hooks/useQuery.js.map +1 -1
- package/react/hooks/useSubscription.js +3 -3
- package/react/hooks/useSuspenseQuery.js +3 -3
- package/react/hooks/useSuspenseQuery.js.map +1 -1
- package/react/hooks/useSyncExternalStore.js +1 -1
- package/react/internal/cache/QueryReference.js +2 -2
- package/react/internal/cache/QueryReference.js.map +1 -1
- package/react/internal/internal.cjs +3 -14
- package/react/internal/internal.cjs.map +1 -1
- package/react/internal/internal.cjs.native.js +3 -14
- package/react/parser/index.js +7 -7
- package/react/parser/index.js.map +1 -1
- package/react/parser/parser.cjs +9 -29
- package/react/parser/parser.cjs.map +1 -1
- package/react/parser/parser.cjs.native.js +9 -29
- package/react/query-preloader/createQueryPreloader.js +1 -1
- package/react/query-preloader/createQueryPreloader.js.map +1 -1
- package/react/react.cjs +4 -31
- package/react/react.cjs.map +1 -1
- package/react/react.cjs.native.js +4 -31
- package/testing/core/core.cjs +4 -4
- package/testing/core/core.cjs.map +1 -1
- package/testing/core/core.cjs.native.js +4 -4
- package/testing/core/mocking/mockLink.d.ts +13 -0
- package/testing/core/mocking/mockLink.js +4 -4
- package/testing/core/mocking/mockLink.js.map +1 -1
- package/testing/internal/disposables/index.d.ts +1 -0
- package/testing/internal/disposables/index.js +1 -0
- package/testing/internal/disposables/index.js.map +1 -1
- package/testing/internal/disposables/withMutedDeprecations.d.ts +4 -0
- package/testing/internal/disposables/withMutedDeprecations.js +13 -0
- package/testing/internal/disposables/withMutedDeprecations.js.map +1 -0
- package/testing/react/MockedProvider.js +1 -1
- package/testing/react/MockedProvider.js.map +1 -1
- package/testing/testing.cjs +5 -32
- package/testing/testing.cjs.map +1 -1
- package/testing/testing.cjs.native.js +5 -32
- package/utilities/deprecation/index.d.ts +0 -3
- package/utilities/deprecation/index.js +4 -12
- package/utilities/deprecation/index.js.map +1 -1
- package/utilities/globals/globals.cjs +1 -1
- package/utilities/globals/globals.cjs.map +1 -1
- package/utilities/globals/globals.cjs.native.js +1 -1
- package/utilities/graphql/DocumentTransform.js +1 -1
- package/utilities/graphql/directives.js +7 -7
- package/utilities/graphql/fragments.js +3 -3
- package/utilities/graphql/getFromAST.js +8 -8
- package/utilities/graphql/storeUtils.js +1 -1
- package/utilities/graphql/transform.js +2 -2
- package/utilities/index.d.ts +2 -0
- package/utilities/index.js +1 -0
- package/utilities/index.js.map +1 -1
- package/utilities/utilities.cjs +54 -22
- package/utilities/utilities.cjs.map +1 -1
- package/utilities/utilities.cjs.native.js +54 -22
- package/version.js +1 -1
package/core/core.cjs
CHANGED
|
@@ -22,7 +22,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
22
22
|
|
|
23
23
|
var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
|
|
24
24
|
|
|
25
|
-
var version = "3.14.
|
|
25
|
+
var version = "3.14.1";
|
|
26
26
|
|
|
27
27
|
function isNonNullObject(obj) {
|
|
28
28
|
return obj !== null && typeof obj === "object";
|
|
@@ -195,33 +195,6 @@ function directiveIsNonreactive(dir) {
|
|
|
195
195
|
return dir.name.value === "nonreactive";
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
-
var muteAllDeprecations = Symbol.for("apollo.deprecations");
|
|
199
|
-
var global = globals.global;
|
|
200
|
-
var slot = new optimism.Slot();
|
|
201
|
-
function isMuted(name) {
|
|
202
|
-
return global[muteAllDeprecations] || (slot.getValue() || []).includes(name);
|
|
203
|
-
}
|
|
204
|
-
function muteDeprecations(name) {
|
|
205
|
-
var args = [];
|
|
206
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
207
|
-
args[_i - 1] = arguments[_i];
|
|
208
|
-
}
|
|
209
|
-
return slot.withValue.apply(slot, tslib.__spreadArray([Array.isArray(name) ? name : [name]], args, false));
|
|
210
|
-
}
|
|
211
|
-
function warnRemovedOption(options, name, callSite, recommendation) {
|
|
212
|
-
if (recommendation === void 0) { recommendation = "Please remove this option."; }
|
|
213
|
-
warnDeprecated(name, function () {
|
|
214
|
-
if (name in options) {
|
|
215
|
-
globalThis.__DEV__ !== false && globals.invariant.warn(104, callSite, name, recommendation);
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
function warnDeprecated(name, cb) {
|
|
220
|
-
if (!isMuted(name)) {
|
|
221
|
-
cb();
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
198
|
var assign = Object.assign, hasOwnProperty$1 = Object.hasOwnProperty;
|
|
226
199
|
var ObservableQuery = (function (_super) {
|
|
227
200
|
tslib.__extends(ObservableQuery, _super);
|
|
@@ -301,7 +274,7 @@ var ObservableQuery = (function (_super) {
|
|
|
301
274
|
ObservableQuery.prototype.result = function () {
|
|
302
275
|
var _this = this;
|
|
303
276
|
if (globalThis.__DEV__ !== false) {
|
|
304
|
-
warnDeprecated("observableQuery.result", function () {
|
|
277
|
+
utilities.warnDeprecated("observableQuery.result", function () {
|
|
305
278
|
globalThis.__DEV__ !== false && globals.invariant.warn(23);
|
|
306
279
|
});
|
|
307
280
|
}
|
|
@@ -328,7 +301,7 @@ var ObservableQuery = (function (_super) {
|
|
|
328
301
|
ObservableQuery.prototype.getCurrentFullResult = function (saveAsLastResult) {
|
|
329
302
|
var _this = this;
|
|
330
303
|
if (saveAsLastResult === void 0) { saveAsLastResult = true; }
|
|
331
|
-
var lastResult = muteDeprecations("getLastResult", function () {
|
|
304
|
+
var lastResult = utilities.muteDeprecations("getLastResult", function () {
|
|
332
305
|
return _this.getLastResult(true);
|
|
333
306
|
});
|
|
334
307
|
var networkStatus = this.queryInfo.networkStatus ||
|
|
@@ -406,7 +379,7 @@ var ObservableQuery = (function (_super) {
|
|
|
406
379
|
};
|
|
407
380
|
ObservableQuery.prototype.getLastResult = function (variablesMustMatch) {
|
|
408
381
|
if (globalThis.__DEV__ !== false) {
|
|
409
|
-
warnDeprecated("getLastResult", function () {
|
|
382
|
+
utilities.warnDeprecated("getLastResult", function () {
|
|
410
383
|
globalThis.__DEV__ !== false && globals.invariant.warn(24);
|
|
411
384
|
});
|
|
412
385
|
}
|
|
@@ -414,7 +387,7 @@ var ObservableQuery = (function (_super) {
|
|
|
414
387
|
};
|
|
415
388
|
ObservableQuery.prototype.getLastError = function (variablesMustMatch) {
|
|
416
389
|
if (globalThis.__DEV__ !== false) {
|
|
417
|
-
warnDeprecated("getLastError", function () {
|
|
390
|
+
utilities.warnDeprecated("getLastError", function () {
|
|
418
391
|
globalThis.__DEV__ !== false && globals.invariant.warn(25);
|
|
419
392
|
});
|
|
420
393
|
}
|
|
@@ -422,7 +395,7 @@ var ObservableQuery = (function (_super) {
|
|
|
422
395
|
};
|
|
423
396
|
ObservableQuery.prototype.resetLastResults = function () {
|
|
424
397
|
if (globalThis.__DEV__ !== false) {
|
|
425
|
-
warnDeprecated("resetLastResults", function () {
|
|
398
|
+
utilities.warnDeprecated("resetLastResults", function () {
|
|
426
399
|
globalThis.__DEV__ !== false && globals.invariant.warn(26);
|
|
427
400
|
});
|
|
428
401
|
}
|
|
@@ -573,8 +546,8 @@ var ObservableQuery = (function (_super) {
|
|
|
573
546
|
};
|
|
574
547
|
ObservableQuery.prototype.setOptions = function (newOptions) {
|
|
575
548
|
if (globalThis.__DEV__ !== false) {
|
|
576
|
-
warnRemovedOption(newOptions, "canonizeResults", "setOptions");
|
|
577
|
-
warnDeprecated("setOptions", function () {
|
|
549
|
+
utilities.warnRemovedOption(newOptions, "canonizeResults", "setOptions");
|
|
550
|
+
utilities.warnDeprecated("setOptions", function () {
|
|
578
551
|
globalThis.__DEV__ !== false && globals.invariant.warn(31);
|
|
579
552
|
});
|
|
580
553
|
}
|
|
@@ -588,7 +561,7 @@ var ObservableQuery = (function (_super) {
|
|
|
588
561
|
var _this = this;
|
|
589
562
|
if (equal.equal(this.variables, variables)) {
|
|
590
563
|
return this.observers.size ?
|
|
591
|
-
muteDeprecations("observableQuery.result", function () { return _this.result(); })
|
|
564
|
+
utilities.muteDeprecations("observableQuery.result", function () { return _this.result(); })
|
|
592
565
|
: Promise.resolve();
|
|
593
566
|
}
|
|
594
567
|
this.options.variables = variables;
|
|
@@ -704,7 +677,7 @@ var ObservableQuery = (function (_super) {
|
|
|
704
677
|
ObservableQuery.prototype.updateLastResult = function (newResult, variables) {
|
|
705
678
|
var _this = this;
|
|
706
679
|
if (variables === void 0) { variables = this.variables; }
|
|
707
|
-
var error = muteDeprecations("getLastError", function () {
|
|
680
|
+
var error = utilities.muteDeprecations("getLastError", function () {
|
|
708
681
|
return _this.getLastError();
|
|
709
682
|
});
|
|
710
683
|
if (error && this.last && !equal.equal(variables, this.last.variables)) {
|
|
@@ -788,7 +761,7 @@ var ObservableQuery = (function (_super) {
|
|
|
788
761
|
args[_i] = arguments[_i];
|
|
789
762
|
}
|
|
790
763
|
var last = this.last;
|
|
791
|
-
muteDeprecations("resetLastResults", function () { return _this.resetLastResults(); });
|
|
764
|
+
utilities.muteDeprecations("resetLastResults", function () { return _this.resetLastResults(); });
|
|
792
765
|
var subscription = this.subscribe.apply(this, args);
|
|
793
766
|
this.last = last;
|
|
794
767
|
return subscription;
|
|
@@ -799,7 +772,7 @@ var ObservableQuery = (function (_super) {
|
|
|
799
772
|
};
|
|
800
773
|
ObservableQuery.prototype.reportResult = function (result, variables) {
|
|
801
774
|
var _this = this;
|
|
802
|
-
var lastError = muteDeprecations("getLastError", function () {
|
|
775
|
+
var lastError = utilities.muteDeprecations("getLastError", function () {
|
|
803
776
|
return _this.getLastError();
|
|
804
777
|
});
|
|
805
778
|
var isDifferent = this.isDifferentFromLastResult(result, variables);
|
|
@@ -812,7 +785,7 @@ var ObservableQuery = (function (_super) {
|
|
|
812
785
|
};
|
|
813
786
|
ObservableQuery.prototype.reportError = function (error, variables) {
|
|
814
787
|
var _this = this;
|
|
815
|
-
var errorResult = tslib.__assign(tslib.__assign({}, muteDeprecations("getLastResult", function () { return _this.getLastResult(); })), { error: error, errors: error.graphQLErrors, networkStatus: exports.NetworkStatus.error, loading: false });
|
|
788
|
+
var errorResult = tslib.__assign(tslib.__assign({}, utilities.muteDeprecations("getLastResult", function () { return _this.getLastResult(); })), { error: error, errors: error.graphQLErrors, networkStatus: exports.NetworkStatus.error, loading: false });
|
|
816
789
|
this.updateLastResult(errorResult, variables);
|
|
817
790
|
utilities.iterateObserversSafely(this.observers, "error", (this.last.error = error));
|
|
818
791
|
};
|
|
@@ -982,7 +955,7 @@ var QueryInfo = (function () {
|
|
|
982
955
|
if (oq && oq.options.fetchPolicy === "no-cache") {
|
|
983
956
|
return { complete: false };
|
|
984
957
|
}
|
|
985
|
-
var diff = muteDeprecations("canonizeResults", function () {
|
|
958
|
+
var diff = utilities.muteDeprecations("canonizeResults", function () {
|
|
986
959
|
return _this.cache.diff(options);
|
|
987
960
|
});
|
|
988
961
|
this.updateLastDiff(diff, options);
|
|
@@ -1014,7 +987,7 @@ var QueryInfo = (function () {
|
|
|
1014
987
|
var oldDiff = this.lastDiff && this.lastDiff.diff;
|
|
1015
988
|
if (diff &&
|
|
1016
989
|
!diff.complete &&
|
|
1017
|
-
muteDeprecations("getLastError", function () { var _a; return (_a = _this.observableQuery) === null || _a === void 0 ? void 0 : _a.getLastError(); })) {
|
|
990
|
+
utilities.muteDeprecations("getLastError", function () { var _a; return (_a = _this.observableQuery) === null || _a === void 0 ? void 0 : _a.getLastError(); })) {
|
|
1018
991
|
return;
|
|
1019
992
|
}
|
|
1020
993
|
this.updateLastDiff(diff);
|
|
@@ -1110,7 +1083,7 @@ var QueryInfo = (function () {
|
|
|
1110
1083
|
}
|
|
1111
1084
|
}
|
|
1112
1085
|
var diffOptions = _this.getDiffOptions(options.variables);
|
|
1113
|
-
var diff = muteDeprecations("canonizeResults", function () {
|
|
1086
|
+
var diff = utilities.muteDeprecations("canonizeResults", function () {
|
|
1114
1087
|
return cache.diff(diffOptions);
|
|
1115
1088
|
});
|
|
1116
1089
|
if (!_this.stopped && equal.equal(_this.variables, options.variables)) {
|
|
@@ -1680,7 +1653,7 @@ var QueryManager = (function () {
|
|
|
1680
1653
|
var observableQueryPromises = [];
|
|
1681
1654
|
this.getObservableQueries(includeStandby ? "all" : "active").forEach(function (observableQuery, queryId) {
|
|
1682
1655
|
var fetchPolicy = observableQuery.options.fetchPolicy;
|
|
1683
|
-
muteDeprecations("resetLastResults", function () {
|
|
1656
|
+
utilities.muteDeprecations("resetLastResults", function () {
|
|
1684
1657
|
return observableQuery.resetLastResults();
|
|
1685
1658
|
});
|
|
1686
1659
|
if (includeStandby ||
|
|
@@ -1960,7 +1933,7 @@ var QueryManager = (function () {
|
|
|
1960
1933
|
var result;
|
|
1961
1934
|
if (onQueryUpdated) {
|
|
1962
1935
|
if (!diff) {
|
|
1963
|
-
diff = muteDeprecations("canonizeResults", function () {
|
|
1936
|
+
diff = utilities.muteDeprecations("canonizeResults", function () {
|
|
1964
1937
|
return _this.cache.diff(oq["queryInfo"]["getDiffOptions"]());
|
|
1965
1938
|
});
|
|
1966
1939
|
}
|
|
@@ -2532,13 +2505,13 @@ var ApolloClient = (function () {
|
|
|
2532
2505
|
var uri = options.uri, credentials = options.credentials, headers = options.headers, cache = options.cache, documentTransform = options.documentTransform, _d = options.ssrMode, ssrMode = _d === void 0 ? false : _d, _e = options.ssrForceFetchDelay, ssrForceFetchDelay = _e === void 0 ? 0 : _e,
|
|
2533
2506
|
connectToDevTools = options.connectToDevTools, _f = options.queryDeduplication, queryDeduplication = _f === void 0 ? true : _f, defaultOptions = options.defaultOptions, defaultContext = options.defaultContext, _g = options.assumeImmutableResults, assumeImmutableResults = _g === void 0 ? cache.assumeImmutableResults : _g, resolvers = options.resolvers, typeDefs = options.typeDefs, fragmentMatcher = options.fragmentMatcher, clientAwareness = options.clientAwareness, clientAwarenessName = options.name, clientAwarenessVersion = options.version, devtools = options.devtools, dataMasking = options.dataMasking;
|
|
2534
2507
|
if (globalThis.__DEV__ !== false) {
|
|
2535
|
-
warnRemovedOption(options, "connectToDevTools", "ApolloClient", "Please use `devtools.enabled` instead.");
|
|
2536
|
-
warnRemovedOption(options, "uri", "ApolloClient", "Please initialize an instance of `HttpLink` with `uri` instead.");
|
|
2537
|
-
warnRemovedOption(options, "credentials", "ApolloClient", "Please initialize an instance of `HttpLink` with `credentials` instead.");
|
|
2538
|
-
warnRemovedOption(options, "headers", "ApolloClient", "Please initialize an instance of `HttpLink` with `headers` instead.");
|
|
2539
|
-
warnRemovedOption(options, "name", "ApolloClient", "Please use the `clientAwareness.name` option instead.");
|
|
2540
|
-
warnRemovedOption(options, "version", "ApolloClient", "Please use the `clientAwareness.version` option instead.");
|
|
2541
|
-
warnRemovedOption(options, "typeDefs", "ApolloClient");
|
|
2508
|
+
utilities.warnRemovedOption(options, "connectToDevTools", "ApolloClient", "Please use `devtools.enabled` instead.");
|
|
2509
|
+
utilities.warnRemovedOption(options, "uri", "ApolloClient", "Please initialize an instance of `HttpLink` with `uri` instead.");
|
|
2510
|
+
utilities.warnRemovedOption(options, "credentials", "ApolloClient", "Please initialize an instance of `HttpLink` with `credentials` instead.");
|
|
2511
|
+
utilities.warnRemovedOption(options, "headers", "ApolloClient", "Please initialize an instance of `HttpLink` with `headers` instead.");
|
|
2512
|
+
utilities.warnRemovedOption(options, "name", "ApolloClient", "Please use the `clientAwareness.name` option instead.");
|
|
2513
|
+
utilities.warnRemovedOption(options, "version", "ApolloClient", "Please use the `clientAwareness.version` option instead.");
|
|
2514
|
+
utilities.warnRemovedOption(options, "typeDefs", "ApolloClient");
|
|
2542
2515
|
if (!options.link) {
|
|
2543
2516
|
globalThis.__DEV__ !== false && globals.invariant.warn(17);
|
|
2544
2517
|
}
|
|
@@ -2676,8 +2649,8 @@ var ApolloClient = (function () {
|
|
|
2676
2649
|
options = tslib.__assign(tslib.__assign({}, options), { fetchPolicy: "cache-first" });
|
|
2677
2650
|
}
|
|
2678
2651
|
if (globalThis.__DEV__ !== false) {
|
|
2679
|
-
warnRemovedOption(options, "canonizeResults", "client.watchQuery");
|
|
2680
|
-
warnRemovedOption(options, "partialRefetch", "client.watchQuery");
|
|
2652
|
+
utilities.warnRemovedOption(options, "canonizeResults", "client.watchQuery");
|
|
2653
|
+
utilities.warnRemovedOption(options, "partialRefetch", "client.watchQuery");
|
|
2681
2654
|
}
|
|
2682
2655
|
return this.queryManager.watchQuery(options);
|
|
2683
2656
|
};
|
|
@@ -2690,8 +2663,8 @@ var ApolloClient = (function () {
|
|
|
2690
2663
|
options = tslib.__assign(tslib.__assign({}, options), { fetchPolicy: "cache-first" });
|
|
2691
2664
|
}
|
|
2692
2665
|
if (globalThis.__DEV__ !== false) {
|
|
2693
|
-
warnRemovedOption(options, "canonizeResults", "client.query");
|
|
2694
|
-
warnRemovedOption(options, "notifyOnNetworkStatusChange", "client.query", "This option does not affect `client.query` and can be safely removed.");
|
|
2666
|
+
utilities.warnRemovedOption(options, "canonizeResults", "client.query");
|
|
2667
|
+
utilities.warnRemovedOption(options, "notifyOnNetworkStatusChange", "client.query", "This option does not affect `client.query` and can be safely removed.");
|
|
2695
2668
|
if (options.fetchPolicy === "standby") {
|
|
2696
2669
|
globalThis.__DEV__ !== false && globals.invariant.warn(19);
|
|
2697
2670
|
}
|