Comparing version 0.12.1 to 0.13.0
"use strict"; | ||
const x = require("./lib/x"); | ||
const Element = require("./lib/Element"); | ||
const Element = require("ltx/lib/Element"); | ||
const createElement = require("ltx/lib/createElement"); | ||
const Parser = require("./lib/Parser"); | ||
@@ -15,3 +15,3 @@ const { | ||
function xml(...args) { | ||
return x(...args); | ||
return createElement(...args); | ||
} | ||
@@ -22,4 +22,4 @@ | ||
Object.assign(module.exports, { | ||
x, | ||
Element, | ||
createElement, | ||
Parser, | ||
@@ -26,0 +26,0 @@ escapeXML, |
"use strict"; | ||
const LtxParser = require("ltx/lib/parsers/ltx"); | ||
const Element = require("./Element"); | ||
const Element = require("ltx/lib/Element"); | ||
const EventEmitter = require("events"); | ||
@@ -6,0 +6,0 @@ const XMLError = require("./XMLError"); |
@@ -7,3 +7,3 @@ { | ||
"bugs": "http://github.com/xmppjs/xmpp.js/issues", | ||
"version": "0.12.1", | ||
"version": "0.13.0", | ||
"license": "ISC", | ||
@@ -18,3 +18,3 @@ "keywords": [ | ||
"dependencies": { | ||
"ltx": "^2.10.0" | ||
"ltx": "^3.0.0" | ||
}, | ||
@@ -27,3 +27,3 @@ "engines": { | ||
}, | ||
"gitHead": "7f5ab599874eef1b557803c96fa3141e53520ea9" | ||
"gitHead": "0fdddc2961993702f3ad9b290d79b28e4d2c5f05" | ||
} |
@@ -5,4 +5,4 @@ "use strict"; | ||
const xml = require(".."); | ||
const x = require("../lib/x"); | ||
const Element = require("../lib/Element"); | ||
const createElement = require("ltx/lib/createElement"); | ||
const Element = require("ltx/lib/Element"); | ||
const Parser = require("../lib/Parser"); | ||
@@ -16,4 +16,4 @@ const { | ||
test("exports x", (t) => { | ||
t.is(xml.x, x); | ||
test("exports createElement", (t) => { | ||
t.is(xml.createElement, createElement); | ||
}); | ||
@@ -20,0 +20,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10452
9
169
+ Addedltx@3.1.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedltx@2.10.0(transitive)
Updatedltx@^3.0.0