Socket
Socket
Sign inDemoInstall

@hiogawa/tiny-toast

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1-pre.4 to 0.1.1-pre.5

2

dist/preact/index.d.ts

@@ -32,3 +32,3 @@ import { ToastItem, ToastManager, ToastType, ToastPosition } from '../index.js';

defaultOptions: DefaultOptions;
render(el: Element): () => void;
render(): () => void;
success: (this: PreactToastManager, render: MaybeRenderItem, options?: Partial<DefaultOptions> | undefined) => void;

@@ -35,0 +35,0 @@ error: (this: PreactToastManager, render: MaybeRenderItem, options?: Partial<DefaultOptions> | undefined) => void;

@@ -956,5 +956,10 @@ // ../../node_modules/.pnpm/preact@10.17.1/node_modules/preact/dist/preact.mjs

};
render(el) {
render() {
const el = document.createElement("div");
document.body.appendChild(el);
D(y(ToastContainer, { toast: this }), el);
return () => D(null, el);
return () => {
D(null, el);
el.remove();
};
}

@@ -961,0 +966,0 @@ success = createByTypeFactory("success");

{
"name": "@hiogawa/tiny-toast",
"version": "0.1.1-pre.4",
"version": "0.1.1-pre.5",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc