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

html-format

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-format - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

index.js

@@ -97,3 +97,3 @@ const tagName = String.raw`[A-Za-z][^/\s>]*`;

if (!specialElement && /^\s*$/.test(s)) {
if (!s || (!specialElement && /^\s*$/.test(s))) {
const newline = span.indexOf("\n");

@@ -100,0 +100,0 @@ const len = newline == -1 ? span.length : newline;

{
"name": "html-format",
"version": "1.1.3",
"version": "1.1.4",
"description": "Format HTML strings.",

@@ -5,0 +5,0 @@ "main": "index.js",

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