
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@instructure/ui-truncate-text
Advanced tools
A TruncateText component made by Instructure Inc.
The ui-truncate-text package contains the following:
npm install @instructure/ui-truncate-text
import React from 'react'
import { TruncateText } from '@instructure/ui-truncate-text'
const MyTruncateText = () => {
return (
<TruncateText position="middle" truncate="word">
<span>
This line of text should be truncated from the middle of the string{' '}
<strong>instead of the end.</strong>
</span>
</TruncateText>
)
}
FAQs
A TruncateText component made by Instructure Inc.
We found that @instructure/ui-truncate-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 41 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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.