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

@ariabones/button

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariabones/button - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

4

index.js

@@ -8,4 +8,4 @@ class s extends HTMLButtonElement {

}
attributeChangedCallback(t, r, e) {
t === "disabled" && (e === "true" ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled")), t === "_type" && e === "toggle" && (this.setAttribute("_", "on click if @aria-pressed equals 'false' set @aria-pressed to 'true' else set @aria-pressed to 'false'"), this.setAttribute("aria-pressed", "false"));
attributeChangedCallback(e, r, t) {
e === "disabled" && (t === "true" ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled")), e === "_type" && (t === "toggle" && (this.setAttribute("_", "on click if @aria-pressed equals 'false' set @aria-pressed to 'true' else set @aria-pressed to 'false'"), this.setAttribute("aria-pressed", "false")), t === "menu" && this.setAttribute("aria-haspopup", "menu"));
}

@@ -12,0 +12,0 @@ }

{
"name": "@ariabones/button",
"type": "module",
"version": "0.0.1",
"version": "0.1.0",
"author": "Nicolas Accetta",

@@ -6,0 +6,0 @@ "exports": {

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