ltx
ltx copied to clipboard
XML for JavaScript
Hi there! When working with [node-opcua-xml2json](https://github.com/node-opcua/node-opcua/tree/master/packages/node-opcua-xml2json) which uses ltx, I encounter the following error: ``` Error [ERR_REQUIRE_ESM]: require() of ES Module /snapshot/backend/node_modules/ltx/lib/parsers/ltx.js from /snapshot/backend/node_modules/node-opcua-xml2json/dist/source/xml2json.js not supported. ltx.js is treated as...
I was recommending this library to a colleague who pointed out that it appears to lack documentation. Some very old docs [are accessible at the internet archive](http://web.archive.org/web/20161126051027/http://node-xmpp.org/doc/ltx.html). There was a...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [yaml](https://github.com/eemeli/yaml) from 2.1.1 to 2.2.2. Release notes Sourced from yaml's releases. v2.2.2 This patch release includes a fix for an error that could be thrown in parseDocument for degenerate...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
We use [vows](https://github.com/vowsjs/vows) for testing. The CLI doesn't support ES modules so I had to programmatically run the tests which result in poor output. In addition it doesn't appear to...
```javascript ltx.parse('f') ltx.parse('f') ltx.parse('f') ``` should fail, currently extra data is ignored
To allow something like ```javascript function m (bar) { return ltx`` } m(undefined) ``` to return `` maybe even ```javascript function m (bar) { return ltx`` } m(undefined) ``` to...