Socket
Socket
Sign inDemoInstall

text-fields

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text-fields - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

5

dist/index.js

@@ -21,5 +21,4 @@ function $parcel$defineInteropFlag(a) {

const notchedOutline = textField.parentElement.querySelector(".notched-outline");
if (notchedOutline) return;
textField.parentElement.insertAdjacentHTML("afterbegin", $4fa36e821943b400$var$notched);
textField.parentElement.querySelector(".notched-outline__notch").appendChild(label);
if (!notchedOutline) textField.parentElement.insertAdjacentHTML("afterbegin", $4fa36e821943b400$var$notched);
else notchedOutline.querySelector(".notched-outline__notch").appendChild(label);
};

@@ -26,0 +25,0 @@ const $4fa36e821943b400$var$handleInput = (input, classList, label, style)=>{

@@ -11,5 +11,4 @@ const $cf838c15c8b009ba$var$notched = `

const notchedOutline = textField.parentElement.querySelector(".notched-outline");
if (notchedOutline) return;
textField.parentElement.insertAdjacentHTML("afterbegin", $cf838c15c8b009ba$var$notched);
textField.parentElement.querySelector(".notched-outline__notch").appendChild(label);
if (!notchedOutline) textField.parentElement.insertAdjacentHTML("afterbegin", $cf838c15c8b009ba$var$notched);
else notchedOutline.querySelector(".notched-outline__notch").appendChild(label);
};

@@ -16,0 +15,0 @@ const $cf838c15c8b009ba$var$handleInput = (input, classList, label, style)=>{

2

package.json
{
"name": "text-fields",
"version": "1.1.3",
"version": "1.1.4",
"description": "Input, textarea, material, vanilla",

@@ -5,0 +5,0 @@ "author": "ux-ui.pro",

@@ -13,9 +13,7 @@ const notched = `

if (notchedOutline) return
textField.parentElement.insertAdjacentHTML('afterbegin', notched)
textField.parentElement
.querySelector('.notched-outline__notch')
.appendChild(label)
if (!notchedOutline) {
textField.parentElement.insertAdjacentHTML('afterbegin', notched)
} else {
notchedOutline.querySelector('.notched-outline__notch').appendChild(label)
}
}

@@ -22,0 +20,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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