Socket
Socket
Sign inDemoInstall

parse

Package Overview
Dependencies
Maintainers
6
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.8.4 to 1.8.5

2

lib/browser/CoreManager.js

@@ -20,3 +20,3 @@ /**

LIVEQUERY_SERVER_URL: null,
VERSION: 'js' + '1.8.4',
VERSION: 'js' + '1.8.5',
APPLICATION_ID: null,

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

@@ -122,4 +122,10 @@ 'use strict';

if (!liveQueryServerURL) {
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, '');
liveQueryServerURL = 'ws://' + host;
var tempServerURL = _CoreManager2['default'].get('SERVER_URL');
var protocol = 'ws://';
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix
if (tempServerURL.indexOf('https') === 0) {
protocol = 'wss://';
}
var host = tempServerURL.replace(/^https?:\/\//, '');
liveQueryServerURL = protocol + host;
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL);

@@ -126,0 +132,0 @@ }

@@ -20,3 +20,3 @@ /**

LIVEQUERY_SERVER_URL: null,
VERSION: 'js' + '1.8.4',
VERSION: 'js' + '1.8.5',
APPLICATION_ID: null,

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

@@ -122,4 +122,10 @@ 'use strict';

if (!liveQueryServerURL) {
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, '');
liveQueryServerURL = 'ws://' + host;
var tempServerURL = _CoreManager2['default'].get('SERVER_URL');
var protocol = 'ws://';
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix
if (tempServerURL.indexOf('https') === 0) {
protocol = 'wss://';
}
var host = tempServerURL.replace(/^https?:\/\//, '');
liveQueryServerURL = protocol + host;
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL);

@@ -126,0 +132,0 @@ }

@@ -20,3 +20,3 @@ /**

LIVEQUERY_SERVER_URL: null,
VERSION: 'js' + '1.8.4',
VERSION: 'js' + '1.8.5',
APPLICATION_ID: null,

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

@@ -122,4 +122,10 @@ 'use strict';

if (!liveQueryServerURL) {
var host = _CoreManager2['default'].get('SERVER_URL').replace(/^https?:\/\//, '');
liveQueryServerURL = 'ws://' + host;
var tempServerURL = _CoreManager2['default'].get('SERVER_URL');
var protocol = 'ws://';
// If Parse is being served over SSL/HTTPS, ensure LiveQuery Server uses 'wss://' prefix
if (tempServerURL.indexOf('https') === 0) {
protocol = 'wss://';
}
var host = tempServerURL.replace(/^https?:\/\//, '');
liveQueryServerURL = protocol + host;
_CoreManager2['default'].set('LIVEQUERY_SERVER_URL', liveQueryServerURL);

@@ -126,0 +132,0 @@ }

{
"name": "parse",
"version": "1.8.4",
"version": "1.8.5",
"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