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

makeup-floating-label

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-floating-label - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

dist/cjs/index.js

@@ -164,2 +164,4 @@ "use strict";

this.labelEl.classList.add(this.options.labelElementInlineModifier);
} else if (!isSelect(this.formControlEl)) {
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}

@@ -169,2 +171,3 @@

this.labelEl.classList.add(this.options.labelElementFocusModifier);
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}

@@ -198,2 +201,3 @@

this.labelEl.classList.add(this.options.labelElementFocusModifier);
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}

@@ -200,0 +204,0 @@ }

@@ -121,5 +121,8 @@ const defaultOptions = {

this.labelEl.classList.add(this.options.labelElementInlineModifier);
} else if (!isSelect(this.formControlEl)) {
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}
if (isFocused(this.formControlEl)) {
this.labelEl.classList.add(this.options.labelElementFocusModifier);
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}

@@ -145,2 +148,3 @@ onMutation.call(this);

this.labelEl.classList.add(this.options.labelElementFocusModifier);
this.labelEl.classList.remove(this.options.labelElementInlineModifier);
}

@@ -147,0 +151,0 @@ }

2

package.json
{
"name": "makeup-floating-label",
"description": "Module for creating an accessible, progressively enhanced floating label",
"version": "0.3.0",
"version": "0.3.1",
"main": "./dist/cjs/index.js",

@@ -6,0 +6,0 @@ "module": "./dist/mjs/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