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.41.1 to 0.41.2

13

dist/internal/helpers/store/derivedWithUnsubscribe.js

@@ -19,2 +19,3 @@ import { onDestroy } from 'svelte';

const unsubscribe = () => {
// console.log('dfu unsubscribing');
// Call all of the unsubscribe functions from the previous run of the function

@@ -30,3 +31,13 @@ unsubscribers.forEach((fn) => fn());

onDestroy(unsubscribe);
return derivedStore;
const subscribe = (...args) => {
const unsub = derivedStore.subscribe(...args);
return () => {
unsub();
unsubscribe();
};
};
return {
...derivedStore,
subscribe,
};
}

2

package.json
{
"name": "@melt-ui/svelte",
"version": "0.41.1",
"version": "0.41.2",
"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