Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ls-view-text-direction
Advanced tools
Litespeed.js view component that adds RTL or LTR your your text or input element according to their language
Litespeed.js view component that adds RTL or LTR your your text or input element according to their language
This package is wrapped as a Litespeed.js component. To use it, you need to init a new Litespeed.js project or use an exisiting Litespeed.js project. To learn more about Litespeed.js Javascript web framework got to the official repository.
Install with NPM:
npm install ls-view-text-direction
Install with CDN:
<script src="https://cdn.jsdelivr.net/npm/ls-view-text-direction"></script>
Add the directive data- attribute on your text or input element. The direction of the text will be decided by the first non-special character.
<input type="text" value="Hello World!" data-ls-text-direction />
Result:
<input type="text" value="Hello World!" style="direction: ltr; text-align: left;">
<input type="text" value="שלום עולם!" data-ls-text-direction />
Result:
<input type="text" value="שלום עולם!" style="direction: rtl; text-align: right;">
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send us a pull request.
For security issues, please email security@appwrite.io instead of posting a public issue in GitHub.
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php
FAQs
Litespeed.js view component that adds RTL or LTR your your text or input element according to their language
The npm package ls-view-text-direction receives a total of 0 weekly downloads. As such, ls-view-text-direction popularity was classified as not popular.
We found that ls-view-text-direction 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.