
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@cmpsr/markdown-editor
Advanced tools
[](https://github.com/cmpsr/composer/actions/workflows/test.yml) [ => void;
placeholder?: string;
};
export const MyEditor: FC<Props> = ({ value, onChange, placeholder }) => (
<ComposerProvider>
<MarkdownEditor
initialValue={value}
onChange={onChange}
placeholder={placeholder}
height="350px"
width="100%"
/>
</ComposerProvider>
);
This component is not a controlled component, the initialValue
will only be set once to the first non falsy value provided, once a value is set subsequent values sent to the component will be ignored. For example in the following code the value
set inside the setTimeout
will be discarded by the MarkdownEditor
and # First value
will be used.
export const WithInitialValue = () => {
const [value, setValue] = useState("# First value");
useEffect(() => {
setTimeout(() => {
setValue("# Second value");
}, 1000);
}, []);
return <MarkdownEditor initialValue={value} />;
};
Before creating the pull request you have to generate a changeset for your components, follow the instructions in here.
FAQs
[](https://github.com/cmpsr/composer/actions/workflows/test.yml) [![Chromatic Actions status](https://github.com/cmpsr/composer/actions/workflows
The npm package @cmpsr/markdown-editor receives a total of 10 weekly downloads. As such, @cmpsr/markdown-editor popularity was classified as not popular.
We found that @cmpsr/markdown-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.