Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Resolves and concatenates CommonJS module dependencies for use in the browser. It's a port of modulr
from Ruby to node.js and is based on module-grapher
, a node module which resolves dependencies through recursive static analysis.
modulr
is available as an NPM module.
$ npm install modulr
modulr
accepts the main module's identifier and an optional config object as arguments which get passed to module-grapher
. It outputs a small runtime and the concatenated modules sources as a string.
require('modulr').build('foo', {
paths: ['./lib', './vendor'], // defaults to the equivalent of ['.']
root: 'path/to/package/root/' // defaults to process.cwd()
}, callback);
modulr
can also accepts a CommonJS package or its package.json
file as argument. I which case it uses the JSON file's main
value as entry point, the custom builder_path
property to set search paths, and the package's dir as root.
require('modulr').buildFromPackage('path/to/package', callback);
Your choice of MIT or Apache, Version 2.0 licenses. module-grapher
is copyright 2010 Tobie Langel.
FAQs
Resolves and concatenates CommonJS module dependencies for use in the browser.
The npm package modulr receives a total of 2 weekly downloads. As such, modulr popularity was classified as not popular.
We found that modulr 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.