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.
github.com/bugoio/bugo-sass-utilities
A Hugo Module that contains Bugo specific Sass functions, mixins & variables
Before starting check the list below:
If your project isn't a Hugo Module.
hugo mod init
Get this module.
hugo mod get github.com/bugoio/bugo-sass-utulities
Add it to your Hugo config file (shown in YAML).
module:
imports:
- disable: false
ignoreConfig: false
path: github.com/bugoio/bugo-sass-utilities
This partial consolidates all SASS variables stored in your project's assets folders. Since this runs at build time it uses Hugo's "consoloidated" assets directory.
Files must be named one of two ways to be included.
Add the partial to your /layouts/_default/baseof.html
template. Anywhere will do. This partial does not output any markup. The partial call below is included in the bugo-stylesheets partial. If you're already using bugo-stylesheets, you don't need to call it again.
{{ partial "utilities/bugo-sass-utilities" . }}
Creates a variables file in your local build folder from all files labeled *-vars.scss
at build time.
/public/site-variables-example.scss
**/*-global-variables.scss
firstThis partial returns a permalink to a consolidated CSS resource.
.scss`` files in Hugo's assetDir (
/assets`` by default)_*.scss
){{ $stylesheet := partial "utilities/bugo-stylesheets" . }}
<link rel="stylesheet" href="{{ $stylesheet }}" media="screen" />
FAQs
Unknown package
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.