Socket
Socket
Sign inDemoInstall

@hiogawa/tiny-toast

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hiogawa/tiny-toast - npm Package Compare versions

Comparing version 0.0.1-pre.9 to 0.1.0

5

./dist/index.js
// src/utils.ts
var PauseableTimeout = class {
// TODO: handle ms === Infinity
constructor(callback, ms) {

@@ -37,2 +36,6 @@ this.callback = callback;

function setupTimeout(f, ms) {
if (ms === Infinity) {
return () => {
};
}
let handle = setTimeout(f, ms);

@@ -39,0 +42,0 @@ return () => {

// src/utils.ts
var PauseableTimeout = class {
// TODO: handle ms === Infinity
constructor(callback, ms) {

@@ -37,2 +36,6 @@ this.callback = callback;

function setupTimeout(f, ms) {
if (ms === Infinity) {
return () => {
};
}
let handle = setTimeout(f, ms);

@@ -39,0 +42,0 @@ return () => {

// src/utils.ts
var PauseableTimeout = class {
// TODO: handle ms === Infinity
constructor(callback, ms) {

@@ -37,2 +36,6 @@ this.callback = callback;

function setupTimeout(f, ms) {
if (ms === Infinity) {
return () => {
};
}
let handle = setTimeout(f, ms);

@@ -39,0 +42,0 @@ return () => {

2

package.json
{
"name": "@hiogawa/tiny-toast",
"version": "0.0.1-pre.9",
"version": "0.1.0",
"type": "module",

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

# tiny-toast
Somewhat framework-agnostic simple toast UI system
Simple toast UI system with framework-agnostic core module is separated.

@@ -5,0 +5,0 @@ ## example

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc