
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
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';
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.

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

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.