
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
mohami-lit
Advanced tools
In order to use tailwind with your customElement, do these steps respectively.
first import LitWithTw, tw:
import { LitWithTw, tw } from '../../shared/LitWithTw';
after importing, your code should look something like this:
@customElement('mh-accordion')
export class Accordion extends LitWithTw {
// rest of your code
}
tw adds your styles in runtime and make it pleasant to look.
here is how you can use it:
<div class="${tw`w-full relative min-w-[300px] bg-white rounded-md`}">
// rest of your code
</div>
FAQs
In order to use tailwind with your customElement, do these steps respectively.
The npm package mohami-lit receives a total of 45 weekly downloads. As such, mohami-lit popularity was classified as not popular.
We found that mohami-lit 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
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.