
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
blurhash-loader
Advanced tools
A blurhash loader module for webpack.
$ npm install -D blurhash-loader
or
$ yarn add -D blurhash-loader
module.exports = {
module: {
rules: [
test: /\.(?:gif|jpe?g|png|webp)$/i,
use: [
{
loader: 'blurhash-loader',
options: {
componentX: 4,
componentY: 3
}
}
]
]
}
}
import { Blurhash } from 'react-blurhash'
import photo, { blurhash } from './photo.jpg'
export default function Home() {
return (
<div>
<Blurhash hash={blurhash} height={600} width={800} />
</div>
)
}
Name | Type | Default | Description |
---|---|---|---|
componentX | {Number} | 4 | A componentX is the value passed directly to blurhash. |
componentY | {Number} | 3 | A componentY is the value passed directly to blurhash. |
context | {String} | loaderContext.rootContext | A custom file context. |
emitFile | {Boolean} | true | Don't emit the file if false is specified. |
esModule | {Boolean} | true | If enabled, use the ES modules syntax. |
name | {String|Function} | '[contenthash].[ext]' | The filename template for the target file. |
outputPath | {String|Function} | undefined | A custom output path for the target file. |
publicPath | {String|Function} | undefined | A custom public path for the target file. |
FAQs
A blurhash loader module for webpack.
The npm package blurhash-loader receives a total of 1 weekly downloads. As such, blurhash-loader popularity was classified as not popular.
We found that blurhash-loader 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.