
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.
mocking-frog
Advanced tools
import { MockingFrog } from 'mocking-frog';
const STATE_MAP = {
case0: {
// range
num1: {
value: 3,
limit: {
min: 0,
max: 10,
step: 0.1,
},
onChange: (state) => { // optional
console.log(state.value);
console.log(state.id); // 'num1'
},
// ext info(optional)
id: 'num1',
desc: 'fooooo',
},
// dropdown
select: {
value: 'b',
limit: ['a', 'b'],
onChange: () => {}, // optional
},
// input
username: {
value: 'immediatelyChange',
immediatelyChange: true, // whether or not emit its onChange by 'input event'
onChange: () => {}, // optional
},
// checkbox
male: {
value: false,
onChange: () => {}, // optional
},
// button
log: {
value: () => { console.log('button on click')},
},
// folder
test_folder: {
value: { // widget map
log: {
value: () => { console.log('button on click')},
},
},
active: false, // fold or not
onChange: () => {}, // active onChange, optional
},
},
case1: {
//...
}
};
let frog;
const CURRENT_STATE = 'case0';
const OPTIONS = {
scale: 2, // optional
wrapStyle: { // optional
background: '#fff',
},
contentStyle: {}, // optional
stateDropdownOnChange: () => {}, // optional
onChange: (state) => { // optional
console.log('global onChange');
frog.save();
},
}
frog = new MockingFrog(STATE_MAP, CURRENT_STATE, OPTIONS);
FAQs
``` import { MockingFrog } from 'mocking-frog';
The npm package mocking-frog receives a total of 2 weekly downloads. As such, mocking-frog popularity was classified as not popular.
We found that mocking-frog 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.

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.