New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ltx

Package Overview
Dependencies
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ltx - npm Package Compare versions

Comparing version 2.9.2 to 2.10.0

20

lib/parsers/saxes.js

@@ -12,17 +12,17 @@ 'use strict'

var that = this
this.parser.onopentag = function (a) {
this.parser.on('opentag', function (a) {
that.emit('startElement', a.name, a.attributes)
}
this.parser.onclosetag = function (el) {
})
this.parser.on('closetag', function (el) {
that.emit('endElement', el.name)
}
this.parser.ontext = function (str) {
})
this.parser.on('text', function (str) {
that.emit('text', str)
}
this.parser.onend = function () {
})
this.parser.on('end', function () {
that.emit('end')
}
this.parser.onerror = function (e) {
})
this.parser.on('error', function (e) {
that.emit('error', e)
}
})
}

@@ -29,0 +29,0 @@

{
"name": "ltx",
"version": "2.9.2",
"version": "2.10.0",
"description": "<xml for=\"JavaScript\">",
"author": "Astro",
"repository": "github:node-xmpp/ltx",
"homepage": "http://github.com/node-xmpp/ltx",
"bugs": "http://github.com/node-xmpp/ltx/issues",
"repository": "github:xmppjs/ltx",
"homepage": "http://github.com/xmppjs/ltx",
"bugs": "http://github.com/xmppjs/ltx/issues",
"contributors": [

@@ -32,3 +32,3 @@ "Stephan Maka",

"benchmark": "^2.1.4",
"browserify": "^16.5.0",
"browserify": "^16.5.2",
"libxmljs": "^0.19.7",

@@ -39,6 +39,6 @@ "microtime": "^3.0.0",

"sax": "^1.2.4",
"saxes": "^3.1.11",
"standard": "^14.3.1",
"vows": "^0.8.2"
"saxes": "^5.0.1",
"standard": "^14.3.4",
"vows": "^0.8.3"
}
}

@@ -6,3 +6,3 @@ ltx

[![build status](https://img.shields.io/travis/node-xmpp/ltx/master.svg?style=flat-square)](https://travis-ci.org/node-xmpp/ltx/branches)
[![build status](https://img.shields.io/travis/xmppjs/ltx/master.svg?style=flat-square)](https://travis-ci.org/xmppjs/ltx/branches)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)

@@ -39,6 +39,6 @@

| [node-xml](https://github.com/dylang/node-xml) | 81,980 | ☑ | ☑ |
| [node-expat](https://github.com/node-xmpp/node-expat) | 72,720 | ☐ | ☑ |
| **[ltx/lib/parsers/ltx](https://github.com/node-xmpp/ltx/blob/master/lib/parsers/ltx.js)** | 490,593 | ☑ | ☑ |
| [node-expat](https://github.com/astro/node-expat) | 72,720 | ☐ | ☑ |
| **[ltx/lib/parsers/ltx](https://github.com/xmppjs/ltx/blob/master/lib/parsers/ltx.js)** | 490,593 | ☑ | ☑ |
From [ltx/benchmarks/parsers.js](https://github.com/node-xmpp/ltx/blob/master/benchmarks/parsers.js), higher is better.
From [ltx/benchmarks/parsers.js](https://github.com/xmppjs/ltx/blob/master/benchmarks/parsers.js), higher is better.
Node.js v10.11.0 - i5-2520M

@@ -45,0 +45,0 @@

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