
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@flyerhq/react-native-link-preview
Advanced tools
Fully customizable preview of the URL extracted from the provided text.
Fully customizable preview of the URL extracted from the provided text.
yarn add @flyerhq/react-native-link-preview
import { LinkPreview } from '@flyerhq/react-native-link-preview'
// ...
return (
<LinkPreview text='This link https://github.com/flyerhq can be extracted from the text' />
)
Name | Type | Description |
---|---|---|
text | string | Text to extract the link from |
Name | Type | Description |
---|---|---|
containerStyle | ViewStyle | Top level container style |
enableAnimation | boolean | Enables LayoutAnimation |
header | string | Text above the link |
metadataContainerStyle | ViewStyle | Title, description and minimized image container style |
metadataTextContainerStyle | ViewStyle | Title and description container style |
onPreviewDataFetched | (PreviewData) => void | Callback to get the fetched preview data |
previewData | PreviewData | Data to render instead of parsing the provided text |
renderDescription | (string) => ReactNode | Custom description render prop |
renderHeader | (string) => ReactNode | Custom header render prop |
renderImage | (PreviewDataImage) => ReactNode | Custom image render prop |
renderLinkPreview | ({ aspectRatio?: number, containerWidth: number, previewData?: PreviewData }) => ReactNode | Custom render prop |
renderMinimizedImage | (PreviewDataImage) => ReactNode | Custom minimised image render prop |
renderText | (string) => ReactNode | Custom provided text render prop |
renderTitle | (string) => ReactNode | Custom title render prop |
requestTimeout | number | Timeout after which request to get preview data should abort |
textContainerStyle | ViewStyle | Text, title, description and minimized image container style |
touchableWithoutFeedbackProps | TouchableWithoutFeedbackProps | Top level touchable props |
FAQs
Fully customizable preview of the URL extracted from the provided text.
The npm package @flyerhq/react-native-link-preview receives a total of 3,060 weekly downloads. As such, @flyerhq/react-native-link-preview popularity was classified as popular.
We found that @flyerhq/react-native-link-preview 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.