
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.
@charlietango/babel-preset-sx-prop
Advanced tools
A custom version of @emotion/babel-preset-css-prop to use the JSX Pragma from @charlietango/ui
yarn add @charletango/babel-preset-sx-prop
.babelrc
{
"presets": ["@charlietango/babel-preset-sx-prop"]
}
@charlietango/babel-preset-sx-prop
includes the emotion plugin. The babel-plugin-emotion
entry
should be removed from your config and any options moved to the preset. If you use
@babel/preset-react
or @babel/preset-typescript
ensure that @charlietango/babel-preset-sx-prop
is inserted after them in your babel config.
Options for both babel-plugin-emotion
and @babel/plugin-transform-react-jsx
are supported and
will be forwarded to their respective plugin.
Refer to the plugin's documentation for full option documentation.
You can opt into
the new JSX runtimes
by configuring this preset with { runtime: 'automatic' }
. Keep in mind that you have to use
compatible React version (>=16.14.0
) to use this option and a compatible version of
@emotion/core
(>=10.1.0
).
{
"presets": [
"@emotion/babel-preset-css-prop",
{
"autoLabel": true,
"labelFormat": "[local]",
"useBuiltIns": false,
"throwIfNamespace": true
}
]
}
Options set to default values for demonstration purposes.
FAQs
Preset to consume the sx prop on all elements
The npm package @charlietango/babel-preset-sx-prop receives a total of 14 weekly downloads. As such, @charlietango/babel-preset-sx-prop popularity was classified as not popular.
We found that @charlietango/babel-preset-sx-prop 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.
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.