Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
babel-preset-inferno-app
Advanced tools
This package includes the Babel preset used by Create Inferno App.
Please refer to its documentation:
The easiest way to use this configuration is with Create Inferno App, which includes it by default. You don’t need to install it separately in Create Inferno App projects.
If you want to use this Babel preset in a project not built with Create Inferno App, you can install it with the following steps.
First, install Babel. Then install babel-preset-inferno-app.
npm install babel-preset-inferno-app --save-dev
Then create a file named .babelrc
with following contents in the root folder of your project:
{
"presets": ["inferno-app"]
}
This preset uses the useBuiltIns
option with transform-object-rest-spread and babel-plugin-inferno, which assumes that Object.assign
is available or polyfilled.
Make sure you have a .flowconfig
file at the root directory. You can also use the flow
option on .babelrc
:
{
"presets": [["inferno-app", { "flow": true, "typescript": false }]]
}
Make sure you have a tsconfig.json
file at the root directory. You can also use the typescript
option on .babelrc
:
{
"presets": [["inferno-app", { "flow": false, "typescript": true }]]
}
Absolute paths are enabled by default for imports. To use relative paths instead, set the absoluteRuntime
option in .babelrc
to false
:
{
"presets": [["inferno-app", { "absoluteRuntime": false }]]
}
FAQs
Babel preset used by Create Inferno App
The npm package babel-preset-inferno-app receives a total of 35 weekly downloads. As such, babel-preset-inferno-app popularity was classified as not popular.
We found that babel-preset-inferno-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.