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.3.0

38

package.json
{
"name": "xmpp-jid",
"description": "Parse XMPP URIs",
"version": "1.2.3",
"author": "Lance Stout <lance@andyet.net>",
"version": "1.3.0",
"author": "Lance Stout <lancestout@gmail.com>",
"browser": {

@@ -10,17 +10,8 @@ "./lib/stringprep.js": "./lib/stringprep-browser.js"

"bugs": "https://github.com/otalk/xmpp-jid/issues",
"dependencies": {
"punycode": "^1.3.0"
},
"optionalDependencies": {
"peerDependencies": {
"node-stringprep": "^0.8.0"
},
"devDependencies": {
"browserify": "^9.0.0",
"jshint": "^2.6.3",
"make-better": "^0.4.1",
"nsp": "^1.0.0",
"precommit-hook": "^2.0.0",
"tap-spec": "^2.0.0",
"tape": "^3.0.3",
"uglify-js": "^2.4.15"
"tap-spec": "^5.0.0",
"tape": "^4.9.1"
},

@@ -41,21 +32,4 @@ "homepage": "https://github.com/otalk/xmpp-jid",

"scripts": {
"test": "make test"
},
"testling": {
"files": [
"test/index.js"
],
"browsers": [
"ie/10..latest",
"chrome/20..latest",
"chrome/canary",
"firefox/10..latest",
"firefox/nightly",
"opera/next",
"safari/6..latest",
"iphone/6..latest",
"ipad/6..latest",
"android-browser/4.2..latest"
]
"test": "node test | tap-spec"
}
}

23

README.md
# XMPP-JID
**Parse and Create XMPP JIDs**
[![Build Status](https://travis-ci.org/otalk/xmpp-jid.png)](https://travis-ci.org/otalk/xmpp-jid)
[![Dependency Status](https://david-dm.org/otalk/xmpp-jid.png)](https://david-dm.org/otalk/xmpp-jid)
[![devDependency Status](https://david-dm.org/otalk/xmpp-jid/dev-status.png)](https://david-dm.org/otalk/xmpp-jid#info=devDependencies)
[![Browser Support](https://ci.testling.com/otalk/xmpp-jid.png)](https://ci.testling.com/otalk/xmpp-jid)
## What is this?

@@ -39,10 +33,2 @@

## Building bundled/minified version (for AMD, etc)
```sh
$ make
```
The bundled and minified files will be in the generated `build` directory.
## Usage

@@ -73,6 +59,13 @@

to use StringPrep to normalize the individual parts of a JID so that we can safely use
them in comparisons. Unfortunately, we don't have access to StringPrep in browsers, so
them in comparisons. Unfortunately, we don't have always have access to StringPrep, so
all `JID` objects are marked with a `prepped` attribute indicating if StringPrep has
been applied.
To enable full StringPrep application, also add the `node-stringprep` module to your
dependcies:
```sh
npm i node-stringprep
```
Comparisons between JIDs should only be trusted if both JIDs have `prepped` set to `true`.

@@ -79,0 +72,0 @@

Sorry, the diff of this file is not supported yet