Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@babel/plugin-transform-export-namespace-from
Advanced tools
The @babel/plugin-transform-export-namespace-from package is a Babel plugin that allows developers to use the export * as syntax in their JavaScript code, which is part of the ECMAScript 2020 (ES2020) specification. This syntax enables the re-exporting of all named exports from another module under a single namespace object.
Namespace export transformation
This feature allows you to re-export all named exports from a module as a single namespace object. It's useful for creating a single object that encapsulates all exports from a module, which can then be used elsewhere in your code.
export * as ns from './module';
This package is a proposal plugin for Babel that adds support for the export * as syntax before it was officially included in the ECMAScript specification. It serves a similar purpose to @babel/plugin-transform-export-namespace-from but is intended for use during the proposal stage.
This Babel plugin adds support for the export-from extension syntax, which includes export * as syntax as well as other export extensions. It's a broader plugin that encompasses the functionality of @babel/plugin-transform-export-namespace-from along with additional export-related transformations.
Compile export namespace to ES2015
See our website @babel/plugin-transform-export-namespace-from for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-export-namespace-from
or using yarn:
yarn add @babel/plugin-transform-export-namespace-from --dev
v7.22.5 (2023-06-08)
babel-preset-env
, babel-standalone
syntax-unicode-sets-regex
in standalone (@nicolo-ribaudo)babel-core
-transform-
when resolving missing plugins (@nicolo-ribaudo)FAQs
Compile export namespace to ES2015
The npm package @babel/plugin-transform-export-namespace-from receives a total of 13,762,055 weekly downloads. As such, @babel/plugin-transform-export-namespace-from popularity was classified as popular.
We found that @babel/plugin-transform-export-namespace-from demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.