Socket
Socket
Sign inDemoInstall

parse

Package Overview
Dependencies
12
Maintainers
11
Versions
180
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-alpha.2 to 5.0.0-alpha.3

2

lib/browser/CoreManager.js

@@ -190,3 +190,3 @@ "use strict";

ENCRYPTED_KEY: null,
VERSION: 'js' + "5.0.0-alpha.2",
VERSION: 'js' + "5.0.0-alpha.3",
APPLICATION_ID: null,

@@ -193,0 +193,0 @@ JAVASCRIPT_KEY: null,

@@ -186,3 +186,3 @@ "use strict";

ENCRYPTED_KEY: null,
VERSION: 'js' + "5.0.0-alpha.2",
VERSION: 'js' + "5.0.0-alpha.3",
APPLICATION_ID: null,

@@ -189,0 +189,0 @@ JAVASCRIPT_KEY: null,

@@ -15,3 +15,3 @@ Object.defineProperty(exports, "__esModule", {

ENCRYPTED_KEY: null,
VERSION: 'js' + "5.0.0-alpha.2",
VERSION: 'js' + "5.0.0-alpha.3",
APPLICATION_ID: null,

@@ -18,0 +18,0 @@ JAVASCRIPT_KEY: null,

@@ -150,2 +150,3 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

};
this._comment = null;
}

@@ -306,2 +307,5 @@ (0, _createClass2.default)(ParseQuery, [{

}
if (this._comment) {
params.comment = this._comment;
}
for (var _key3 in this._extraOptions) {

@@ -357,5 +361,8 @@ params[_key3] = this._extraOptions[_key3];

}
if (json.comment) {
this._comment = json.comment;
}
for (var _key4 in json) {
if (json.hasOwnProperty(_key4)) {
if (['where', 'include', 'keys', 'count', 'limit', 'skip', 'order', 'readPreference', 'includeReadPreference', 'subqueryReadPreference', 'hint', 'explain'].indexOf(_key4) === -1) {
if (['where', 'include', 'keys', 'count', 'limit', 'skip', 'order', 'readPreference', 'includeReadPreference', 'subqueryReadPreference', 'hint', 'explain', 'comment'].indexOf(_key4) === -1) {
this._extraOptions[_key4] = json[_key4];

@@ -1251,2 +1258,15 @@ }

}
}, {
key: "comment",
value: function (value) {
if (value == null) {
delete this._comment;
return this;
}
if (typeof value !== 'string') {
throw new Error('The value of a comment to be sent with this query must be a string.');
}
this._comment = value;
return this;
}
}], [{

@@ -1253,0 +1273,0 @@ key: "fromJSON",

@@ -190,3 +190,3 @@ "use strict";

ENCRYPTED_KEY: null,
VERSION: 'js' + "5.0.0-alpha.2",
VERSION: 'js' + "5.0.0-alpha.3",
APPLICATION_ID: null,

@@ -193,0 +193,0 @@ JAVASCRIPT_KEY: null,

{
"name": "parse",
"version": "5.0.0-alpha.2",
"version": "5.0.0-alpha.3",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc