Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@babel/plugin-syntax-export-namespace-from
Advanced tools
Package description
The @babel/plugin-syntax-export-namespace-from package allows Babel to parse the export * as syntax, which is used to re-export all named exports from another module under a single namespace. This is part of the ECMAScript 2020 specification and enables more concise and flexible module exports.
Namespace export
This feature allows all named exports from a module to be re-exported under a single namespace. It simplifies the process of re-exporting multiple exports and enhances code readability and maintainability.
export * as namespaceName from './module';
This package is a proposal plugin for Babel that adds support for the export * as syntax, similar to @babel/plugin-syntax-export-namespace-from. The key difference is that @babel/plugin-proposal-export-namespace-from not only allows Babel to parse this syntax but also transforms it, making it usable in environments that do not support this syntax natively.
While not a direct alternative, @babel/preset-env includes support for transforming modern ECMAScript features, including the export * as syntax, to be compatible with older environments. It's a more comprehensive solution that includes the functionality of @babel/plugin-syntax-export-namespace-from as part of its broader feature set.
Readme
Allow parsing of export namespace from
See our website @babel/plugin-syntax-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-syntax-export-namespace-from
or using yarn:
yarn add @babel/plugin-syntax-export-namespace-from --dev
FAQs
Allow parsing of export namespace from
We found that @babel/plugin-syntax-export-namespace-from demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.