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

freedom-social-xmpp

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

freedom-social-xmpp - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

demo_google/xmpp/freedom-for-chrome.js

20

build/socialprovider.js

@@ -11,5 +11,16 @@ /*globals freedom:true,setTimeout,console,VCardStore,global */

// Global declarations for node.js
if (typeof window === 'undefined') {
global.window = {};
global.XMLHttpRequest = {};
if (typeof global !== 'undefined') {
if (typeof window === 'undefined') {
global.window = {};
}
if (typeof XMLHttpRequest === 'undefined') {
global.XMLHttpRequest = {};
}
} else {
if (typeof window === 'undefined') {
window = {};
}
if (typeof XMLHttpRequest === 'undefined') {
XMLHttpRequest = {};
}
}

@@ -252,3 +263,4 @@

// Is it a staus response?
} else if (msg.is('iq') && msg.attrs.type === 'result') {
} else if (msg.is('iq') && (msg.attrs.type === 'result' ||
msg.attrs.type === 'set')) {
this.updateRoster(msg);

@@ -255,0 +267,0 @@ // Is it a status?

2

package.json
{
"name": "freedom-social-xmpp",
"description": "XMPP Social provider for freedomjs",
"version": "0.0.12",
"version": "0.0.13",
"homepage": "http://freedomjs.org",

@@ -6,0 +6,0 @@ "bugs": {

@@ -11,5 +11,16 @@ /*globals freedom:true,setTimeout,console,VCardStore,global */

// Global declarations for node.js
if (typeof window === 'undefined') {
global.window = {};
global.XMLHttpRequest = {};
if (typeof global !== 'undefined') {
if (typeof window === 'undefined') {
global.window = {};
}
if (typeof XMLHttpRequest === 'undefined') {
global.XMLHttpRequest = {};
}
} else {
if (typeof window === 'undefined') {
window = {};
}
if (typeof XMLHttpRequest === 'undefined') {
XMLHttpRequest = {};
}
}

@@ -252,3 +263,4 @@

// Is it a staus response?
} else if (msg.is('iq') && msg.attrs.type === 'result') {
} else if (msg.is('iq') && (msg.attrs.type === 'result' ||
msg.attrs.type === 'set')) {
this.updateRoster(msg);

@@ -255,0 +267,0 @@ // Is it a status?

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