
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@computerrock/babel-preset-react-lib
Advanced tools
This package contains Babel preset used for JavaScript/React libraries.
Install package and peer dependencies by running:
$ npm install @babel/core@^7.4.3 @babel/runtime-corejs3@^7.4.3
$ npm install core-js@^3.0.1 regenerator-runtime@^0.13.2
$ npm install @computerrock/babel-preset-react-lib@^2.1.0 --save-dev
Create a file named .babelrc
with following contents in the root folder of your project:
{
"presets": ["@computerrock/babel-preset-react-lib"]
}
This preset uses the useBuiltIns
option with
transform-object-rest-spread
and transform-react-jsx, which assumes
that Object.assign
is available or polyfilled.
FAQs
Babel preset for React libraries
We found that @computerrock/babel-preset-react-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.