
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
@calderajs/babel-preset-calderajs
Advanced tools
A shared babel preset for use in Caldera JavaScript projects that use React and are not intended to work with WordPress.
A shared babel preset for use in Caldera JavaScript projects that use React and are not intended to work with WordPress.
yarn add @calderajs/babel-preset-calderajs --dev
or with npm:
npm i @calderajs/babel-preset-calderajs --dev
{
"presets": [
"@calderajs/babel-preset-calderajs"
]
}
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.0.0",
"@babel/polyfill": "^7.4.4",
"@calderajs/babel-preset-calderajs": "^0.9.4",
"babel-loader": "^8.0.5"
}
If you're using babel for a WordPress plugin and want to use wp.createElement() instead of React.createElement() to transform JSX, do this instead:
yarn add @wordpress/babel-preset-default --dev
or with npm:
npm i v --dev
{
"presets": [ "@wordpress/babel-preset-default" ],
"plugins": [
[ "transform-react-jsx", {
"pragma": "wp.element.createElement"
} ]
]
}
White Space!
FAQs
A shared babel preset for use in Caldera JavaScript projects that use React and are not intended to work with WordPress.
We found that @calderajs/babel-preset-calderajs 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.