Releases: xmppjs/ltx
Releases · xmppjs/ltx
v2.7.0
v2.6.2
v2.6.1
v2.6.0
v2.5.1
v2.5.0
2.0.0
This version makes the browser build 50% smaller, removes node-expat
as a hard dependency so everybody should be able to install ltx without dealing with native modules hassle, provides a JSX compatible API and is usable with webpack.
added
createElement
andDOMElement.create
JSX compatible API so you can use JSX with ltx- ltx is now usable with webpack
- Node.js 4.0 support
removed
ltx.bestSaxParser
ltx.availableSaxParsers
sax
andnode-expat
are now optional dependencies, you must add them to yourpackage.json
if you want to use them
changed
- the browser build is now ltx.js instead of ltx-browser.js
ltx.Element
now exports Element rather than DOMElement but it is still available and supported at./lib/DOMElement.js
- ltx defaults to its own parser (
lib/parsers/ltx
) new ltx.Parser
andltx.parse
now takes an object withParser
andElement
properties to configure the Parser and Element implementations to use- ltx default to
lib/Element.js
rather thatlib/DOMElement.js
for Element implementation, see previous bullet for how to chose your own
internals
- use npm package inherits rather than
util.inherits
(smaller browser build) - use benchmarkjs for benchmarks
- updated dependencies