
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
  [ => {
function onChange(root) {
console.log(root)
}
return (
<div>
<Mindmap onChange={onChange} />
</div>
);
};
ReactDOM.render(<App />, document.getElementById('root'));
Mindmap props
prop | type | description | default | optional |
---|---|---|---|---|
value | TopicData | control mindmap value | - | true |
readonly | boolean | is mindmap readonly | false | true |
onChange | (value: TopicData) => void | listen to mindmap value change | - | true |
locale | 'en' | 'cn' | 'ja' | language localization | en | true |
theme | Theme | custom theme | - | true |
TopicData
interface TopicData {
id: string;
title: string;
side?: 'left' | 'right';
children?: {
attached: Array<TopicData>;
};
}
Theme
interface Theme {
link: {
stroke: string;
strokeWidth: number;
};
topic: {
borderColor: string;
};
canvasWidth: number;
canvasHeight: number;
}
FAQs
  [ to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.