
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.
@storybook/addon-design-assets
Advanced tools
This addon for storybook allows you to link to image files, other files, and even url's for embedding in the storybook panel!
You can add as many assets to a single story as you want.
npm install @storybook/addon-design-assets
within .storybook/main.js
:
module.exports = {
addons: ['@storybook/addon-design-assets']
}
within your stories:
import React from 'react';
import imageUrl from './images/my-image.jpg';
export default {
title: 'Design Assets',
parameters: {
assets: [
imageUrl, // link to a file imported
'https://via.placeholder.com/300/09f/fff.png', // link to an external image
'https://www.example.com', // link to a webpage
'https://www.example.com?id={id}', // link to a webpage with the current story's id in the url
],
},
};
export const defaultView = () => (
<div>your story here</div>
);
FAQs
Design asset preview for storybook
The npm package @storybook/addon-design-assets receives a total of 877 weekly downloads. As such, @storybook/addon-design-assets popularity was classified as not popular.
We found that @storybook/addon-design-assets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.