You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

xmpp-jid

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmpp-jid - npm Package Compare versions

Comparing version

to
1.0.4

4

index.js

@@ -159,3 +159,3 @@ 'use strict';

parsed = exports.parse(localOrJID);
} else if (localOrJID instanceof exports.JID) {
} else if (localOrJID._isJID || localOrJID instanceof exports.JID) {
parsed = localOrJID;

@@ -175,2 +175,4 @@ } else {

this._isJID = true;
this.local = parsed.local || '';

@@ -177,0 +179,0 @@ this.domain = parsed.domain || '';

{
"name": "xmpp-jid",
"description": "Parse XMPP URIs",
"version": "1.0.3",
"version": "1.0.4",
"author": "Lance Stout <lance@andyet.net>",

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