Socket
Socket
Sign inDemoInstall

parse

Package Overview
Dependencies
Maintainers
4
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse - npm Package Compare versions

Comparing version 1.6.1 to 1.6.3

4

lib/browser/Cloud.js

@@ -39,2 +39,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -65,4 +67,2 @@ * Contains functions for calling and declaring

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
function run(name, data, options) {

@@ -69,0 +69,0 @@ options = options || {};

@@ -19,3 +19,3 @@ /**

SERVER_URL: 'https://api.parse.com',
VERSION: {"version":"1.6.1"}.version,
VERSION: {"version":"1.6.3"}.version,
APPLICATION_ID: null,

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

@@ -38,2 +38,4 @@ /**

var _RESTController2 = _interopRequireDefault(_RESTController);
/**

@@ -44,5 +46,2 @@ * Contains all Parse API classes and functions.

*/
var _RESTController2 = _interopRequireDefault(_RESTController);
var Parse = {

@@ -49,0 +48,0 @@ /**

@@ -50,2 +50,4 @@ /**

var _Storage2 = _interopRequireDefault(_Storage);
/**

@@ -59,4 +61,2 @@ * Parse.Config is a local representation of configuration data that

var _Storage2 = _interopRequireDefault(_Storage);
var ParseConfig = (function () {

@@ -63,0 +63,0 @@ function ParseConfig() {

@@ -26,2 +26,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -52,4 +54,2 @@ * Creates a new GeoPoint with any of the following forms:<br>

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
var ParseGeoPoint = (function () {

@@ -56,0 +56,0 @@ function ParseGeoPoint(arg1, arg2) {

@@ -403,3 +403,7 @@ /**

for (var attr in attrs) {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
if ((attr === 'createdAt' || attr === 'updatedAt') && attrs[attr].toJSON) {
json[attr] = attrs[attr].toJSON();
} else {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
}
}

@@ -406,0 +410,0 @@ var pending = this._getPendingOps();

@@ -32,2 +32,4 @@ /**

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
/**

@@ -49,4 +51,2 @@ * Creates a new Relation for the given parent object and key. This

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
var ParseRelation = (function () {

@@ -53,0 +53,0 @@ function ParseRelation(parent, key) {

@@ -187,3 +187,3 @@ /**

var authData = this.get('authData');
if (typeof authData !== 'object') {
if (!provider || typeof authData !== 'object') {
return;

@@ -190,0 +190,0 @@ }

@@ -163,2 +163,3 @@ /**

if (_CoreManager2['default'].get('MASTER_KEY')) {
delete payload._JavaScriptKey;
payload._MasterKey = _CoreManager2['default'].get('MASTER_KEY');

@@ -165,0 +166,0 @@ } else {

@@ -39,2 +39,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -65,4 +67,2 @@ * Contains functions for calling and declaring

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
function run(name, data, options) {

@@ -69,0 +69,0 @@ options = options || {};

@@ -19,3 +19,3 @@ /**

SERVER_URL: 'https://api.parse.com',
VERSION: {"version":"1.6.1"}.version,
VERSION: {"version":"1.6.3"}.version,
APPLICATION_ID: null,

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

@@ -38,2 +38,4 @@ /**

var _RESTController2 = _interopRequireDefault(_RESTController);
/**

@@ -44,5 +46,2 @@ * Contains all Parse API classes and functions.

*/
var _RESTController2 = _interopRequireDefault(_RESTController);
var Parse = {

@@ -166,4 +165,2 @@ /**

Parse.initialize = Parse._initialize;
// For legacy requires, of the form `var Parse = require('parse').Parse`
Parse.Cloud = Parse.Cloud || {};

@@ -173,4 +170,6 @@ Parse.Cloud.useMasterKey = function () {

};
// For legacy requires, of the form `var Parse = require('parse').Parse`
Parse.Parse = Parse;
module.exports = Parse;

@@ -50,2 +50,4 @@ /**

var _Storage2 = _interopRequireDefault(_Storage);
/**

@@ -59,4 +61,2 @@ * Parse.Config is a local representation of configuration data that

var _Storage2 = _interopRequireDefault(_Storage);
var ParseConfig = (function () {

@@ -63,0 +63,0 @@ function ParseConfig() {

@@ -26,2 +26,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -52,4 +54,2 @@ * Creates a new GeoPoint with any of the following forms:<br>

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
var ParseGeoPoint = (function () {

@@ -56,0 +56,0 @@ function ParseGeoPoint(arg1, arg2) {

@@ -403,3 +403,7 @@ /**

for (var attr in attrs) {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
if ((attr === 'createdAt' || attr === 'updatedAt') && attrs[attr].toJSON) {
json[attr] = attrs[attr].toJSON();
} else {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
}
}

@@ -406,0 +410,0 @@ var pending = this._getPendingOps();

@@ -32,2 +32,4 @@ /**

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
/**

@@ -49,4 +51,2 @@ * Creates a new Relation for the given parent object and key. This

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
var ParseRelation = (function () {

@@ -53,0 +53,0 @@ function ParseRelation(parent, key) {

@@ -187,3 +187,3 @@ /**

var authData = this.get('authData');
if (typeof authData !== 'object') {
if (!provider || typeof authData !== 'object') {
return;

@@ -190,0 +190,0 @@ }

@@ -165,2 +165,3 @@ /**

if (_CoreManager2['default'].get('MASTER_KEY')) {
delete payload._JavaScriptKey;
payload._MasterKey = _CoreManager2['default'].get('MASTER_KEY');

@@ -167,0 +168,0 @@ } else {

@@ -39,2 +39,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -65,4 +67,2 @@ * Contains functions for calling and declaring

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
function run(name, data, options) {

@@ -69,0 +69,0 @@ options = options || {};

@@ -19,3 +19,3 @@ /**

SERVER_URL: 'https://api.parse.com',
VERSION: {"version":"1.6.1"}.version,
VERSION: {"version":"1.6.3"}.version,
APPLICATION_ID: null,

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

@@ -38,2 +38,4 @@ /**

var _RESTController2 = _interopRequireDefault(_RESTController);
/**

@@ -44,5 +46,2 @@ * Contains all Parse API classes and functions.

*/
var _RESTController2 = _interopRequireDefault(_RESTController);
var Parse = {

@@ -49,0 +48,0 @@ /**

@@ -50,2 +50,4 @@ /**

var _Storage2 = _interopRequireDefault(_Storage);
/**

@@ -59,4 +61,2 @@ * Parse.Config is a local representation of configuration data that

var _Storage2 = _interopRequireDefault(_Storage);
var ParseConfig = (function () {

@@ -63,0 +63,0 @@ function ParseConfig() {

@@ -26,2 +26,4 @@ /**

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
/**

@@ -52,4 +54,2 @@ * Creates a new GeoPoint with any of the following forms:<br>

var _ParsePromise2 = _interopRequireDefault(_ParsePromise);
var ParseGeoPoint = (function () {

@@ -56,0 +56,0 @@ function ParseGeoPoint(arg1, arg2) {

@@ -403,3 +403,7 @@ /**

for (var attr in attrs) {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
if ((attr === 'createdAt' || attr === 'updatedAt') && attrs[attr].toJSON) {
json[attr] = attrs[attr].toJSON();
} else {
json[attr] = (0, _encode2['default'])(attrs[attr], false, false);
}
}

@@ -406,0 +410,0 @@ var pending = this._getPendingOps();

@@ -32,2 +32,4 @@ /**

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
/**

@@ -49,4 +51,2 @@ * Creates a new Relation for the given parent object and key. This

var _ParseQuery2 = _interopRequireDefault(_ParseQuery);
var ParseRelation = (function () {

@@ -53,0 +53,0 @@ function ParseRelation(parent, key) {

@@ -187,3 +187,3 @@ /**

var authData = this.get('authData');
if (typeof authData !== 'object') {
if (!provider || typeof authData !== 'object') {
return;

@@ -190,0 +190,0 @@ }

@@ -163,2 +163,3 @@ /**

if (_CoreManager2['default'].get('MASTER_KEY')) {
delete payload._JavaScriptKey;
payload._MasterKey = _CoreManager2['default'].get('MASTER_KEY');

@@ -165,0 +166,0 @@ } else {

{
"name": "parse",
"version": "1.6.1",
"version": "1.6.3",
"description": "The Parse JavaScript SDK",

@@ -44,7 +44,6 @@ "homepage": "https://www.parse.com",

"jasmine-reporters": "~1.0.0",
"jest-cli": "~0.4.10",
"jest-cli": "~0.5.0",
"vinyl-source-stream": "^1.1.0"
},
"scripts": {
"prepublish": "./build_releases.sh",
"test": "PARSE_BUILD=node jest"

@@ -51,0 +50,0 @@ },

@@ -11,3 +11,3 @@ # Parse SDK for JavaScript

The JavaScript ecosystem is wide and incorporates a large number of platforms and execution environments. To handle this, the Parse npm module contains special versions of the SDK tailored to use in node.js and [React Native](https://facebook.github.io/react-native/) environments. Not all features make sense in all environments, so using the appropriate package will ensure that items like local storage, user sessions, and HTTP requests use appropriate dependencies.
The JavaScript ecosystem is wide and incorporates a large number of platforms and execution environments. To handle this, the Parse npm module contains special versions of the SDK tailored to use in Node.js and [React Native](https://facebook.github.io/react-native/) environments. Not all features make sense in all environments, so using the appropriate package will ensure that items like local storage, user sessions, and HTTP requests use appropriate dependencies.

@@ -20,3 +20,3 @@ To use the npm modules for a browser based application, include it as you normally would:

For server-side applications or node.js command line tools, include `'parse/node'`:
For server-side applications or Node.js command line tools, include `'parse/node'`:

@@ -23,0 +23,0 @@ ```js

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc