
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@jict/babel-preset
Advanced tools
@jict/babel-preset
org-wide Babel preset.
$ yarn add --dev @jict/babel-preset
Install this package, as well as the parts of Babel you wish to use:
With Yarn
yarn add --dev --exact babel-core @jict/babel-preset
With npm
npm install babel-core @jict/babel-preset --save-dev --save-exact
Then, in your Babel configuration (which should be under the babel
key of your package.json
), set this package as the babel preset you'd like to use:
{
"babel": {
"presets": ["@jict/babel-preset"]
}
}
The @jict/babel-preset
preset is designed to be a common import that can be used for the browser or the server.
{
"babel": {
"presets": [
["@jict/babel-preset", {"typescript": true}]
]
}
}
This preset does not specify any targets to control what is transpiled. You should use Babel's top-level targets
option to specify build targets. For instance to target the current node version:
{
"targets": "current node",
"presets": ["@jict/babel-preset"],
"plugins": ["polyfill-es-shims"]
}
See more details here.
corejs
, debug
, modules
, useBuiltIns
These options come from the @babel/preset-env
preset and match the default values.
Read the options for more information on the possible values.
typescript
Enables @babel/preset-typescript
to transfrom TypeScript into Javascript.
typescriptOptions
See all available options.
transformRuntime
boolean
, defaults to false
This option when true
will enable the @babel/plugin-transform-runtime
plugin.
transformRuntimeOptions
This option configures the @babel/plugin-transform-runtime
plugin when the transformRuntime
option has been enabled.
See available options.
react
boolean
, defaults to false
.
This option when true
will enable the @babel/preset-react
preset.
reactOptions
The following options are different from the defaults. See all available options here.
reactOptions.useBuiltIns
boolean
, defaults to true
Will use the native built-in instead of trying to polyfill behavior for any plugins that require one.
reactOptions.useSpread
boolean
, defaults to true
When spreading props, use inline object with spread elements directly instead of Babel's extend helper or Object.assign.
transformReactConstantElements
boolean
, defaults to false
.
This option when true
will enable the @babel/plugin-transform-react-constant-elements
plugin in production mode.
FAQs
org-wide Babel preset.
The npm package @jict/babel-preset receives a total of 54 weekly downloads. As such, @jict/babel-preset popularity was classified as not popular.
We found that @jict/babel-preset demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.