
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.
entry-chunk-loader
Advanced tools
Webpack loader to generate a new entry chunk.
A fork of spawn-loader
, with a few notable changes:
npm install --save-dev entry-chunk-loader
// simplest usage: emits otherBundle.js in the same directory
import url from 'entry-chunk-loader!./otherBundle');
// url === 'otherBundle.js'
// build into a subdir: emits otherBundle.js
// (and any assets it emits) into childDir/
import url from 'entry-chunk-loader?path=childDir!./otherBundle';
// url === 'childDir/otherBundle.js'
// specify a different name
import url from 'entry-chunk-loader?name=bundle.js!./file';
// url === 'bundle.js'
// emit the required file as-is, with no prelude
// only useful in combination with other loaders
import url from 'entry-chunk-loader?inert!./manifest.json';
// url === 'manifest.json'
// simplest usage: emits otherBundle.js in the same directory
const url = require('entry-chunk-loader!./otherBundle');
// url === 'otherBundle.js'
// build into a subdir: emits otherBundle.js
// (and any assets it emits) into childDir/
const url = require('entry-chunk-loader?path=childDir!./otherBundle');
// url === 'childDir/otherBundle.js'
// specify a different name
const url = require('entry-chunk-loader?name=bundle.js!./file');
// url === 'bundle.js'
// emit the required file as-is, with no prelude
// only useful in combination with other loaders
const url = require('entry-chunk-loader?inert!./manifest.json');
// url === 'manifest.json'
FAQs
Webpack loader to generate a new entry chunk.
The npm package entry-chunk-loader receives a total of 12 weekly downloads. As such, entry-chunk-loader popularity was classified as not popular.
We found that entry-chunk-loader 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
/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.