Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@babel/plugin-proposal-export-default-from
Advanced tools
The @babel/plugin-proposal-export-default-from package allows developers to use the proposed export default from syntax in their JavaScript code, which is not yet part of the ECMAScript standard. This plugin transforms the proposed syntax into a form that can be understood by current JavaScript engines.
Export default from syntax
This feature allows you to export a default export from another module in a single line. Without this plugin, you would need to import the default export and then export it, which is more verbose.
export v from 'mod';
This package allows you to export namespaced content from another module. It is similar to @babel/plugin-proposal-export-default-from but for namespace exports instead of default exports.
This package was used to provide similar functionality as @babel/plugin-proposal-export-default-from, allowing both default and named exports from syntax. However, it has been deprecated in favor of the individual proposal plugins provided by Babel.
Compile export default to ES2015
See our website @babel/plugin-proposal-export-default-from for more information.
Using npm:
npm install --save-dev @babel/plugin-proposal-export-default-from
or using yarn:
yarn add @babel/plugin-proposal-export-default-from --dev
v7.25.9 (2024-10-22)
babel-parser
, babel-template
, babel-types
syntacticPlaceholders
mode (@liuxingbaoyu)babel-helper-compilation-targets
, babel-preset-env
ClassAccessorProperty
to prevent the no-undef
rule (@victorenator)babel-parser
, babel-types
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)FAQs
Compile export default to ES2015
We found that @babel/plugin-proposal-export-default-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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.