
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.
@dfds-ui/react-components
Advanced tools
Collection of React components
Install with npm:
npm install --save @dfds-ui/react-components
Install with yarn:
yarn add @dfds-ui/react-components
Prop | Values | Description |
---|---|---|
Size | small, medium, large | Use Size when a prop controls the size of the component. Use t-shirt styles for values. |
Align | left, right, center | Use Align when a prop controls the horizontal alignment of the component |
Orientation | horizontal, vertical | Use Orientation when a prop control the direction the component (or children) will expand |
Variation | (what makes sense) | Use Variation when a component supports different variations. |
A common problem when using yarn link
is that you end of with multiple versions of packages (eg. react). This is
because dependencies are resolved upwards from within the symlinked react-components
folder.
If you are using webpack
you can try setting resolve.symlinks
to false
in your webpack.config.js
to only resolve
dependencies from the apps node_modules
folder.
Gatsby uses webpack under the hood, so in order to set resolve.symlinks
add the following to the gatsby-node.js
file
exports.onCreateWebpackConfig = ({ getConfig, actions, stage }) => {
const config = getConfig()
config.resolve.symlinks = false
actions.replaceWebpackConfig(config)
}
FAQs
Shared react components within DFDS
The npm package @dfds-ui/react-components receives a total of 342 weekly downloads. As such, @dfds-ui/react-components popularity was classified as not popular.
We found that @dfds-ui/react-components demonstrated a healthy version release cadence and project activity because the last version was released less than 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.