Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xmpp/xml

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmpp/xml - npm Package Compare versions

Comparing version 0.12.1 to 0.13.0

8

index.js
"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 @@

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