Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

parse

Package Overview
Dependencies
Maintainers
5
Versions
193
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.4 to 1.6.5

2

lib/browser/CoreManager.js

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

SERVER_URL: 'https://api.parse.com',
VERSION: '1.6.4',
VERSION: '1.6.5',
APPLICATION_ID: null,

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

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

this.id = changes[k];
} else if (k === 'ACL' && typeof changes[k] === 'object' && !(changes[k] instanceof _ParseACL2['default'])) {
newOps[k] = new _ParseOp.SetOp(new _ParseACL2['default'](changes[k]));
} else {

@@ -1354,2 +1356,5 @@ newOps[k] = new _ParseOp.SetOp(changes[k]);

o._finishFetch(otherAttributes);
if (json.objectId) {
o._setExisted(true);
}
return o;

@@ -1356,0 +1361,0 @@ }

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

if (typeof objectClass === 'string') {
this.className = objectClass;
if (objectClass === 'User' && _CoreManager2['default'].get('PERFORM_USER_REWRITE')) {
this.className = '_User';
} else {
this.className = objectClass;
}
} else if (objectClass instanceof _ParseObject2['default']) {

@@ -123,0 +127,0 @@ this.className = objectClass.className;

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

promise.resolve(_this);
}, function (error) {
promise.reject(error);
});

@@ -157,0 +159,0 @@ },

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

SERVER_URL: 'https://api.parse.com',
VERSION: '1.6.4',
VERSION: '1.6.5',
APPLICATION_ID: null,

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

@@ -56,5 +56,2 @@ /**

initialize: function initialize(applicationId, javaScriptKey) {
if ('node' === 'browser' && _CoreManager2['default'].get('IS_NODE')) {
console.log('It looks like you\'re using the browser version of the SDK in a ' + 'node.js environment. You should require(\'parse/node\') instead.');
}
Parse._initialize(applicationId, javaScriptKey);

@@ -61,0 +58,0 @@ },

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

this.id = changes[k];
} else if (k === 'ACL' && typeof changes[k] === 'object' && !(changes[k] instanceof _ParseACL2['default'])) {
newOps[k] = new _ParseOp.SetOp(new _ParseACL2['default'](changes[k]));
} else {

@@ -1354,2 +1356,5 @@ newOps[k] = new _ParseOp.SetOp(changes[k]);

o._finishFetch(otherAttributes);
if (json.objectId) {
o._setExisted(true);
}
return o;

@@ -1356,0 +1361,0 @@ }

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

if (typeof objectClass === 'string') {
this.className = objectClass;
if (objectClass === 'User' && _CoreManager2['default'].get('PERFORM_USER_REWRITE')) {
this.className = '_User';
} else {
this.className = objectClass;
}
} else if (objectClass instanceof _ParseObject2['default']) {

@@ -123,0 +127,0 @@ this.className = objectClass.className;

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

promise.resolve(_this);
}, function (error) {
promise.reject(error);
});

@@ -157,0 +159,0 @@ },

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

SERVER_URL: 'https://api.parse.com',
VERSION: '1.6.4',
VERSION: '1.6.5',
APPLICATION_ID: null,

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

@@ -56,5 +56,2 @@ /**

initialize: function initialize(applicationId, javaScriptKey) {
if ('react-native' === 'browser' && _CoreManager2['default'].get('IS_NODE')) {
console.log('It looks like you\'re using the browser version of the SDK in a ' + 'node.js environment. You should require(\'parse/node\') instead.');
}
Parse._initialize(applicationId, javaScriptKey);

@@ -61,0 +58,0 @@ },

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

this.id = changes[k];
} else if (k === 'ACL' && typeof changes[k] === 'object' && !(changes[k] instanceof _ParseACL2['default'])) {
newOps[k] = new _ParseOp.SetOp(new _ParseACL2['default'](changes[k]));
} else {

@@ -1354,2 +1356,5 @@ newOps[k] = new _ParseOp.SetOp(changes[k]);

o._finishFetch(otherAttributes);
if (json.objectId) {
o._setExisted(true);
}
return o;

@@ -1356,0 +1361,0 @@ }

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

if (typeof objectClass === 'string') {
this.className = objectClass;
if (objectClass === 'User' && _CoreManager2['default'].get('PERFORM_USER_REWRITE')) {
this.className = '_User';
} else {
this.className = objectClass;
}
} else if (objectClass instanceof _ParseObject2['default']) {

@@ -123,0 +127,0 @@ this.className = objectClass.className;

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

promise.resolve(_this);
}, function (error) {
promise.reject(error);
});

@@ -157,0 +159,0 @@ },

{
"name": "parse",
"version": "1.6.4",
"version": "1.6.5",
"description": "The Parse JavaScript SDK",

@@ -39,3 +39,3 @@ "homepage": "https://www.parse.com",

"browserify": "^11.0.1",
"coveralls": "^2.11.3",
"codecov.io": "^0.1.6",
"gulp": "^3.9.0",

@@ -42,0 +42,0 @@ "gulp-babel": "^5.2.0",

@@ -49,4 +49,4 @@ # Parse SDK for JavaScript

[build-status-link]: https://travis-ci.org/ParsePlatform/Parse-SDK-JS
[coverage-status-svg]: https://coveralls.io/repos/ParsePlatform/Parse-SDK-JS/badge.svg?branch=master&service=github
[coverage-status-link]: https://coveralls.io/github/ParsePlatform/Parse-SDK-JS?branch=master
[coverage-status-svg]: http://codecov.io/github/ParsePlatform/Parse-SDK-JS/coverage.svg?branch=master
[coverage-status-link]: http://codecov.io/github/ParsePlatform/Parse-SDK-JS?branch=master
[npm-svg]: https://badge.fury.io/js/parse.svg

@@ -53,0 +53,0 @@ [npm-link]: https://npmjs.org/parse

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc