parse 4.0.0 → 4.0.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/LICENSE +167 -25
- package/NOTICE +10 -0
- package/README.md +1 -3
- package/dist/parse.js +188 -374
- package/dist/parse.min.js +7 -6
- package/dist/parse.weapp.js +188 -374
- package/dist/parse.weapp.min.js +7 -6
- package/lib/browser/Analytics.js +0 -7
- package/lib/browser/AnonymousUtils.js +0 -7
- package/lib/browser/Cloud.js +0 -7
- package/lib/browser/CoreManager.js +1 -8
- package/lib/browser/EventEmitter.js +0 -7
- package/lib/browser/FacebookUtils.js +0 -7
- package/lib/browser/InstallationController.js +0 -7
- package/lib/browser/LocalDatastoreUtils.js +0 -7
- package/lib/browser/OfflineQuery.js +27 -8
- package/lib/browser/Parse.js +0 -9
- package/lib/browser/ParseACL.js +0 -7
- package/lib/browser/ParseConfig.js +0 -7
- package/lib/browser/ParseError.js +0 -9
- package/lib/browser/ParseGeoPoint.js +0 -7
- package/lib/browser/ParseObject.js +158 -126
- package/lib/browser/ParsePolygon.js +0 -7
- package/lib/browser/ParseRelation.js +0 -7
- package/lib/browser/ParseSchema.js +0 -7
- package/lib/browser/Push.js +0 -7
- package/lib/browser/RESTController.js +0 -7
- package/lib/browser/SingleInstanceStateController.js +0 -7
- package/lib/browser/Storage.js +0 -7
- package/lib/browser/StorageController.browser.js +0 -7
- package/lib/browser/StorageController.default.js +0 -7
- package/lib/browser/StorageController.react-native.js +0 -7
- package/lib/browser/StorageController.weapp.js +0 -7
- package/lib/browser/TaskQueue.js +0 -7
- package/lib/browser/UniqueInstanceStateController.js +0 -7
- package/lib/browser/arrayContainsObject.js +0 -7
- package/lib/browser/canBeSerialized.js +0 -7
- package/lib/browser/decode.js +0 -7
- package/lib/browser/encode.js +0 -7
- package/lib/browser/equals.js +0 -9
- package/lib/browser/escape.js +0 -7
- package/lib/browser/isRevocableSession.js +0 -7
- package/lib/browser/parseDate.js +0 -7
- package/lib/browser/unique.js +0 -7
- package/lib/browser/unsavedChildren.js +0 -7
- package/lib/node/Analytics.js +0 -7
- package/lib/node/AnonymousUtils.js +0 -7
- package/lib/node/Cloud.js +0 -7
- package/lib/node/CoreManager.js +1 -8
- package/lib/node/EventEmitter.js +0 -7
- package/lib/node/FacebookUtils.js +0 -7
- package/lib/node/InstallationController.js +0 -7
- package/lib/node/LiveQueryClient.js +0 -10
- package/lib/node/LiveQuerySubscription.js +0 -10
- package/lib/node/LocalDatastore.js +0 -7
- package/lib/node/LocalDatastoreController.js +0 -7
- package/lib/node/LocalDatastoreController.react-native.js +0 -7
- package/lib/node/LocalDatastoreUtils.js +0 -7
- package/lib/node/ObjectStateMutations.js +0 -7
- package/lib/node/OfflineQuery.js +8 -0
- package/lib/node/Parse.js +0 -9
- package/lib/node/ParseACL.js +0 -7
- package/lib/node/ParseCLP.js +0 -7
- package/lib/node/ParseConfig.js +0 -7
- package/lib/node/ParseError.js +0 -9
- package/lib/node/ParseFile.js +0 -7
- package/lib/node/ParseGeoPoint.js +0 -7
- package/lib/node/ParseInstallation.js +0 -7
- package/lib/node/ParseLiveQuery.js +0 -7
- package/lib/node/ParseObject.js +40 -29
- package/lib/node/ParseOp.js +0 -7
- package/lib/node/ParsePolygon.js +0 -7
- package/lib/node/ParseQuery.js +0 -7
- package/lib/node/ParseRelation.js +0 -7
- package/lib/node/ParseRole.js +0 -7
- package/lib/node/ParseSchema.js +0 -7
- package/lib/node/ParseSession.js +0 -7
- package/lib/node/ParseUser.js +0 -7
- package/lib/node/Push.js +0 -7
- package/lib/node/RESTController.js +0 -7
- package/lib/node/SingleInstanceStateController.js +0 -7
- package/lib/node/Storage.js +0 -7
- package/lib/node/StorageController.browser.js +0 -7
- package/lib/node/StorageController.default.js +0 -7
- package/lib/node/StorageController.react-native.js +0 -7
- package/lib/node/StorageController.weapp.js +0 -7
- package/lib/node/TaskQueue.js +0 -7
- package/lib/node/UniqueInstanceStateController.js +0 -7
- package/lib/node/arrayContainsObject.js +0 -7
- package/lib/node/canBeSerialized.js +0 -7
- package/lib/node/decode.js +0 -7
- package/lib/node/encode.js +0 -7
- package/lib/node/equals.js +0 -9
- package/lib/node/escape.js +0 -7
- package/lib/node/isRevocableSession.js +0 -7
- package/lib/node/parseDate.js +0 -7
- package/lib/node/unique.js +0 -7
- package/lib/node/unsavedChildren.js +0 -7
- package/lib/react-native/CoreManager.js +2 -2
- package/lib/react-native/EventuallyQueue.js +169 -676
- package/lib/react-native/LiveQueryClient.js +3 -46
- package/lib/react-native/LocalDatastore.js +303 -863
- package/lib/react-native/LocalDatastoreController.js +75 -535
- package/lib/react-native/LocalDatastoreController.react-native.js +95 -503
- package/lib/react-native/ObjectStateMutations.js +2 -31
- package/lib/react-native/OfflineQuery.js +24 -60
- package/lib/react-native/ParseCLP.js +55 -129
- package/lib/react-native/ParseFile.js +63 -468
- package/lib/react-native/ParseLiveQuery.js +60 -455
- package/lib/react-native/ParseObject.js +263 -897
- package/lib/react-native/ParseQuery.js +207 -643
- package/lib/react-native/ParseSchema.js +3 -3
- package/lib/react-native/ParseUser.js +118 -573
- package/lib/react-native/RESTController.js +1 -29
- package/lib/weapp/Analytics.js +0 -7
- package/lib/weapp/AnonymousUtils.js +0 -7
- package/lib/weapp/Cloud.js +0 -7
- package/lib/weapp/CoreManager.js +1 -8
- package/lib/weapp/EventEmitter.js +0 -7
- package/lib/weapp/FacebookUtils.js +0 -7
- package/lib/weapp/InstallationController.js +0 -7
- package/lib/weapp/LocalDatastoreUtils.js +0 -7
- package/lib/weapp/OfflineQuery.js +27 -8
- package/lib/weapp/Parse.js +0 -9
- package/lib/weapp/ParseACL.js +0 -7
- package/lib/weapp/ParseConfig.js +0 -7
- package/lib/weapp/ParseError.js +0 -9
- package/lib/weapp/ParseGeoPoint.js +0 -7
- package/lib/weapp/ParseObject.js +158 -126
- package/lib/weapp/ParsePolygon.js +0 -7
- package/lib/weapp/ParseRelation.js +0 -7
- package/lib/weapp/ParseSchema.js +0 -7
- package/lib/weapp/Push.js +0 -7
- package/lib/weapp/RESTController.js +0 -7
- package/lib/weapp/SingleInstanceStateController.js +0 -7
- package/lib/weapp/Storage.js +0 -7
- package/lib/weapp/StorageController.browser.js +0 -7
- package/lib/weapp/StorageController.default.js +0 -7
- package/lib/weapp/StorageController.react-native.js +0 -7
- package/lib/weapp/StorageController.weapp.js +0 -7
- package/lib/weapp/TaskQueue.js +0 -7
- package/lib/weapp/UniqueInstanceStateController.js +0 -7
- package/lib/weapp/arrayContainsObject.js +0 -7
- package/lib/weapp/canBeSerialized.js +0 -7
- package/lib/weapp/decode.js +0 -7
- package/lib/weapp/encode.js +0 -7
- package/lib/weapp/equals.js +0 -9
- package/lib/weapp/escape.js +0 -7
- package/lib/weapp/isRevocableSession.js +0 -7
- package/lib/weapp/parseDate.js +0 -7
- package/lib/weapp/unique.js +0 -7
- package/lib/weapp/unsavedChildren.js +0 -7
- package/package.json +11 -11
- package/PATENTS +0 -37
package/dist/parse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Parse JavaScript SDK v4.0.
|
|
2
|
+
* Parse JavaScript SDK v4.0.1
|
|
3
3
|
*
|
|
4
4
|
* The source tree of this library can be found at
|
|
5
5
|
* https://github.com/ParsePlatform/Parse-SDK-JS
|
|
@@ -19,13 +19,6 @@ exports.track = track;
|
|
|
19
19
|
|
|
20
20
|
var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
|
|
21
21
|
/**
|
|
22
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
23
|
-
* All rights reserved.
|
|
24
|
-
*
|
|
25
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
27
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
28
|
-
*
|
|
29
22
|
* @flow
|
|
30
23
|
*/
|
|
31
24
|
|
|
@@ -121,13 +114,6 @@ exports.default = void 0;
|
|
|
121
114
|
|
|
122
115
|
var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
|
|
123
116
|
/**
|
|
124
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
125
|
-
* All rights reserved.
|
|
126
|
-
*
|
|
127
|
-
* This source code is licensed under the BSD-style license found in the
|
|
128
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
129
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
130
|
-
*
|
|
131
117
|
* @flow-weak
|
|
132
118
|
*/
|
|
133
119
|
|
|
@@ -300,13 +286,6 @@ var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
|
|
|
300
286
|
|
|
301
287
|
var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
302
288
|
/**
|
|
303
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
304
|
-
* All rights reserved.
|
|
305
|
-
*
|
|
306
|
-
* This source code is licensed under the BSD-style license found in the
|
|
307
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
308
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
309
|
-
*
|
|
310
289
|
* @flow
|
|
311
290
|
*/
|
|
312
291
|
|
|
@@ -481,13 +460,6 @@ var _concat = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-sta
|
|
|
481
460
|
|
|
482
461
|
var _forEach = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/for-each"));
|
|
483
462
|
/*
|
|
484
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
485
|
-
* All rights reserved.
|
|
486
|
-
*
|
|
487
|
-
* This source code is licensed under the BSD-style license found in the
|
|
488
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
489
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
490
|
-
*
|
|
491
463
|
* @flow
|
|
492
464
|
*/
|
|
493
465
|
|
|
@@ -699,7 +671,7 @@ var config
|
|
|
699
671
|
SERVER_AUTH_TOKEN: null,
|
|
700
672
|
LIVEQUERY_SERVER_URL: null,
|
|
701
673
|
ENCRYPTED_KEY: null,
|
|
702
|
-
VERSION: 'js' + "4.0.
|
|
674
|
+
VERSION: 'js' + "4.0.1",
|
|
703
675
|
APPLICATION_ID: null,
|
|
704
676
|
JAVASCRIPT_KEY: null,
|
|
705
677
|
MASTER_KEY: null,
|
|
@@ -1019,13 +991,6 @@ module.exports = CryptoController;
|
|
|
1019
991
|
},{"@babel/runtime-corejs3/core-js-stable/json/stringify":76,"@babel/runtime-corejs3/helpers/interopRequireDefault":128,"crypto-js/aes":596,"crypto-js/enc-utf8":600}],6:[function(_dereq_,module,exports){
|
|
1020
992
|
"use strict";
|
|
1021
993
|
/**
|
|
1022
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
1023
|
-
* All rights reserved.
|
|
1024
|
-
*
|
|
1025
|
-
* This source code is licensed under the BSD-style license found in the
|
|
1026
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
1027
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
1028
|
-
*
|
|
1029
994
|
* This is a simple wrapper to unify EventEmitter implementations across platforms.
|
|
1030
995
|
*/
|
|
1031
996
|
|
|
@@ -2134,13 +2099,6 @@ exports.default = void 0;
|
|
|
2134
2099
|
|
|
2135
2100
|
var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
|
|
2136
2101
|
/**
|
|
2137
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
2138
|
-
* All rights reserved.
|
|
2139
|
-
*
|
|
2140
|
-
* This source code is licensed under the BSD-style license found in the
|
|
2141
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
2142
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
2143
|
-
*
|
|
2144
2102
|
* @flow-weak
|
|
2145
2103
|
*/
|
|
2146
2104
|
|
|
@@ -2439,13 +2397,6 @@ var _promise = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
|
|
|
2439
2397
|
|
|
2440
2398
|
var _Storage = _interopRequireDefault(_dereq_("./Storage"));
|
|
2441
2399
|
/**
|
|
2442
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
2443
|
-
* All rights reserved.
|
|
2444
|
-
*
|
|
2445
|
-
* This source code is licensed under the BSD-style license found in the
|
|
2446
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
2447
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
2448
|
-
*
|
|
2449
2400
|
* @flow
|
|
2450
2401
|
*/
|
|
2451
2402
|
|
|
@@ -5517,13 +5468,6 @@ exports.isLocalDatastoreKey = isLocalDatastoreKey;
|
|
|
5517
5468
|
|
|
5518
5469
|
var _startsWith = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/starts-with"));
|
|
5519
5470
|
/**
|
|
5520
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
5521
|
-
* All rights reserved.
|
|
5522
|
-
*
|
|
5523
|
-
* This source code is licensed under the BSD-style license found in the
|
|
5524
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
5525
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
5526
|
-
*
|
|
5527
5471
|
* @flow
|
|
5528
5472
|
* @private
|
|
5529
5473
|
*/
|
|
@@ -5863,10 +5807,10 @@ var _slice = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stab
|
|
|
5863
5807
|
|
|
5864
5808
|
var _filter = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/filter"));
|
|
5865
5809
|
|
|
5866
|
-
var _isArray = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/array/is-array"));
|
|
5867
|
-
|
|
5868
5810
|
var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
|
|
5869
5811
|
|
|
5812
|
+
var _isArray = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/array/is-array"));
|
|
5813
|
+
|
|
5870
5814
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
5871
5815
|
var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"];
|
|
5872
5816
|
|
|
@@ -5983,6 +5927,25 @@ function contains(haystack, needle) {
|
|
|
5983
5927
|
return false;
|
|
5984
5928
|
}
|
|
5985
5929
|
|
|
5930
|
+
if ((0, _isArray.default)(needle)) {
|
|
5931
|
+
var _iterator = _createForOfIteratorHelper(needle),
|
|
5932
|
+
_step;
|
|
5933
|
+
|
|
5934
|
+
try {
|
|
5935
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5936
|
+
var need = _step.value;
|
|
5937
|
+
|
|
5938
|
+
if (contains(haystack, need)) {
|
|
5939
|
+
return true;
|
|
5940
|
+
}
|
|
5941
|
+
}
|
|
5942
|
+
} catch (err) {
|
|
5943
|
+
_iterator.e(err);
|
|
5944
|
+
} finally {
|
|
5945
|
+
_iterator.f();
|
|
5946
|
+
}
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5986
5949
|
return (0, _indexOf.default)(haystack).call(haystack, needle) > -1;
|
|
5987
5950
|
}
|
|
5988
5951
|
|
|
@@ -6540,21 +6503,21 @@ function matchesKeyConstraints(className, object, objects, key, constraints) {
|
|
|
6540
6503
|
|
|
6541
6504
|
case '$containedBy':
|
|
6542
6505
|
{
|
|
6543
|
-
var
|
|
6544
|
-
|
|
6506
|
+
var _iterator2 = _createForOfIteratorHelper(object[key]),
|
|
6507
|
+
_step2;
|
|
6545
6508
|
|
|
6546
6509
|
try {
|
|
6547
|
-
for (
|
|
6548
|
-
var value =
|
|
6510
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
6511
|
+
var value = _step2.value;
|
|
6549
6512
|
|
|
6550
6513
|
if (!contains(compareTo, value)) {
|
|
6551
6514
|
return false;
|
|
6552
6515
|
}
|
|
6553
6516
|
}
|
|
6554
6517
|
} catch (err) {
|
|
6555
|
-
|
|
6518
|
+
_iterator2.e(err);
|
|
6556
6519
|
} finally {
|
|
6557
|
-
|
|
6520
|
+
_iterator2.f();
|
|
6558
6521
|
}
|
|
6559
6522
|
|
|
6560
6523
|
return true;
|
|
@@ -6720,15 +6683,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
6720
6683
|
|
|
6721
6684
|
return newObj;
|
|
6722
6685
|
}
|
|
6723
|
-
/**
|
|
6724
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
6725
|
-
* All rights reserved.
|
|
6726
|
-
*
|
|
6727
|
-
* This source code is licensed under the BSD-style license found in the
|
|
6728
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
6729
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
6730
|
-
*/
|
|
6731
|
-
|
|
6732
6686
|
/**
|
|
6733
6687
|
* Contains all Parse API classes and functions.
|
|
6734
6688
|
*
|
|
@@ -7133,13 +7087,6 @@ var _ParseRole = _interopRequireDefault(_dereq_("./ParseRole"));
|
|
|
7133
7087
|
|
|
7134
7088
|
var _ParseUser = _interopRequireDefault(_dereq_("./ParseUser"));
|
|
7135
7089
|
/**
|
|
7136
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
7137
|
-
* All rights reserved.
|
|
7138
|
-
*
|
|
7139
|
-
* This source code is licensed under the BSD-style license found in the
|
|
7140
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
7141
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
7142
|
-
*
|
|
7143
7090
|
* @flow
|
|
7144
7091
|
*/
|
|
7145
7092
|
|
|
@@ -8617,13 +8564,6 @@ var _ParseError = _interopRequireDefault(_dereq_("./ParseError"));
|
|
|
8617
8564
|
|
|
8618
8565
|
var _Storage = _interopRequireDefault(_dereq_("./Storage"));
|
|
8619
8566
|
/**
|
|
8620
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
8621
|
-
* All rights reserved.
|
|
8622
|
-
*
|
|
8623
|
-
* This source code is licensed under the BSD-style license found in the
|
|
8624
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
8625
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8626
|
-
*
|
|
8627
8567
|
* @flow
|
|
8628
8568
|
*/
|
|
8629
8569
|
|
|
@@ -8951,15 +8891,6 @@ function _isNativeReflectConstruct() {
|
|
|
8951
8891
|
return false;
|
|
8952
8892
|
}
|
|
8953
8893
|
}
|
|
8954
|
-
/**
|
|
8955
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
8956
|
-
* All rights reserved.
|
|
8957
|
-
*
|
|
8958
|
-
* This source code is licensed under the BSD-style license found in the
|
|
8959
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
8960
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
8961
|
-
*/
|
|
8962
|
-
|
|
8963
8894
|
/**
|
|
8964
8895
|
* Constructs a new Parse.Error object with the given code and message.
|
|
8965
8896
|
*
|
|
@@ -10748,13 +10679,6 @@ var _createClass2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpe
|
|
|
10748
10679
|
|
|
10749
10680
|
var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
10750
10681
|
/**
|
|
10751
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
10752
|
-
* All rights reserved.
|
|
10753
|
-
*
|
|
10754
|
-
* This source code is licensed under the BSD-style license found in the
|
|
10755
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
10756
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
10757
|
-
*
|
|
10758
10682
|
* @flow
|
|
10759
10683
|
*/
|
|
10760
10684
|
|
|
@@ -11729,6 +11653,8 @@ var _map = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable
|
|
|
11729
11653
|
|
|
11730
11654
|
var _find = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/find"));
|
|
11731
11655
|
|
|
11656
|
+
var _toConsumableArray2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/helpers/toConsumableArray"));
|
|
11657
|
+
|
|
11732
11658
|
var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/object/define-property"));
|
|
11733
11659
|
|
|
11734
11660
|
var _create = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/object/create"));
|
|
@@ -11908,12 +11834,12 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
11908
11834
|
}
|
|
11909
11835
|
|
|
11910
11836
|
function _unsupportedIterableToArray(o, minLen) {
|
|
11911
|
-
var
|
|
11837
|
+
var _context21;
|
|
11912
11838
|
|
|
11913
11839
|
if (!o) return;
|
|
11914
11840
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
11915
11841
|
|
|
11916
|
-
var n = _sliceInstanceProperty(
|
|
11842
|
+
var n = _sliceInstanceProperty(_context21 = Object.prototype.toString.call(o)).call(_context21, 8, -1);
|
|
11917
11843
|
|
|
11918
11844
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
11919
11845
|
if (n === "Map" || n === "Set") return _Array$from(o);
|
|
@@ -12045,9 +11971,9 @@ function _regeneratorRuntime() {
|
|
|
12045
11971
|
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create2(IteratorPrototype);
|
|
12046
11972
|
|
|
12047
11973
|
function defineIteratorMethods(prototype) {
|
|
12048
|
-
var
|
|
11974
|
+
var _context19;
|
|
12049
11975
|
|
|
12050
|
-
_forEachInstanceProperty2(
|
|
11976
|
+
_forEachInstanceProperty2(_context19 = ["next", "throw", "return"]).call(_context19, function (method) {
|
|
12051
11977
|
define(prototype, method, function (arg) {
|
|
12052
11978
|
return this._invoke(method, arg);
|
|
12053
11979
|
});
|
|
@@ -12195,9 +12121,9 @@ function _regeneratorRuntime() {
|
|
|
12195
12121
|
}, exports.values = values, Context.prototype = {
|
|
12196
12122
|
constructor: Context,
|
|
12197
12123
|
reset: function (skipTempReset) {
|
|
12198
|
-
var
|
|
12124
|
+
var _context20;
|
|
12199
12125
|
|
|
12200
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty2(
|
|
12126
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, _forEachInstanceProperty2(_context20 = this.tryEntries).call(_context20, resetTryEntry), !skipTempReset) for (var name in this) {
|
|
12201
12127
|
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined);
|
|
12202
12128
|
}
|
|
12203
12129
|
},
|
|
@@ -12304,12 +12230,12 @@ function ownKeys(object, enumerableOnly) {
|
|
|
12304
12230
|
|
|
12305
12231
|
function _objectSpread(target) {
|
|
12306
12232
|
for (var i = 1; i < arguments.length; i++) {
|
|
12307
|
-
var
|
|
12233
|
+
var _context17, _context18;
|
|
12308
12234
|
|
|
12309
12235
|
var source = null != arguments[i] ? arguments[i] : {};
|
|
12310
|
-
i % 2 ? _forEachInstanceProperty2(
|
|
12236
|
+
i % 2 ? _forEachInstanceProperty2(_context17 = ownKeys(Object(source), !0)).call(_context17, function (key) {
|
|
12311
12237
|
(0, _defineProperty3.default)(target, key, source[key]);
|
|
12312
|
-
}) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty2(
|
|
12238
|
+
}) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty2(_context18 = ownKeys(Object(source))).call(_context18, function (key) {
|
|
12313
12239
|
_Object$defineProperty2(target, key, _Object$getOwnPropertyDescriptor(source, key));
|
|
12314
12240
|
});
|
|
12315
12241
|
}
|
|
@@ -14980,8 +14906,6 @@ var ParseObject = /*#__PURE__*/function () {
|
|
|
14980
14906
|
|
|
14981
14907
|
if (this.hasOwnProperty('__super__') && this.__super__) {
|
|
14982
14908
|
parentProto = this.prototype;
|
|
14983
|
-
} else if (classMap[adjustedClassName]) {
|
|
14984
|
-
parentProto = classMap[adjustedClassName].prototype;
|
|
14985
14909
|
}
|
|
14986
14910
|
|
|
14987
14911
|
var ParseObjectSubclass = function ParseObjectSubclass(attributes, options) {
|
|
@@ -14992,6 +14916,22 @@ var ParseObject = /*#__PURE__*/function () {
|
|
|
14992
14916
|
this.initialize.apply(this, arguments);
|
|
14993
14917
|
}
|
|
14994
14918
|
|
|
14919
|
+
if (this._initializers) {
|
|
14920
|
+
var _iterator2 = _createForOfIteratorHelper(this._initializers),
|
|
14921
|
+
_step2;
|
|
14922
|
+
|
|
14923
|
+
try {
|
|
14924
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
14925
|
+
var initializer = _step2.value;
|
|
14926
|
+
initializer.apply(this, arguments);
|
|
14927
|
+
}
|
|
14928
|
+
} catch (err) {
|
|
14929
|
+
_iterator2.e(err);
|
|
14930
|
+
} finally {
|
|
14931
|
+
_iterator2.f();
|
|
14932
|
+
}
|
|
14933
|
+
}
|
|
14934
|
+
|
|
14995
14935
|
if (attributes && (0, _typeof2.default)(attributes) === 'object') {
|
|
14996
14936
|
if (!this.set(attributes || {}, options)) {
|
|
14997
14937
|
throw new Error("Can't create an invalid Parse Object");
|
|
@@ -14999,19 +14939,44 @@ var ParseObject = /*#__PURE__*/function () {
|
|
|
14999
14939
|
}
|
|
15000
14940
|
};
|
|
15001
14941
|
|
|
15002
|
-
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
-
|
|
15009
|
-
|
|
15010
|
-
|
|
15011
|
-
|
|
14942
|
+
if (classMap[adjustedClassName]) {
|
|
14943
|
+
ParseObjectSubclass = classMap[adjustedClassName];
|
|
14944
|
+
} else {
|
|
14945
|
+
ParseObjectSubclass.extend = function (name, protoProps, classProps) {
|
|
14946
|
+
if (typeof name === 'string') {
|
|
14947
|
+
return ParseObject.extend.call(ParseObjectSubclass, name, protoProps, classProps);
|
|
14948
|
+
}
|
|
14949
|
+
|
|
14950
|
+
return ParseObject.extend.call(ParseObjectSubclass, adjustedClassName, name, protoProps);
|
|
14951
|
+
};
|
|
14952
|
+
|
|
14953
|
+
ParseObjectSubclass.createWithoutData = ParseObject.createWithoutData;
|
|
14954
|
+
ParseObjectSubclass.className = adjustedClassName;
|
|
14955
|
+
ParseObjectSubclass.__super__ = parentProto;
|
|
14956
|
+
ParseObjectSubclass.prototype = (0, _create.default)(parentProto, {
|
|
14957
|
+
constructor: {
|
|
14958
|
+
value: ParseObjectSubclass,
|
|
14959
|
+
enumerable: false,
|
|
14960
|
+
writable: true,
|
|
14961
|
+
configurable: true
|
|
14962
|
+
}
|
|
14963
|
+
});
|
|
14964
|
+
}
|
|
15012
14965
|
|
|
15013
14966
|
if (protoProps) {
|
|
15014
14967
|
for (var prop in protoProps) {
|
|
14968
|
+
if (prop === 'initialize') {
|
|
14969
|
+
var _context9;
|
|
14970
|
+
|
|
14971
|
+
(0, _defineProperty2.default)(ParseObjectSubclass.prototype, '_initializers', {
|
|
14972
|
+
value: (0, _concat.default)(_context9 = []).call(_context9, (0, _toConsumableArray2.default)(ParseObjectSubclass.prototype._initializers || []), [protoProps[prop]]),
|
|
14973
|
+
enumerable: false,
|
|
14974
|
+
writable: true,
|
|
14975
|
+
configurable: true
|
|
14976
|
+
});
|
|
14977
|
+
continue;
|
|
14978
|
+
}
|
|
14979
|
+
|
|
15015
14980
|
if (prop !== 'className') {
|
|
15016
14981
|
(0, _defineProperty2.default)(ParseObjectSubclass.prototype, prop, {
|
|
15017
14982
|
value: protoProps[prop],
|
|
@@ -15036,15 +15001,6 @@ var ParseObject = /*#__PURE__*/function () {
|
|
|
15036
15001
|
}
|
|
15037
15002
|
}
|
|
15038
15003
|
|
|
15039
|
-
ParseObjectSubclass.extend = function (name, protoProps, classProps) {
|
|
15040
|
-
if (typeof name === 'string') {
|
|
15041
|
-
return ParseObject.extend.call(ParseObjectSubclass, name, protoProps, classProps);
|
|
15042
|
-
}
|
|
15043
|
-
|
|
15044
|
-
return ParseObject.extend.call(ParseObjectSubclass, adjustedClassName, name, protoProps);
|
|
15045
|
-
};
|
|
15046
|
-
|
|
15047
|
-
ParseObjectSubclass.createWithoutData = ParseObject.createWithoutData;
|
|
15048
15004
|
classMap[adjustedClassName] = ParseObjectSubclass;
|
|
15049
15005
|
return ParseObjectSubclass;
|
|
15050
15006
|
}
|
|
@@ -15325,11 +15281,11 @@ var DefaultController = {
|
|
|
15325
15281
|
query._limit = ids.length;
|
|
15326
15282
|
return (0, _find.default)(query).call(query, options).then( /*#__PURE__*/function () {
|
|
15327
15283
|
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(objects) {
|
|
15328
|
-
var idMap, i, obj, _i, _obj, id,
|
|
15284
|
+
var idMap, i, obj, _i, _obj, id, _iterator3, _step3, object;
|
|
15329
15285
|
|
|
15330
|
-
return _regeneratorRuntime().wrap(function _callee6$(
|
|
15286
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context10) {
|
|
15331
15287
|
while (1) {
|
|
15332
|
-
switch (
|
|
15288
|
+
switch (_context10.prev = _context10.next) {
|
|
15333
15289
|
case 0:
|
|
15334
15290
|
idMap = {};
|
|
15335
15291
|
(0, _forEach.default)(objects).call(objects, function (o) {
|
|
@@ -15339,27 +15295,27 @@ var DefaultController = {
|
|
|
15339
15295
|
|
|
15340
15296
|
case 3:
|
|
15341
15297
|
if (!(i < objs.length)) {
|
|
15342
|
-
|
|
15298
|
+
_context10.next = 11;
|
|
15343
15299
|
break;
|
|
15344
15300
|
}
|
|
15345
15301
|
|
|
15346
15302
|
obj = objs[i];
|
|
15347
15303
|
|
|
15348
15304
|
if (!(!obj || !obj.id || !idMap[obj.id])) {
|
|
15349
|
-
|
|
15305
|
+
_context10.next = 8;
|
|
15350
15306
|
break;
|
|
15351
15307
|
}
|
|
15352
15308
|
|
|
15353
15309
|
if (!forceFetch) {
|
|
15354
|
-
|
|
15310
|
+
_context10.next = 8;
|
|
15355
15311
|
break;
|
|
15356
15312
|
}
|
|
15357
15313
|
|
|
15358
|
-
return
|
|
15314
|
+
return _context10.abrupt("return", _promise.default.reject(new _ParseError.default(_ParseError.default.OBJECT_NOT_FOUND, 'All objects must exist on the server.')));
|
|
15359
15315
|
|
|
15360
15316
|
case 8:
|
|
15361
15317
|
i++;
|
|
15362
|
-
|
|
15318
|
+
_context10.next = 3;
|
|
15363
15319
|
break;
|
|
15364
15320
|
|
|
15365
15321
|
case 11:
|
|
@@ -15378,48 +15334,48 @@ var DefaultController = {
|
|
|
15378
15334
|
}
|
|
15379
15335
|
}
|
|
15380
15336
|
|
|
15381
|
-
|
|
15382
|
-
|
|
15337
|
+
_iterator3 = _createForOfIteratorHelper(results);
|
|
15338
|
+
_context10.prev = 13;
|
|
15383
15339
|
|
|
15384
|
-
|
|
15340
|
+
_iterator3.s();
|
|
15385
15341
|
|
|
15386
15342
|
case 15:
|
|
15387
|
-
if ((
|
|
15388
|
-
|
|
15343
|
+
if ((_step3 = _iterator3.n()).done) {
|
|
15344
|
+
_context10.next = 21;
|
|
15389
15345
|
break;
|
|
15390
15346
|
}
|
|
15391
15347
|
|
|
15392
|
-
object =
|
|
15393
|
-
|
|
15348
|
+
object = _step3.value;
|
|
15349
|
+
_context10.next = 19;
|
|
15394
15350
|
return localDatastore._updateObjectIfPinned(object);
|
|
15395
15351
|
|
|
15396
15352
|
case 19:
|
|
15397
|
-
|
|
15353
|
+
_context10.next = 15;
|
|
15398
15354
|
break;
|
|
15399
15355
|
|
|
15400
15356
|
case 21:
|
|
15401
|
-
|
|
15357
|
+
_context10.next = 26;
|
|
15402
15358
|
break;
|
|
15403
15359
|
|
|
15404
15360
|
case 23:
|
|
15405
|
-
|
|
15406
|
-
|
|
15361
|
+
_context10.prev = 23;
|
|
15362
|
+
_context10.t0 = _context10["catch"](13);
|
|
15407
15363
|
|
|
15408
|
-
|
|
15364
|
+
_iterator3.e(_context10.t0);
|
|
15409
15365
|
|
|
15410
15366
|
case 26:
|
|
15411
|
-
|
|
15367
|
+
_context10.prev = 26;
|
|
15412
15368
|
|
|
15413
|
-
|
|
15369
|
+
_iterator3.f();
|
|
15414
15370
|
|
|
15415
|
-
return
|
|
15371
|
+
return _context10.finish(26);
|
|
15416
15372
|
|
|
15417
15373
|
case 29:
|
|
15418
|
-
return
|
|
15374
|
+
return _context10.abrupt("return", _promise.default.resolve(results));
|
|
15419
15375
|
|
|
15420
15376
|
case 30:
|
|
15421
15377
|
case "end":
|
|
15422
|
-
return
|
|
15378
|
+
return _context10.stop();
|
|
15423
15379
|
}
|
|
15424
15380
|
}
|
|
15425
15381
|
}, _callee6, null, [[13, 23, 26, 29]]);
|
|
@@ -15444,9 +15400,9 @@ var DefaultController = {
|
|
|
15444
15400
|
|
|
15445
15401
|
return RESTController.request('GET', 'classes/' + target.className + '/' + target._getId(), params, options).then( /*#__PURE__*/function () {
|
|
15446
15402
|
var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(response) {
|
|
15447
|
-
return _regeneratorRuntime().wrap(function _callee7$(
|
|
15403
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context11) {
|
|
15448
15404
|
while (1) {
|
|
15449
|
-
switch (
|
|
15405
|
+
switch (_context11.prev = _context11.next) {
|
|
15450
15406
|
case 0:
|
|
15451
15407
|
target._clearPendingOps();
|
|
15452
15408
|
|
|
@@ -15454,15 +15410,15 @@ var DefaultController = {
|
|
|
15454
15410
|
|
|
15455
15411
|
target._finishFetch(response);
|
|
15456
15412
|
|
|
15457
|
-
|
|
15413
|
+
_context11.next = 5;
|
|
15458
15414
|
return localDatastore._updateObjectIfPinned(target);
|
|
15459
15415
|
|
|
15460
15416
|
case 5:
|
|
15461
|
-
return
|
|
15417
|
+
return _context11.abrupt("return", target);
|
|
15462
15418
|
|
|
15463
15419
|
case 6:
|
|
15464
15420
|
case "end":
|
|
15465
|
-
return
|
|
15421
|
+
return _context11.stop();
|
|
15466
15422
|
}
|
|
15467
15423
|
}
|
|
15468
15424
|
}, _callee7);
|
|
@@ -15485,25 +15441,25 @@ var DefaultController = {
|
|
|
15485
15441
|
{
|
|
15486
15442
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
|
|
15487
15443
|
var batchSize, localDatastore, RESTController, batches, deleteCompleted, errors;
|
|
15488
|
-
return _regeneratorRuntime().wrap(function _callee10$(
|
|
15444
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context14) {
|
|
15489
15445
|
while (1) {
|
|
15490
|
-
switch (
|
|
15446
|
+
switch (_context14.prev = _context14.next) {
|
|
15491
15447
|
case 0:
|
|
15492
15448
|
batchSize = options && options.batchSize ? options.batchSize : _CoreManager.default.get('REQUEST_BATCH_SIZE');
|
|
15493
15449
|
localDatastore = _CoreManager.default.getLocalDatastore();
|
|
15494
15450
|
RESTController = _CoreManager.default.getRESTController();
|
|
15495
15451
|
|
|
15496
15452
|
if (!(0, _isArray.default)(target)) {
|
|
15497
|
-
|
|
15453
|
+
_context14.next = 15;
|
|
15498
15454
|
break;
|
|
15499
15455
|
}
|
|
15500
15456
|
|
|
15501
15457
|
if (!(target.length < 1)) {
|
|
15502
|
-
|
|
15458
|
+
_context14.next = 6;
|
|
15503
15459
|
break;
|
|
15504
15460
|
}
|
|
15505
15461
|
|
|
15506
|
-
return
|
|
15462
|
+
return _context14.abrupt("return", _promise.default.resolve([]));
|
|
15507
15463
|
|
|
15508
15464
|
case 6:
|
|
15509
15465
|
batches = [[]];
|
|
@@ -15547,65 +15503,65 @@ var DefaultController = {
|
|
|
15547
15503
|
});
|
|
15548
15504
|
});
|
|
15549
15505
|
});
|
|
15550
|
-
return
|
|
15551
|
-
var aggregate,
|
|
15506
|
+
return _context14.abrupt("return", deleteCompleted.then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
15507
|
+
var aggregate, _iterator4, _step4, object;
|
|
15552
15508
|
|
|
15553
|
-
return _regeneratorRuntime().wrap(function _callee8$(
|
|
15509
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context12) {
|
|
15554
15510
|
while (1) {
|
|
15555
|
-
switch (
|
|
15511
|
+
switch (_context12.prev = _context12.next) {
|
|
15556
15512
|
case 0:
|
|
15557
15513
|
if (!errors.length) {
|
|
15558
|
-
|
|
15514
|
+
_context12.next = 4;
|
|
15559
15515
|
break;
|
|
15560
15516
|
}
|
|
15561
15517
|
|
|
15562
15518
|
aggregate = new _ParseError.default(_ParseError.default.AGGREGATE_ERROR);
|
|
15563
15519
|
aggregate.errors = errors;
|
|
15564
|
-
return
|
|
15520
|
+
return _context12.abrupt("return", _promise.default.reject(aggregate));
|
|
15565
15521
|
|
|
15566
15522
|
case 4:
|
|
15567
|
-
|
|
15568
|
-
|
|
15523
|
+
_iterator4 = _createForOfIteratorHelper(target);
|
|
15524
|
+
_context12.prev = 5;
|
|
15569
15525
|
|
|
15570
|
-
|
|
15526
|
+
_iterator4.s();
|
|
15571
15527
|
|
|
15572
15528
|
case 7:
|
|
15573
|
-
if ((
|
|
15574
|
-
|
|
15529
|
+
if ((_step4 = _iterator4.n()).done) {
|
|
15530
|
+
_context12.next = 13;
|
|
15575
15531
|
break;
|
|
15576
15532
|
}
|
|
15577
15533
|
|
|
15578
|
-
object =
|
|
15579
|
-
|
|
15534
|
+
object = _step4.value;
|
|
15535
|
+
_context12.next = 11;
|
|
15580
15536
|
return localDatastore._destroyObjectIfPinned(object);
|
|
15581
15537
|
|
|
15582
15538
|
case 11:
|
|
15583
|
-
|
|
15539
|
+
_context12.next = 7;
|
|
15584
15540
|
break;
|
|
15585
15541
|
|
|
15586
15542
|
case 13:
|
|
15587
|
-
|
|
15543
|
+
_context12.next = 18;
|
|
15588
15544
|
break;
|
|
15589
15545
|
|
|
15590
15546
|
case 15:
|
|
15591
|
-
|
|
15592
|
-
|
|
15547
|
+
_context12.prev = 15;
|
|
15548
|
+
_context12.t0 = _context12["catch"](5);
|
|
15593
15549
|
|
|
15594
|
-
|
|
15550
|
+
_iterator4.e(_context12.t0);
|
|
15595
15551
|
|
|
15596
15552
|
case 18:
|
|
15597
|
-
|
|
15553
|
+
_context12.prev = 18;
|
|
15598
15554
|
|
|
15599
|
-
|
|
15555
|
+
_iterator4.f();
|
|
15600
15556
|
|
|
15601
|
-
return
|
|
15557
|
+
return _context12.finish(18);
|
|
15602
15558
|
|
|
15603
15559
|
case 21:
|
|
15604
|
-
return
|
|
15560
|
+
return _context12.abrupt("return", _promise.default.resolve(target));
|
|
15605
15561
|
|
|
15606
15562
|
case 22:
|
|
15607
15563
|
case "end":
|
|
15608
|
-
return
|
|
15564
|
+
return _context12.stop();
|
|
15609
15565
|
}
|
|
15610
15566
|
}
|
|
15611
15567
|
}, _callee8, null, [[5, 15, 18, 21]]);
|
|
@@ -15613,35 +15569,35 @@ var DefaultController = {
|
|
|
15613
15569
|
|
|
15614
15570
|
case 15:
|
|
15615
15571
|
if (!(target instanceof ParseObject)) {
|
|
15616
|
-
|
|
15572
|
+
_context14.next = 17;
|
|
15617
15573
|
break;
|
|
15618
15574
|
}
|
|
15619
15575
|
|
|
15620
|
-
return
|
|
15621
|
-
return _regeneratorRuntime().wrap(function _callee9$(
|
|
15576
|
+
return _context14.abrupt("return", RESTController.request('DELETE', 'classes/' + target.className + '/' + target._getId(), {}, options).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
|
|
15577
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context13) {
|
|
15622
15578
|
while (1) {
|
|
15623
|
-
switch (
|
|
15579
|
+
switch (_context13.prev = _context13.next) {
|
|
15624
15580
|
case 0:
|
|
15625
|
-
|
|
15581
|
+
_context13.next = 2;
|
|
15626
15582
|
return localDatastore._destroyObjectIfPinned(target);
|
|
15627
15583
|
|
|
15628
15584
|
case 2:
|
|
15629
|
-
return
|
|
15585
|
+
return _context13.abrupt("return", _promise.default.resolve(target));
|
|
15630
15586
|
|
|
15631
15587
|
case 3:
|
|
15632
15588
|
case "end":
|
|
15633
|
-
return
|
|
15589
|
+
return _context13.stop();
|
|
15634
15590
|
}
|
|
15635
15591
|
}
|
|
15636
15592
|
}, _callee9);
|
|
15637
15593
|
}))));
|
|
15638
15594
|
|
|
15639
15595
|
case 17:
|
|
15640
|
-
return
|
|
15596
|
+
return _context14.abrupt("return", _promise.default.resolve(target));
|
|
15641
15597
|
|
|
15642
15598
|
case 18:
|
|
15643
15599
|
case "end":
|
|
15644
|
-
return
|
|
15600
|
+
return _context14.stop();
|
|
15645
15601
|
}
|
|
15646
15602
|
}
|
|
15647
15603
|
}, _callee10);
|
|
@@ -15768,66 +15724,66 @@ var DefaultController = {
|
|
|
15768
15724
|
});
|
|
15769
15725
|
return (0, _promiseUtils.when)(batchTasks);
|
|
15770
15726
|
}).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
|
|
15771
|
-
var
|
|
15727
|
+
var _iterator5, _step5, object;
|
|
15772
15728
|
|
|
15773
|
-
return _regeneratorRuntime().wrap(function _callee11$(
|
|
15729
|
+
return _regeneratorRuntime().wrap(function _callee11$(_context15) {
|
|
15774
15730
|
while (1) {
|
|
15775
|
-
switch (
|
|
15731
|
+
switch (_context15.prev = _context15.next) {
|
|
15776
15732
|
case 0:
|
|
15777
15733
|
if (!objectError) {
|
|
15778
|
-
|
|
15734
|
+
_context15.next = 2;
|
|
15779
15735
|
break;
|
|
15780
15736
|
}
|
|
15781
15737
|
|
|
15782
|
-
return
|
|
15738
|
+
return _context15.abrupt("return", _promise.default.reject(objectError));
|
|
15783
15739
|
|
|
15784
15740
|
case 2:
|
|
15785
|
-
|
|
15786
|
-
|
|
15741
|
+
_iterator5 = _createForOfIteratorHelper(target);
|
|
15742
|
+
_context15.prev = 3;
|
|
15787
15743
|
|
|
15788
|
-
|
|
15744
|
+
_iterator5.s();
|
|
15789
15745
|
|
|
15790
15746
|
case 5:
|
|
15791
|
-
if ((
|
|
15792
|
-
|
|
15747
|
+
if ((_step5 = _iterator5.n()).done) {
|
|
15748
|
+
_context15.next = 13;
|
|
15793
15749
|
break;
|
|
15794
15750
|
}
|
|
15795
15751
|
|
|
15796
|
-
object =
|
|
15797
|
-
|
|
15752
|
+
object = _step5.value;
|
|
15753
|
+
_context15.next = 9;
|
|
15798
15754
|
return localDatastore._updateLocalIdForObject(mapIdForPin[object.id], object);
|
|
15799
15755
|
|
|
15800
15756
|
case 9:
|
|
15801
|
-
|
|
15757
|
+
_context15.next = 11;
|
|
15802
15758
|
return localDatastore._updateObjectIfPinned(object);
|
|
15803
15759
|
|
|
15804
15760
|
case 11:
|
|
15805
|
-
|
|
15761
|
+
_context15.next = 5;
|
|
15806
15762
|
break;
|
|
15807
15763
|
|
|
15808
15764
|
case 13:
|
|
15809
|
-
|
|
15765
|
+
_context15.next = 18;
|
|
15810
15766
|
break;
|
|
15811
15767
|
|
|
15812
15768
|
case 15:
|
|
15813
|
-
|
|
15814
|
-
|
|
15769
|
+
_context15.prev = 15;
|
|
15770
|
+
_context15.t0 = _context15["catch"](3);
|
|
15815
15771
|
|
|
15816
|
-
|
|
15772
|
+
_iterator5.e(_context15.t0);
|
|
15817
15773
|
|
|
15818
15774
|
case 18:
|
|
15819
|
-
|
|
15775
|
+
_context15.prev = 18;
|
|
15820
15776
|
|
|
15821
|
-
|
|
15777
|
+
_iterator5.f();
|
|
15822
15778
|
|
|
15823
|
-
return
|
|
15779
|
+
return _context15.finish(18);
|
|
15824
15780
|
|
|
15825
15781
|
case 21:
|
|
15826
|
-
return
|
|
15782
|
+
return _context15.abrupt("return", _promise.default.resolve(target));
|
|
15827
15783
|
|
|
15828
15784
|
case 22:
|
|
15829
15785
|
case "end":
|
|
15830
|
-
return
|
|
15786
|
+
return _context15.stop();
|
|
15831
15787
|
}
|
|
15832
15788
|
}
|
|
15833
15789
|
}, _callee11, null, [[3, 15, 18, 21]]);
|
|
@@ -15862,23 +15818,23 @@ var DefaultController = {
|
|
|
15862
15818
|
|
|
15863
15819
|
stateController.pushPendingState(target._getStateIdentifier());
|
|
15864
15820
|
return stateController.enqueueTask(target._getStateIdentifier(), task).then( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
|
|
15865
|
-
return _regeneratorRuntime().wrap(function _callee12$(
|
|
15821
|
+
return _regeneratorRuntime().wrap(function _callee12$(_context16) {
|
|
15866
15822
|
while (1) {
|
|
15867
|
-
switch (
|
|
15823
|
+
switch (_context16.prev = _context16.next) {
|
|
15868
15824
|
case 0:
|
|
15869
|
-
|
|
15825
|
+
_context16.next = 2;
|
|
15870
15826
|
return localDatastore._updateLocalIdForObject(localId, target);
|
|
15871
15827
|
|
|
15872
15828
|
case 2:
|
|
15873
|
-
|
|
15829
|
+
_context16.next = 4;
|
|
15874
15830
|
return localDatastore._updateObjectIfPinned(target);
|
|
15875
15831
|
|
|
15876
15832
|
case 4:
|
|
15877
|
-
return
|
|
15833
|
+
return _context16.abrupt("return", target);
|
|
15878
15834
|
|
|
15879
15835
|
case 5:
|
|
15880
15836
|
case "end":
|
|
15881
|
-
return
|
|
15837
|
+
return _context16.stop();
|
|
15882
15838
|
}
|
|
15883
15839
|
}
|
|
15884
15840
|
}, _callee12);
|
|
@@ -15895,7 +15851,7 @@ _CoreManager.default.setObjectController(DefaultController);
|
|
|
15895
15851
|
|
|
15896
15852
|
var _default = ParseObject;
|
|
15897
15853
|
exports.default = _default;
|
|
15898
|
-
},{"./CoreManager":4,"./EventuallyQueue":7,"./LocalDatastoreUtils":15,"./ParseACL":19,"./ParseError":22,"./ParseFile":23,"./ParseOp":28,"./ParseQuery":30,"./ParseRelation":31,"./SingleInstanceStateController":38,"./UniqueInstanceStateController":42,"./canBeSerialized":44,"./decode":45,"./encode":46,"./escape":48,"./parseDate":50,"./promiseUtils":51,"./unique":52,"./unsavedChildren":53,"./uuid":54,"@babel/runtime-corejs3/core-js-stable/array/from":55,"@babel/runtime-corejs3/core-js-stable/array/is-array":56,"@babel/runtime-corejs3/core-js-stable/instance/concat":58,"@babel/runtime-corejs3/core-js-stable/instance/filter":61,"@babel/runtime-corejs3/core-js-stable/instance/find":63,"@babel/runtime-corejs3/core-js-stable/instance/for-each":64,"@babel/runtime-corejs3/core-js-stable/instance/includes":65,"@babel/runtime-corejs3/core-js-stable/instance/index-of":66,"@babel/runtime-corejs3/core-js-stable/instance/map":68,"@babel/runtime-corejs3/core-js-stable/instance/reverse":70,"@babel/runtime-corejs3/core-js-stable/instance/slice":71,"@babel/runtime-corejs3/core-js-stable/json/stringify":76,"@babel/runtime-corejs3/core-js-stable/object/create":80,"@babel/runtime-corejs3/core-js-stable/object/define-properties":81,"@babel/runtime-corejs3/core-js-stable/object/define-property":82,"@babel/runtime-corejs3/core-js-stable/object/freeze":84,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor":85,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors":86,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols":87,"@babel/runtime-corejs3/core-js-stable/object/get-prototype-of":88,"@babel/runtime-corejs3/core-js-stable/object/keys":89,"@babel/runtime-corejs3/core-js-stable/object/set-prototype-of":90,"@babel/runtime-corejs3/core-js-stable/promise":92,"@babel/runtime-corejs3/core-js-stable/symbol":97,"@babel/runtime-corejs3/core-js-stable/weak-map":98,"@babel/runtime-corejs3/core-js/get-iterator-method":101,"@babel/runtime-corejs3/helpers/asyncToGenerator":120,"@babel/runtime-corejs3/helpers/classCallCheck":121,"@babel/runtime-corejs3/helpers/createClass":123,"@babel/runtime-corejs3/helpers/defineProperty":124,"@babel/runtime-corejs3/helpers/interopRequireDefault":128,"@babel/runtime-corejs3/helpers/typeof":140}],28:[function(_dereq_,module,exports){
|
|
15854
|
+
},{"./CoreManager":4,"./EventuallyQueue":7,"./LocalDatastoreUtils":15,"./ParseACL":19,"./ParseError":22,"./ParseFile":23,"./ParseOp":28,"./ParseQuery":30,"./ParseRelation":31,"./SingleInstanceStateController":38,"./UniqueInstanceStateController":42,"./canBeSerialized":44,"./decode":45,"./encode":46,"./escape":48,"./parseDate":50,"./promiseUtils":51,"./unique":52,"./unsavedChildren":53,"./uuid":54,"@babel/runtime-corejs3/core-js-stable/array/from":55,"@babel/runtime-corejs3/core-js-stable/array/is-array":56,"@babel/runtime-corejs3/core-js-stable/instance/concat":58,"@babel/runtime-corejs3/core-js-stable/instance/filter":61,"@babel/runtime-corejs3/core-js-stable/instance/find":63,"@babel/runtime-corejs3/core-js-stable/instance/for-each":64,"@babel/runtime-corejs3/core-js-stable/instance/includes":65,"@babel/runtime-corejs3/core-js-stable/instance/index-of":66,"@babel/runtime-corejs3/core-js-stable/instance/map":68,"@babel/runtime-corejs3/core-js-stable/instance/reverse":70,"@babel/runtime-corejs3/core-js-stable/instance/slice":71,"@babel/runtime-corejs3/core-js-stable/json/stringify":76,"@babel/runtime-corejs3/core-js-stable/object/create":80,"@babel/runtime-corejs3/core-js-stable/object/define-properties":81,"@babel/runtime-corejs3/core-js-stable/object/define-property":82,"@babel/runtime-corejs3/core-js-stable/object/freeze":84,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor":85,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors":86,"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols":87,"@babel/runtime-corejs3/core-js-stable/object/get-prototype-of":88,"@babel/runtime-corejs3/core-js-stable/object/keys":89,"@babel/runtime-corejs3/core-js-stable/object/set-prototype-of":90,"@babel/runtime-corejs3/core-js-stable/promise":92,"@babel/runtime-corejs3/core-js-stable/symbol":97,"@babel/runtime-corejs3/core-js-stable/weak-map":98,"@babel/runtime-corejs3/core-js/get-iterator-method":101,"@babel/runtime-corejs3/helpers/asyncToGenerator":120,"@babel/runtime-corejs3/helpers/classCallCheck":121,"@babel/runtime-corejs3/helpers/createClass":123,"@babel/runtime-corejs3/helpers/defineProperty":124,"@babel/runtime-corejs3/helpers/interopRequireDefault":128,"@babel/runtime-corejs3/helpers/toConsumableArray":139,"@babel/runtime-corejs3/helpers/typeof":140}],28:[function(_dereq_,module,exports){
|
|
15899
15855
|
"use strict";
|
|
15900
15856
|
|
|
15901
15857
|
var _interopRequireDefault = _dereq_("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
@@ -16750,13 +16706,6 @@ var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/he
|
|
|
16750
16706
|
|
|
16751
16707
|
var _ParseGeoPoint = _interopRequireDefault(_dereq_("./ParseGeoPoint"));
|
|
16752
16708
|
/**
|
|
16753
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
16754
|
-
* All rights reserved.
|
|
16755
|
-
*
|
|
16756
|
-
* This source code is licensed under the BSD-style license found in the
|
|
16757
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
16758
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
16759
|
-
*
|
|
16760
16709
|
* @flow
|
|
16761
16710
|
*/
|
|
16762
16711
|
|
|
@@ -20434,13 +20383,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
|
20434
20383
|
|
|
20435
20384
|
var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
|
|
20436
20385
|
/**
|
|
20437
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
20438
|
-
* All rights reserved.
|
|
20439
|
-
*
|
|
20440
|
-
* This source code is licensed under the BSD-style license found in the
|
|
20441
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
20442
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
20443
|
-
*
|
|
20444
20386
|
* @flow
|
|
20445
20387
|
*/
|
|
20446
20388
|
|
|
@@ -20907,13 +20849,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
|
20907
20849
|
|
|
20908
20850
|
var _ParseCLP = _interopRequireDefault(_dereq_("./ParseCLP"));
|
|
20909
20851
|
/**
|
|
20910
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
20911
|
-
* All rights reserved.
|
|
20912
|
-
*
|
|
20913
|
-
* This source code is licensed under the BSD-style license found in the
|
|
20914
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
20915
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
20916
|
-
*
|
|
20917
20852
|
* @flow
|
|
20918
20853
|
*/
|
|
20919
20854
|
|
|
@@ -24090,13 +24025,6 @@ var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
|
|
|
24090
24025
|
|
|
24091
24026
|
var _ParseQuery = _interopRequireDefault(_dereq_("./ParseQuery"));
|
|
24092
24027
|
/**
|
|
24093
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
24094
|
-
* All rights reserved.
|
|
24095
|
-
*
|
|
24096
|
-
* This source code is licensed under the BSD-style license found in the
|
|
24097
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
24098
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
24099
|
-
*
|
|
24100
24028
|
* @flow
|
|
24101
24029
|
*/
|
|
24102
24030
|
|
|
@@ -24288,13 +24216,6 @@ function _objectSpread(target) {
|
|
|
24288
24216
|
return target;
|
|
24289
24217
|
}
|
|
24290
24218
|
/**
|
|
24291
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
24292
|
-
* All rights reserved.
|
|
24293
|
-
*
|
|
24294
|
-
* This source code is licensed under the BSD-style license found in the
|
|
24295
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
24296
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
24297
|
-
*
|
|
24298
24219
|
* @flow
|
|
24299
24220
|
*/
|
|
24300
24221
|
|
|
@@ -24757,13 +24678,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
24757
24678
|
return newObj;
|
|
24758
24679
|
}
|
|
24759
24680
|
/**
|
|
24760
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
24761
|
-
* All rights reserved.
|
|
24762
|
-
*
|
|
24763
|
-
* This source code is licensed under the BSD-style license found in the
|
|
24764
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
24765
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
24766
|
-
*
|
|
24767
24681
|
* @flow
|
|
24768
24682
|
*/
|
|
24769
24683
|
|
|
@@ -24977,13 +24891,6 @@ var _promise = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
|
|
|
24977
24891
|
|
|
24978
24892
|
var _CoreManager = _interopRequireDefault(_dereq_("./CoreManager"));
|
|
24979
24893
|
/**
|
|
24980
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
24981
|
-
* All rights reserved.
|
|
24982
|
-
*
|
|
24983
|
-
* This source code is licensed under the BSD-style license found in the
|
|
24984
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
24985
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
24986
|
-
*
|
|
24987
24894
|
* @flow
|
|
24988
24895
|
*/
|
|
24989
24896
|
|
|
@@ -25133,13 +25040,6 @@ _CoreManager.default.setStorageController(_dereq_('./StorageController.browser')
|
|
|
25133
25040
|
},{"./CoreManager":4,"./StorageController.browser":40,"@babel/runtime-corejs3/core-js-stable/promise":92,"@babel/runtime-corejs3/helpers/interopRequireDefault":128}],40:[function(_dereq_,module,exports){
|
|
25134
25041
|
"use strict";
|
|
25135
25042
|
/**
|
|
25136
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25137
|
-
* All rights reserved.
|
|
25138
|
-
*
|
|
25139
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25140
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25141
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25142
|
-
*
|
|
25143
25043
|
* @flow
|
|
25144
25044
|
* @private
|
|
25145
25045
|
*/
|
|
@@ -25199,13 +25099,6 @@ var _defineProperty2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/he
|
|
|
25199
25099
|
|
|
25200
25100
|
var _promiseUtils = _dereq_("./promiseUtils");
|
|
25201
25101
|
/**
|
|
25202
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25203
|
-
* All rights reserved.
|
|
25204
|
-
*
|
|
25205
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25206
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25207
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25208
|
-
*
|
|
25209
25102
|
* @flow
|
|
25210
25103
|
*/
|
|
25211
25104
|
|
|
@@ -25361,13 +25254,6 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
25361
25254
|
return newObj;
|
|
25362
25255
|
}
|
|
25363
25256
|
/**
|
|
25364
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25365
|
-
* All rights reserved.
|
|
25366
|
-
*
|
|
25367
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25368
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25369
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25370
|
-
*
|
|
25371
25257
|
* @flow
|
|
25372
25258
|
*/
|
|
25373
25259
|
|
|
@@ -25600,13 +25486,6 @@ var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-st
|
|
|
25600
25486
|
|
|
25601
25487
|
var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
25602
25488
|
/**
|
|
25603
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25604
|
-
* All rights reserved.
|
|
25605
|
-
*
|
|
25606
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25607
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25608
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25609
|
-
*
|
|
25610
25489
|
* @flow
|
|
25611
25490
|
*/
|
|
25612
25491
|
|
|
@@ -25653,13 +25532,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
|
25653
25532
|
|
|
25654
25533
|
var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
|
|
25655
25534
|
/**
|
|
25656
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25657
|
-
* All rights reserved.
|
|
25658
|
-
*
|
|
25659
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25660
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25661
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25662
|
-
*
|
|
25663
25535
|
* @flow
|
|
25664
25536
|
*/
|
|
25665
25537
|
|
|
@@ -25762,13 +25634,6 @@ var _ParseOp = _dereq_("./ParseOp");
|
|
|
25762
25634
|
|
|
25763
25635
|
var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
|
|
25764
25636
|
/**
|
|
25765
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25766
|
-
* All rights reserved.
|
|
25767
|
-
*
|
|
25768
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25769
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25770
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25771
|
-
*
|
|
25772
25637
|
* @flow
|
|
25773
25638
|
*/
|
|
25774
25639
|
// eslint-disable-line no-unused-vars
|
|
@@ -25878,13 +25743,6 @@ var _ParseOp = _dereq_("./ParseOp");
|
|
|
25878
25743
|
|
|
25879
25744
|
var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
|
|
25880
25745
|
/**
|
|
25881
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
25882
|
-
* All rights reserved.
|
|
25883
|
-
*
|
|
25884
|
-
* This source code is licensed under the BSD-style license found in the
|
|
25885
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
25886
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
25887
|
-
*
|
|
25888
25746
|
* @flow
|
|
25889
25747
|
*/
|
|
25890
25748
|
|
|
@@ -26012,15 +25870,6 @@ var _ParseFile = _interopRequireDefault(_dereq_("./ParseFile"));
|
|
|
26012
25870
|
var _ParseGeoPoint = _interopRequireDefault(_dereq_("./ParseGeoPoint"));
|
|
26013
25871
|
|
|
26014
25872
|
var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
26015
|
-
/**
|
|
26016
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26017
|
-
* All rights reserved.
|
|
26018
|
-
*
|
|
26019
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26020
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26021
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26022
|
-
*/
|
|
26023
|
-
|
|
26024
25873
|
|
|
26025
25874
|
function equals(a, b) {
|
|
26026
25875
|
var toString = Object.prototype.toString;
|
|
@@ -26091,13 +25940,6 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
26091
25940
|
|
|
26092
25941
|
exports.default = escape;
|
|
26093
25942
|
/*
|
|
26094
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26095
|
-
* All rights reserved.
|
|
26096
|
-
*
|
|
26097
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26098
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26099
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26100
|
-
*
|
|
26101
25943
|
* @flow
|
|
26102
25944
|
*/
|
|
26103
25945
|
|
|
@@ -26134,13 +25976,6 @@ exports.default = isRevocableSession;
|
|
|
26134
25976
|
|
|
26135
25977
|
var _indexOf = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
|
|
26136
25978
|
/**
|
|
26137
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26138
|
-
* All rights reserved.
|
|
26139
|
-
*
|
|
26140
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26141
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26142
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26143
|
-
*
|
|
26144
25979
|
* @flow
|
|
26145
25980
|
*/
|
|
26146
25981
|
|
|
@@ -26167,13 +26002,6 @@ exports.default = parseDate;
|
|
|
26167
26002
|
|
|
26168
26003
|
var _parseInt2 = _interopRequireDefault(_dereq_("@babel/runtime-corejs3/core-js-stable/parse-int"));
|
|
26169
26004
|
/**
|
|
26170
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26171
|
-
* All rights reserved.
|
|
26172
|
-
*
|
|
26173
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26174
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26175
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26176
|
-
*
|
|
26177
26005
|
* @flow
|
|
26178
26006
|
*/
|
|
26179
26007
|
|
|
@@ -26320,13 +26148,6 @@ var _arrayContainsObject = _interopRequireDefault(_dereq_("./arrayContainsObject
|
|
|
26320
26148
|
|
|
26321
26149
|
var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
26322
26150
|
/**
|
|
26323
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26324
|
-
* All rights reserved.
|
|
26325
|
-
*
|
|
26326
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26327
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26328
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26329
|
-
*
|
|
26330
26151
|
* @flow
|
|
26331
26152
|
*/
|
|
26332
26153
|
|
|
@@ -26381,13 +26202,6 @@ var _ParseObject = _interopRequireDefault(_dereq_("./ParseObject"));
|
|
|
26381
26202
|
|
|
26382
26203
|
var _ParseRelation = _interopRequireDefault(_dereq_("./ParseRelation"));
|
|
26383
26204
|
/**
|
|
26384
|
-
* Copyright (c) 2015-present, Parse, LLC.
|
|
26385
|
-
* All rights reserved.
|
|
26386
|
-
*
|
|
26387
|
-
* This source code is licensed under the BSD-style license found in the
|
|
26388
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
|
26389
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
|
26390
|
-
*
|
|
26391
26205
|
* @flow
|
|
26392
26206
|
*/
|
|
26393
26207
|
|