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.25.0 to 0.25.1

3

dist/builders/avatar/create.d.ts

@@ -9,4 +9,5 @@ /// <reference types="svelte" />

fallback: import("../../internal/helpers").ExplicitBuilderReturn<[import("svelte/store").Writable<ImageLoadingStatus>], import("svelte/action").Action<any, any, Record<never, any>>, ([$loadingStatus]: [ImageLoadingStatus]) => {
style: string;
style: string | undefined;
hidden: boolean | undefined;
}, "avatar-fallback">;
};

@@ -46,7 +46,9 @@ import { builder, effect, isBrowser, styleToString } from '../../internal/helpers';

returned: ([$loadingStatus]) => {
const fallbackStyles = styleToString({
display: $loadingStatus === 'loaded' ? 'none' : 'block',
});
return {
style: fallbackStyles,
style: $loadingStatus === 'loaded'
? styleToString({
display: 'none',
})
: undefined,
hidden: $loadingStatus === 'loaded' ? undefined : true,
};

@@ -53,0 +55,0 @@ },

{
"name": "@melt-ui/svelte",
"version": "0.25.0",
"version": "0.25.1",
"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