
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.
rollup-plugin-import-meta-resolve
Advanced tools
A resolver plugin using the import.meta.resolve algorithm provided by Node.js.
This plugin is (more-or-less) a drop-in replacement for the
@rollup/plugin-node-resolve
plugin.
There are a few differences between this plugin and the Node.js resolver:
import
conditions. This is to ensure that ESM-modules are
consumed first. This doesn't imply that CommonJS modules are not consumed as
default
conditions and packages without export
conditions may still
resolve to a CommonJS module.You can use strict
to disable (1) and (2) (which is recommended), but you may
need to fix some modules that are not compliant with the ESM spec.
This plugin is restrictive by default (e.g. no module roots, no require
exports, etc.). This ensures projects are up-to-date and compliant across the
board. If you have custom file tree requirements, it's recommended to use
symlinked directories.
FAQs
Another Rollup resolver plugin
The npm package rollup-plugin-import-meta-resolve receives a total of 2 weekly downloads. As such, rollup-plugin-import-meta-resolve popularity was classified as not popular.
We found that rollup-plugin-import-meta-resolve 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.