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

@flexilla/collapse

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flexilla/collapse - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

8

dist/collapse.js

@@ -18,3 +18,3 @@ var r = Object.defineProperty;

t instanceof HTMLElement && t.setAttribute("aria-expanded", e === "open" ? "true" : "false");
}, a = class a {
}, p = (i, t = document.body) => Array.from(t.querySelectorAll(i)), a = class a {
/**

@@ -57,8 +57,8 @@ * Collapse Component

/**
* auto init collapse components based on the selector provided
* auto init collapse components based on a provided selector
* @param selector {string} default is [data-fx-collapse]
*/
s(a, "autoInit", (t = "[data-fx-collapse]") => {
const e = Array.from(document.querySelectorAll(t));
for (const l in e)
const e = p(t);
for (const l of e)
new a(l);

@@ -65,0 +65,0 @@ });

@@ -21,3 +21,3 @@ export declare class Collapse {

/**
* auto init collapse components based on the selector provided
* auto init collapse components based on a provided selector
* @param selector {string} default is [data-fx-collapse]

@@ -24,0 +24,0 @@ */

{
"name": "@flexilla/collapse",
"private": false,
"version": "2.0.1",
"version": "2.0.2",
"type": "module",

@@ -65,4 +65,3 @@ "description": "A versatile and interactive collapse component for creating collapsible sections in web applications, conserving space and improving user experience.",

"license": "MIT",
"author": "johnkat-mj",
"gitHead": "8435693ee1ff8e2f9d279b5d4026949530d7d05d"
"author": "johnkat-mj"
}

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