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

@melt-ui/svelte

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@melt-ui/svelte - npm Package Compare versions

Comparing version 0.47.3 to 0.47.4

9

dist/builders/tree/create.js

@@ -1,2 +0,2 @@

import { addMeltEventListener, builder, createElHelpers, effect, executeCallbacks, generateId, getElementByMeltId, isHTMLElement, isHidden, isLetter, kbd, last, overridable, styleToString, } from '../../internal/helpers';
import { addMeltEventListener, builder, createElHelpers, executeCallbacks, generateId, getElementByMeltId, isHTMLElement, isHidden, isLetter, kbd, last, overridable, styleToString, } from '../../internal/helpers';
import { derived, writable } from 'svelte/store';

@@ -213,3 +213,3 @@ const defaults = {

isKeydown = false;
}), addMeltEventListener(node, 'focus', (e) => {
}), addMeltEventListener(node, 'focus', () => {
lastFocusedId.update((p) => node.getAttribute('data-id') ?? p);

@@ -254,7 +254,2 @@ }));

items = Array.from(rootEl.querySelectorAll('[role="treeitem"]')).filter((el) => !isHidden(el));
/**
* Filter out all elements that have parents that are not expanded.
*/
const closedParents = Array.from(rootEl.querySelectorAll('[aria-expanded="false"]'));
items = items.filter((item) => !closedParents.some((parent) => item !== parent && parent.contains(item)));
return items;

@@ -261,0 +256,0 @@ }

{
"name": "@melt-ui/svelte",
"version": "0.47.3",
"version": "0.47.4",
"license": "MIT",

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

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