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

ltx

Package Overview
Dependencies
Maintainers
0
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 3.1.1 to 3.1.2

6

lib/stringify.js

@@ -18,3 +18,7 @@ 'use strict';

if (el.children.length > 0) {
const children_length = el.children.length;
if (el.children.length === 1 && typeof el.children[0] === "string") {
s += `>${el.children[0]}</${el.name}>`;
} else if (children_length > 0) {
s += ">";

@@ -21,0 +25,0 @@ for (const child of el.children) {

2

package.json
{
"name": "ltx",
"version": "3.1.1",
"version": "3.1.2",
"description": "<xml for=\"JavaScript\">",

@@ -5,0 +5,0 @@ "author": "Astro",

@@ -16,3 +16,7 @@ import { escapeXML, escapeXMLText } from "./escape.js";

if (el.children.length > 0) {
const children_length = el.children.length
if (el.children.length === 1 && typeof el.children[0] === "string") {
s += `>${el.children[0]}</${el.name}>`;
} else if (children_length > 0) {
s += ">";

@@ -19,0 +23,0 @@ for (const child of el.children) {

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