Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
babel-preset-next-react
Advanced tools
This package includes the Babel preset used to make optimized React app with WebPack 2
This package includes the Babel preset used to make optimized React app with WebPack 2.
If you want to use it, you can install it with following steps.
First, install Babel.
Then create a file named .babelrc with following contents in the root folder of your project :
{
"presets": ["next-react"]
}
This preset uses the useBuiltIns option with "transform-object-rest-spread" and "transform-react-jsx", which assumes that Object.assign is available or polyfilled.
If you need Object.assign polyfill, check : https://www.npmjs.com/package/object-assign
FAQs
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
The npm package babel-preset-next-react receives a total of 2 weekly downloads. As such, babel-preset-next-react popularity was classified as not popular.
We found that babel-preset-next-react 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
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.