Socket
Socket
Sign inDemoInstall

parse

Package Overview
Dependencies
Maintainers
12
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 4.0.0-alpha.2 to 4.0.0-alpha.3

2

lib/browser/CoreManager.js

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

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

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

@@ -258,4 +258,4 @@ "use strict";

function handleProgress(type, event) {
if (options && typeof options.progress === 'function') {
if (options && typeof options.progress === 'function') {
var handleProgress = function handleProgress(type, event) {
if (event.lengthComputable) {

@@ -270,13 +270,13 @@ options.progress(event.loaded / event.total, event.loaded, event.total, {

}
}
}
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
}
}

@@ -283,0 +283,0 @@

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

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

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

@@ -202,4 +202,4 @@ "use strict";

function handleProgress(type, event) {
if (options && typeof options.progress === 'function') {
if (options && typeof options.progress === 'function') {
const handleProgress = function (type, event) {
if (event.lengthComputable) {

@@ -214,13 +214,13 @@ options.progress(event.loaded / event.total, event.loaded, event.total, {

}
}
}
};
xhr.onprogress = event => {
handleProgress('download', event);
};
xhr.onprogress = event => {
handleProgress('download', event);
};
if (xhr.upload) {
xhr.upload.onprogress = event => {
handleProgress('upload', event);
};
if (xhr.upload) {
xhr.upload.onprogress = event => {
handleProgress('upload', event);
};
}
}

@@ -227,0 +227,0 @@

@@ -11,3 +11,3 @@ var config = {

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

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

@@ -186,4 +186,4 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

function handleProgress(type, event) {
if (options && typeof options.progress === 'function') {
if (options && typeof options.progress === 'function') {
var handleProgress = function handleProgress(type, event) {
if (event.lengthComputable) {

@@ -198,13 +198,13 @@ options.progress(event.loaded / event.total, event.loaded, event.total, {

}
}
}
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
}
}

@@ -211,0 +211,0 @@

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

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

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

@@ -259,4 +259,4 @@ "use strict";

function handleProgress(type, event) {
if (options && typeof options.progress === 'function') {
if (options && typeof options.progress === 'function') {
var handleProgress = function handleProgress(type, event) {
if (event.lengthComputable) {

@@ -271,13 +271,13 @@ options.progress(event.loaded / event.total, event.loaded, event.total, {

}
}
}
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
xhr.onprogress = function (event) {
handleProgress('download', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
if (xhr.upload) {
xhr.upload.onprogress = function (event) {
handleProgress('upload', event);
};
}
}

@@ -284,0 +284,0 @@

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

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