
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@deloitte-digital-au/babel-preset-app-react
Advanced tools
Babel Preset for Deloitte Digital React Projects
Ract Babel preset used by Deloitte Digital for our modern web apps.
If you are using our webpack-config package. This is already pre-installed, please read the main instructions to configure this package.
Prerequisite
To use, you will need to install the Babel cli:
npm install @babel/cli --save-dev
You may also like to set it up for a tool of your choice.
Install @deloitte-digital-au/babel-preset-react
npm install @deloitte-digital-au/babel-preset-app-react --save-dev
Then create a .babelrc
in the root of your project:
{
"presets": ["@deloitte-digital-au/babel-preset-app-react"]
}
IMPORTANT: Please ensure you polyfill Object.assign
for older browsers.
npm install @babel/preset-typescript --save-dev
Then add the typescript preset to your .babelrc
{
"presets": [
"@deloitte-digital-au/babel-preset-app-react",
"@babel/preset-typescript"
]
}
npm install @babel/preset-flow --save-dev
Then add the flow preset to your .babelrc
{
"presets": [
"@deloitte-digital-au/babel-preset-app-react",
"@babel/preset-flow"
]
}
3.0.0
🚨 @babel/polyfill has been deprecated in favor of directly including core-js/stable (to polyfill ECMAScript features) and regenerator-runtime/runtime (needed to use transpiled generator functions). These should be installed at the project level.
import "core-js/stable";
import "regenerator-runtime/runtime";
FAQs
Babel Preset for Deloitte Digital React Projects
The npm package @deloitte-digital-au/babel-preset-app-react receives a total of 171 weekly downloads. As such, @deloitte-digital-au/babel-preset-app-react popularity was classified as not popular.
We found that @deloitte-digital-au/babel-preset-app-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.