
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
event-submitter-polyfill
Advanced tools
A polyfill for submitter property of form Submit Event, which is written in TypeScript.
A polyfill for submitter property of <form /> Submit Event, which is written in TypeScript.
import 'event-submitter-polyfill';
<head>
<script src="https://polyfill.web-cell.dev/feature/EventSubmitter.js"></script>
</head>
<body>
<form>
<input name="data" />
<button type="submit" data-name="first">Fisrt</button>
<button type="submit" data-name="second">Second</button>
</form>
<script>
document.querySelector('form')?.addEventListener('submit', event => {
event.preventDefault();
const { name } = event.submitter.dataset,
{ data } = event.target.elements;
fetch(`/api/${name}`, { data: data.value });
});
</script>
</body>
import React, { FormEvent } from 'react';
import { render } from 'react-dom';
function handleSubmit(event: FormEvent<HTMLFormElement>) {
event.preventDefault();
const { name } = event.nativeEvent.submitter.dataset,
{ data } = event.currentTarget.elements;
fetch(`/api/${name}`, { data: data.value });
}
render(
<form onSubmit={handleSubmit}>
<input name="data" />
<button type="submit" data-name="first">
Fisrt
</button>
<button type="submit" data-name="second">
Second
</button>
</form>,
document.body
);
We rewrite the source code based on Tobias Buschor's answer in StackOverflow.
FAQs
A polyfill for submitter property of form Submit Event, which is written in TypeScript.
We found that event-submitter-polyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.