
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@adeira/babel-plugin-transform-sx-tailwind
Advanced tools
Transformation of SX Tailwind helpers into direct SX calls.
This has a positive impact on the final bundle size because the huge Tailwind definitions file can be omitted.
import React from 'react';
+ import sx from '@adeira/sx';
export default function Example() {
return (
<button
- sxt="bg-blue-500 text-white font-bold"
+ className={__styles('bg-blue-500', 'text-white', 'font-bold')}
type="button"
>
Button
</button>
);
}
+ const __styles = sx.create({
+ 'bg-blue-500': {
+ backgroundColor: '#4299e1',
+ },
+ 'text-white': {
+ color: '#fff',
+ },
+ 'font-bold': {
+ fontWeight: 700,
+ },
+ });
yarn add --dev @adeira/babel-plugin-transform-sx-tailwind
Register in your Babel config (e.g. .babelrc
):
{
"plugins": ["@adeira/babel-plugin-transform-sx-tailwind"]
}
FAQs
Babel transformation plugin for SX Tailwind
The npm package @adeira/babel-plugin-transform-sx-tailwind receives a total of 2 weekly downloads. As such, @adeira/babel-plugin-transform-sx-tailwind popularity was classified as not popular.
We found that @adeira/babel-plugin-transform-sx-tailwind demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.