
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.
cyclejs-modal
Advanced tools
An easy way to open custom modals in a cyclejs app
Documentation is hosted on Github Pages
npm install --save cyclejs-modal
You can find the examples in the examples/ folder
Since Version 5.2.0 you can also pass the sources to the created modal. This allows the modal to access the isolation scope of its creation place. Take a look at the onionify example to see this in action.
Since Version 5.3.0 modals can be closed by clicking on the gray overlay. You can disable that in the open
message:
{
type: 'open',
component: MyModal,
backgroundOverlayClose: false
}
function main({ DOM }) {
return {
DOM: xs.of(button('.button', ['open modal'])),
modal: DOM.select('.button').events('click')
.mapTo({
type: 'open',
component: isolate(modal, 'myscope')
} as ModalAction)
};
}
function modal({ DOM }) {
return {
DOM: xs.of(div('.div', [
span('.span', ['This is a modal. Yeah? :)']),
button('.button', ['close'])
])),
modal: DOM.select('.button').events('click')
.mapTo({ type: 'close' } as ModalAction)
};
}
Clone it, run npm i && npm run examples
FAQs
An easy way to open custom modals in a cyclejs app
We found that cyclejs-modal 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
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.