
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.
gatsby-plugin-iltorb
Advanced tools
Gatsby plugin for preparing brotli-compressed versions of assets using iltorb native bindings
Gatsby plugin for preparing brotli-compressed versions of assets using iltorb native bindings.
Note: This means that the plugin will try to download the binaries for your system. If it fails, it tries to build them using build tools that must already exist on the system. There is also a version of this plugin available, that does not use native bindings (gatsby-plugin-brotli). The difference is that compression takes a bit longer.
/webpack-runtime-cde5506958f1afc4d89e.js
becomes
/webpack-runtime-cde5506958f1afc4d89e.js.br
This plugin will only generate the compressed files. To see them been served to the client, your Gatsby website should run on a production server that supports Brotli .br-files. The Gatsby development server does not serve the compressed versions.
With npm:
npm install --save gatsby-plugin-iltorb
Or with Yarn:
yarn add gatsby-plugin-iltorb
In your gatsby-config.js
file add:
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-iltorb'
}
]
}
By default, only .css
and .js
files are compressed, but you can override this with the extensions
option.
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-iltorb',
options: {
extensions: ['css', 'html', 'js', 'svg']
}
}
]
}
You can even place all the brotli-compressed files (only the brotli ones, the uncompressed ones will
be saved in the public
directory as usual) in a dedicated directory (ex. public/brotli
):
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-iltorb',
options: {
path: 'brotli'
}
}
]
}
If you would like to help out with some code, check the details.
Not a coder, but still want to support? Have a look at the options available to donate.
Licensed under MIT.
NOTE: This plugin only generates output when run in production
mode! To test, run: gatsby build && gatsby serve
FAQs
Gatsby plugin for preparing brotli-compressed versions of assets using iltorb native bindings
We found that gatsby-plugin-iltorb 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.