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

@ne1410s/cust-elems

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ne1410s/cust-elems - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/ne14_cust_elems.cjs.min.js

@@ -27,3 +27,3 @@ 'use strict';

function reduceHtml(htmlIn) {
return htmlIn.replace(/\s+/g, ' ').replace(/>\s</g, '><');
return htmlIn.replace(/\s+/g, ' ').replace(/(^|>)\s+(<|$)/g, '$1$2');
}

@@ -30,0 +30,0 @@

@@ -23,5 +23,5 @@ class CustomElementBase extends HTMLElement {

function reduceHtml(htmlIn) {
return htmlIn.replace(/\s+/g, ' ').replace(/>\s</g, '><');
return htmlIn.replace(/\s+/g, ' ').replace(/(^|>)\s+(<|$)/g, '$1$2');
}
export { CustomElementBase, decode, reduceCss, reduceHtml };

@@ -29,3 +29,3 @@ (function (global, factory) {

function reduceHtml(htmlIn) {
return htmlIn.replace(/\s+/g, ' ').replace(/>\s</g, '><');
return htmlIn.replace(/\s+/g, ' ').replace(/(^|>)\s+(<|$)/g, '$1$2');
}

@@ -32,0 +32,0 @@

{
"name": "@ne1410s/cust-elems",
"version": "0.2.0",
"version": "0.2.1",
"description": "ES Custom Elements base functionality",

@@ -5,0 +5,0 @@ "main": "dist/ne14_cust_elems.cjs.min.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