Comparing version 5.1.0-alpha.7 to 5.1.0-alpha.8
@@ -195,3 +195,3 @@ "use strict"; | ||
ENCRYPTED_KEY: null, | ||
VERSION: 'js' + "5.1.0-alpha.7", | ||
VERSION: 'js' + "5.1.0-alpha.8", | ||
APPLICATION_ID: null, | ||
@@ -198,0 +198,0 @@ JAVASCRIPT_KEY: null, |
@@ -191,3 +191,3 @@ "use strict"; | ||
ENCRYPTED_KEY: null, | ||
VERSION: 'js' + "5.1.0-alpha.7", | ||
VERSION: 'js' + "5.1.0-alpha.8", | ||
APPLICATION_ID: null, | ||
@@ -194,0 +194,0 @@ JAVASCRIPT_KEY: null, |
@@ -15,3 +15,3 @@ Object.defineProperty(exports, "__esModule", { | ||
ENCRYPTED_KEY: null, | ||
VERSION: 'js' + "5.1.0-alpha.7", | ||
VERSION: 'js' + "5.1.0-alpha.8", | ||
APPLICATION_ID: null, | ||
@@ -18,0 +18,0 @@ JAVASCRIPT_KEY: null, |
@@ -394,6 +394,2 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
} | ||
var pending = this._getPendingOps(); | ||
for (var _attr6 in pending[0]) { | ||
json[_attr6] = pending[0][_attr6].toJSON(offline); | ||
} | ||
if (this.id) { | ||
@@ -445,9 +441,9 @@ json.objectId = this.id; | ||
for (var i = 0; i < pendingOps.length; i++) { | ||
for (var _attr7 in pendingOps[i]) { | ||
keys[_attr7] = true; | ||
for (var _attr6 in pendingOps[i]) { | ||
keys[_attr6] = true; | ||
} | ||
} | ||
var dirtyObjects = this._getDirtyObjectAttributes(); | ||
for (var _attr8 in dirtyObjects) { | ||
keys[_attr8] = true; | ||
for (var _attr7 in dirtyObjects) { | ||
keys[_attr7] = true; | ||
} | ||
@@ -575,7 +571,7 @@ return Object.keys(keys); | ||
var newValues = {}; | ||
for (var _attr9 in newOps) { | ||
if (newOps[_attr9] instanceof _ParseOp.RelationOp) { | ||
newValues[_attr9] = newOps[_attr9].applyTo(currentAttributes[_attr9], this, _attr9); | ||
} else if (!(newOps[_attr9] instanceof _ParseOp.UnsetOp)) { | ||
newValues[_attr9] = newOps[_attr9].applyTo(currentAttributes[_attr9]); | ||
for (var _attr8 in newOps) { | ||
if (newOps[_attr8] instanceof _ParseOp.RelationOp) { | ||
newValues[_attr8] = newOps[_attr8].applyTo(currentAttributes[_attr8], this, _attr8); | ||
} else if (!(newOps[_attr8] instanceof _ParseOp.UnsetOp)) { | ||
newValues[_attr8] = newOps[_attr8].applyTo(currentAttributes[_attr8]); | ||
} | ||
@@ -595,5 +591,5 @@ } | ||
var stateController = _CoreManager.default.getObjectStateController(); | ||
for (var _attr10 in newOps) { | ||
var nextOp = newOps[_attr10].mergeWith(pendingOps[last][_attr10]); | ||
stateController.setPendingOp(this._getStateIdentifier(), _attr10, nextOp); | ||
for (var _attr9 in newOps) { | ||
var nextOp = newOps[_attr9].mergeWith(pendingOps[last][_attr9]); | ||
stateController.setPendingOp(this._getStateIdentifier(), _attr9, nextOp); | ||
} | ||
@@ -806,5 +802,5 @@ return this; | ||
} | ||
for (var _attr11 in attributes) { | ||
if (readonly.indexOf(_attr11) < 0) { | ||
erasable[_attr11] = true; | ||
for (var _attr10 in attributes) { | ||
if (readonly.indexOf(_attr10) < 0) { | ||
erasable[_attr10] = true; | ||
} | ||
@@ -1144,7 +1140,7 @@ } | ||
var otherAttributes = {}; | ||
for (var _attr12 in json) { | ||
if (_attr12 !== 'className' && _attr12 !== '__type') { | ||
otherAttributes[_attr12] = json[_attr12]; | ||
for (var _attr11 in json) { | ||
if (_attr11 !== 'className' && _attr11 !== '__type') { | ||
otherAttributes[_attr11] = json[_attr11]; | ||
if (dirty) { | ||
o.set(_attr12, json[_attr12]); | ||
o.set(_attr11, json[_attr11]); | ||
} | ||
@@ -1151,0 +1147,0 @@ } |
@@ -195,3 +195,3 @@ "use strict"; | ||
ENCRYPTED_KEY: null, | ||
VERSION: 'js' + "5.1.0-alpha.7", | ||
VERSION: 'js' + "5.1.0-alpha.8", | ||
APPLICATION_ID: null, | ||
@@ -198,0 +198,0 @@ JAVASCRIPT_KEY: null, |
{ | ||
"name": "parse", | ||
"version": "5.1.0-alpha.7", | ||
"version": "5.1.0-alpha.8", | ||
"description": "Parse JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "homepage": "https://parseplatform.org", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5720076
121961