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.11 to 1.6.13

2

lib/browser/CoreManager.js

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

SERVER_URL: 'https://api.parse.com/1',
VERSION: 'js' + '1.6.11',
VERSION: 'js' + '1.6.13',
APPLICATION_ID: null,

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

@@ -245,3 +245,6 @@ /**

var url = _CoreManager2['default'].get('SERVER_URL');
url += '/1/files/' + name;
if (url[url.length - 1] !== '/') {
url += '/';
}
url += 'files/' + name;
return _CoreManager2['default'].getRESTController().ajax('POST', url, source.file, headers);

@@ -248,0 +251,0 @@ },

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

changes[attr] = (0, _parseDate2['default'])(response[attr]);
} else if (attr === 'ACL') {
changes[attr] = new _ParseACL2['default'](response[attr]);
} else if (attr !== 'objectId') {

@@ -364,0 +366,0 @@ changes[attr] = (0, _decode2['default'])(response[attr]);

@@ -386,6 +386,4 @@ /**

* var promises = [p1, p2, p3];
* Parse.Promise.when(promises).then(function(r1, r2, r3) {
* console.log(r1); // prints 1
* console.log(r2); // prints 2
* console.log(r3); // prints 3
* Parse.Promise.when(promises).then(function(results) {
* console.log(results); // prints [1,2,3]
* });

@@ -392,0 +390,0 @@ * </pre>

@@ -290,3 +290,5 @@ /**

return response.results.map(function (data) {
data.className = _this.className;
if (!data.className) {
data.className = _this.className;
}
return _ParseObject2['default'].fromJSON(data);

@@ -385,3 +387,5 @@ });

}
objects[0].className = _this2.className;
if (!objects[0].className) {
objects[0].className = _this2.className;
}
return _ParseObject2['default'].fromJSON(objects[0]);

@@ -388,0 +392,0 @@ })._thenRunCallbacks(options);

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

SERVER_URL: 'https://api.parse.com/1',
VERSION: 'js' + '1.6.11',
VERSION: 'js' + '1.6.13',
APPLICATION_ID: null,

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

@@ -245,3 +245,6 @@ /**

var url = _CoreManager2['default'].get('SERVER_URL');
url += '/1/files/' + name;
if (url[url.length - 1] !== '/') {
url += '/';
}
url += 'files/' + name;
return _CoreManager2['default'].getRESTController().ajax('POST', url, source.file, headers);

@@ -248,0 +251,0 @@ },

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

changes[attr] = (0, _parseDate2['default'])(response[attr]);
} else if (attr === 'ACL') {
changes[attr] = new _ParseACL2['default'](response[attr]);
} else if (attr !== 'objectId') {

@@ -364,0 +366,0 @@ changes[attr] = (0, _decode2['default'])(response[attr]);

@@ -386,6 +386,4 @@ /**

* var promises = [p1, p2, p3];
* Parse.Promise.when(promises).then(function(r1, r2, r3) {
* console.log(r1); // prints 1
* console.log(r2); // prints 2
* console.log(r3); // prints 3
* Parse.Promise.when(promises).then(function(results) {
* console.log(results); // prints [1,2,3]
* });

@@ -392,0 +390,0 @@ * </pre>

@@ -290,3 +290,5 @@ /**

return response.results.map(function (data) {
data.className = _this.className;
if (!data.className) {
data.className = _this.className;
}
return _ParseObject2['default'].fromJSON(data);

@@ -385,3 +387,5 @@ });

}
objects[0].className = _this2.className;
if (!objects[0].className) {
objects[0].className = _this2.className;
}
return _ParseObject2['default'].fromJSON(objects[0]);

@@ -388,0 +392,0 @@ })._thenRunCallbacks(options);

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

SERVER_URL: 'https://api.parse.com/1',
VERSION: 'js' + '1.6.11',
VERSION: 'js' + '1.6.13',
APPLICATION_ID: null,

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

@@ -245,3 +245,6 @@ /**

var url = _CoreManager2['default'].get('SERVER_URL');
url += '/1/files/' + name;
if (url[url.length - 1] !== '/') {
url += '/';
}
url += 'files/' + name;
return _CoreManager2['default'].getRESTController().ajax('POST', url, source.file, headers);

@@ -248,0 +251,0 @@ },

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

changes[attr] = (0, _parseDate2['default'])(response[attr]);
} else if (attr === 'ACL') {
changes[attr] = new _ParseACL2['default'](response[attr]);
} else if (attr !== 'objectId') {

@@ -364,0 +366,0 @@ changes[attr] = (0, _decode2['default'])(response[attr]);

@@ -386,6 +386,4 @@ /**

* var promises = [p1, p2, p3];
* Parse.Promise.when(promises).then(function(r1, r2, r3) {
* console.log(r1); // prints 1
* console.log(r2); // prints 2
* console.log(r3); // prints 3
* Parse.Promise.when(promises).then(function(results) {
* console.log(results); // prints [1,2,3]
* });

@@ -392,0 +390,0 @@ * </pre>

@@ -290,3 +290,5 @@ /**

return response.results.map(function (data) {
data.className = _this.className;
if (!data.className) {
data.className = _this.className;
}
return _ParseObject2['default'].fromJSON(data);

@@ -385,3 +387,5 @@ });

}
objects[0].className = _this2.className;
if (!objects[0].className) {
objects[0].className = _this2.className;
}
return _ParseObject2['default'].fromJSON(objects[0]);

@@ -388,0 +392,0 @@ })._thenRunCallbacks(options);

{
"name": "parse",
"version": "1.6.11",
"version": "1.6.13",
"description": "The Parse JavaScript SDK",

@@ -5,0 +5,0 @@ "homepage": "https://www.parse.com",

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