Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@lbry/components
Advanced tools
Styling for shared components across LBRY properties
$ npm i @lbry/components sass -D
We recommend using this module with Dart Sass for its' focus on speed and low dependency count.
If you are using @lbry/components
, you can safely remove @lbry/color if you've already included it separately (this module includes it by default).
https://lbryio.github.io/components
Your main Sass file:
@charset "utf-8";
@import "@lbry/components/sass/";
// ...your other Sass imports
In your watch scripts for Sass files, ensure you load the node_modules
path in order to import
this module in your project without silly prefixes like ../../../
. What a mess.
Example package.json
scripts section:
"scripts": {
...,
"sass:dev": "sass --load-path=node_modules --watch app/sass:app/dist --style compressed",
"sass:prod": "sass --load-path=node_modules --update app/sass:app/dist --style compressed",
...
}
They are nearly identical, save for --watch
and --update
. Please refer to the Dart Sass README for assistance on how to integrate it with your project. The above example is taken from the lbry.tech
repo.
To use with Webpack, you have to make use of the tilde character when referencing a file inside your node_modules
folder. Like so:
@import "~@lbry/components/sass/";
BSD 3-Clause Copyright © LBRY Inc.
FAQs
Styling for shared components across LBRY properties
The npm package @lbry/components receives a total of 85 weekly downloads. As such, @lbry/components popularity was classified as not popular.
We found that @lbry/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.