
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.
@alita/babel-transform-jsx-class
Advanced tools
Support classnames with directive.
In
import { createElement } from 'react';
export default function Foo(props) {
const { message } = props;
return (
<div x-class={['foo', {
bar: true,
active: false,
}]}>hello world</div>
);
}
Out
import { createElement } from 'react';
export default function Foo(props) {
const { message } = props;
return (
<div className={classnames(['foo', {
bar: true,
active: false,
}])}>hello world</div>
);
}
$ npm install babel-plugin-transform-jsx-class
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-jsx-class"]
}
$ babel --plugins transform-jsx-class script.js
require("babel-core").transform("code", {
plugins: ["transform-jsx-class"]
});
FAQs
Support classnames with directive.
The npm package @alita/babel-transform-jsx-class receives a total of 9,603 weekly downloads. As such, @alita/babel-transform-jsx-class popularity was classified as popular.
We found that @alita/babel-transform-jsx-class demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.