
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
babel-plugin-dynamic-import-node-sync
Advanced tools
Babel 7 plugin to transpile import() to a require(), for node
Babel 7 plugin to transpile async import()
to sync a require()
, for node. Matches the proposed spec.
I am using it for server-side rendering.
babel-plugin-dynamic-import-node-sync
import(SOURCE) => require(SOURCE)
babel-plugin-dynamic-import-node
import(SOURCE) => Promise.resolve().then(() => require(SOURCE))
$ npm install babel-plugin-dynamic-import-node-sync --save-dev
.babelrc
(Recommended).babelrc
{
"plugins": ["dynamic-import-node-sync"]
}
$ babel --plugins dynamic-import-node-sync script.js
FAQs
Babel 7 plugin to transpile import() to a require(), for node
The npm package babel-plugin-dynamic-import-node-sync receives a total of 1,717 weekly downloads. As such, babel-plugin-dynamic-import-node-sync popularity was classified as popular.
We found that babel-plugin-dynamic-import-node-sync 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 packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.