
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.
sourceblocks-g
Advanced tools
Juno verse UI library
yarn add junoblocks
import React, { Component } from 'react'
import { Button, Text, styled } from 'junoblocks'
const StyledText = styled(Text, {
textTransform: 'uppercase',
// Access internal theme variables using tokens
padding: '$2 0',
// read more https://stitches.dev/docs/tokens
color: '$textColor$success'
})
const Example = () => {
return (
<>
<StyledText variant="hero">Welcome to Junoblocks!</StyledText>
<Button
variant="primary"
onClick={() => require('juno').navigateToTheMoon()}
css={{ marginTop: "$12" }}
>
Join our team here
</Button>
</>
)
}
Build junoblocks locally and preview documented components using storybook.
yarn storybook
This is for parallel development for your app and junoblocks. It will automatically reload the page when you change code in your local clone of the repo. Currently, the dev mode is only available for nextjs apps. You'll need to install a plugin for nextjs and clone this repo to the same root directory of your app.
To get started, run this in your nextjs app folder:
yarn add next-bundle-junoblocks
In next.config.js
:
// next.config.js
const withBundleJunoblocks = require('next-bundle-junoblocks')
const config = {} // nextjs config
module.exports =
process.env.BUILD_JUNOBLOCKS === 'true' ?
withBundleJunoblocks(config) : config
Clone the repo in the same root directory of your nextjs app and run yarn install
.
Here's how your file tree should look like:
└── your_project
└────── package.json
└────── index.js
└────── ...
└── junoblocks
└────── package.json
└────── index.js
└────── ...
Once modules are installed:
yarn dev
to start the dev bundler in junoblocks folder.BUILD_JUNOBLOCKS=true yarn dev
to start a dev server in your nextjs app.Done! Now junoblocks will be bundled up together with your nextjs app supporting fast reload.
Note, your local junoblocks version will not be included into production bundles.
Please submit your suggestions, feature requests or bugs reports to the GitHub Issues.
MIT © sashimi36
FAQs
> Juno verse UI library
We found that sourceblocks-g 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.