WhatsApp-Proxy / whatsapp-proxies-web

WhatsApp Proxy is a web app that lists WhatsApp Proxy servers
https://whatsapp-proxy.com/
21 stars 9 forks source link

Bump @zerodevx/svelte-toast from 0.9.5 to 0.9.6 #211

Closed dependabot[bot] closed 1 day ago

dependabot[bot] commented 4 days ago

Bumps @zerodevx/svelte-toast from 0.9.5 to 0.9.6.

Release notes

Sourced from @​zerodevx/svelte-toast's releases.

v0.9.6

This is a maintenance update that brings tooling and dependencies in sync with the latest Svelte decisions.

Changelog

  • onpop() callback returns a details object as its second param containing the close event, if any (#104):
toast.push('foo', {
  onpop: (id, details) => {
    const { event } = details
    // `undefined` if closed by timeout; 
    // `MouseEvent|KeyboardEvent` if closed by dismiss button
    console.log(event)
  }
})
<script lang="ts">
import { toast, type SvelteToastOptions } from '@zerodevx/svelte-toast'

function stub(msg: string, options: SvelteToastOptions) {
toast.push(msg, options)
}
</script>

  • Support Svelte v5 since it's backward compatible

Roadmap

The next minor v0.10.0 will contain breaking changes - strictly speaking, semver allows that between minor increments of the v0 branch. Changes include:

  • onpop(): callback deprecated in favour of a promise-based implementation;
  • component: decoupling of ToastItem into a Controller and View - this allows greater control on how a toast looks;
  • pausable: none|hover|hidden|all - finer control on when toasts pause (#103);
  • reverse: applies to container-level only;
  • and probably some other stuff.

These changes prepare us for v1.0.0 where codebase will be refactored to Svelte v5 only - this repo greatly benefits from v5's fine-grained reactivity and snippet runes. Work on this begins when v5 stable ships.

Moving forward, the v0 branch will be maintained based on Svelte v4 (can be used in both v4 and v5 projects), while the v1 branch will be written in Svelte v5 and can only be used in v5 projects.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
cloudflare-workers-and-pages[bot] commented 4 days ago

Deploying whatsapp-proxies-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: c231db0
Status: ✅  Deploy successful!
Preview URL: https://9a682f9b.whatsapp-proxies-web.pages.dev
Branch Preview URL: https://dependabot-npm-and-yarn-zero.whatsapp-proxies-web.pages.dev

View logs