
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.
@rettangoli/ui
Advanced tools
src/
├── primitives/ # Basic web components built from scratch, no dependencies
└── components/ # Pre-built components using @rettangoli/fe
vt/ # Uses @rettangoli/vt visual testing library
├── reference/ # Golden screenshots for visual testing
└── specs/ # HTML test specifications
Use npx to install rtgl
cli globally. You run into issues if try to use bunx
.
npx i -g rtgl
Install dependencies
bun install
Bundles the code to be used for rettangoli-vt
bun run build:dev
Uses rettangoli-vt
to generates test screens
bun run vt:generate
Test for any change using rettangoli-vt
bun run vt:report
Accept the changes by updating the reference screenshots
bun run vt:accept
You can then access the generates screens
bun run serve
Open http://localhost:3000/view to see the specification screens
Use via CDN iife (Immediately Invoked Function Expression) us JSDeliver
Primitives only. This might be useful if you want a light weight version and use only the primitives.
<script src="https://cdn.jsdelivr.net/npm/@rettangoli/ui@latest/dist/rettangoli-layout.iife.min.js"></script>
All primitives and components
<script src="https://cdn.jsdelivr.net/npm/@rettangoli/ui@latest/dist/rettangoli-ui.iife.min.js"></script>
Install package
npm install @rettangoli/ui
Import the package. This allows you to configure more flexible options and to treeshake only the code that you need.
import { RettangoliView } '@rettangoli/ui';
customElements.define("rtgl-view", RettangoliView({}));
Make sure you import a stylesheet file from your html file. Example
FAQs
A UI component library for building web interfaces.
We found that @rettangoli/ui 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.