
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@bndynet/dialog
Advanced tools
An interactive dialog for browser includes alert, confirm and notifications
An interactive dialog includes alert, confirm, notification and modal dialogs. But can be used in Browser and TypeScript project.
Use npm install @bndynet/dialog to install package, and import them like below:
import { alert, confirm, notify, loading, loadingFor, iframe, element } from "@bndynet/dialog";
The UMD build is also available on unpkg.com, and you can add to your website like:
<link href="https://unpkg.com/@bndynet/dialog/dist/dialog.css" rel="stylesheet" type="text/css" />
<script src="https://unpkg.com/@bndynet/dialog/dist/dialog.umd.js"></script>
<script>
dialog.setup({
theme: "your-theme", // will be appended the `class` attribute of `body` tag, more themes please see https://github.com/bndynet/dialog-themes
labelOK: "OK",
labelCancel: "Cancel",
animate: true,
notificationAutoClose: true,
notificationClickClose: true,
notificationCloseDelay: 3000,
notificationTheme: "default",
notificationPlacement: "bottom right",
notificationMaxItems: 3,
notificationSquare: false
});
dialog.setTheme("theme");
dialog.alert("content", function() {});
dialog.alert("title", "content", function() {});
dialog.confirm("content", function() {}); // same as `dialog.confirm("content").then(function() { })`
dialog.confirm("title", "content", function() {}); // same as `dialog.confirm("title", "content").then(function() { })`
dialog.notify("Message"[, "success"|"warning"|"error"]);
dialog.notify({message: "message", theme: "success"});
dialog.loading();
dialog.loading(false); // hide the global loading box
dialog.loading({text: "Loading"});
dialog.url('http://bndy.net', 'Title'[, {width: '80%', height: '80%'}]);
dialog.element('formId', 'Form Title'[, {width: '80%', height: '80%'}]);
// loading box for element
var elLoading = dialog.loadingFor("#id", "Loading...", "#00ff00");
elLoading.hide();
</script>
FAQs
An interactive dialog for browser includes alert, confirm and notifications
We found that @bndynet/dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.