Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@influitive/profile-card
Advanced tools
A pop over component that displays the an specific user information and provide some relevant links.
###Installation
Add "@influitive/profile-card": "X.X.XX"
to the projects package JSON ( X.X.XX corresponds to the version you want to use)
Run npm install
###Usage In your component:
import ProfileCard from '@influitive/profile-card/lib';
<ProfileCard
id={contactUUID}
disableViewProfile={aBooleanProp}
disableMessage={aBooleanProp}
children={wrappedElement} />
###Props
id
Uuid of the user whose information is to be display inside the card.disableViewProfile
When true hides the link to the user public profile.disableMessage
When true hides the link to message that contact.children
Corresponds to the element to be wrapped. The profile card should be toggle when clicking on this element.Extra Considerations: You will need to style the element that is being wrapped. For avatar images we are normally using:
.profile {
width: 32px;
border-radius: 100%;
}
###How it works
profile-card
is just a regular component built using react-redux. When the children element is clickedan ajax call to the /api/people/${id}.json
endpoint to fetch that especific user information.
FAQs
Provides a single profile card.
The npm package @influitive/profile-card receives a total of 189 weekly downloads. As such, @influitive/profile-card popularity was classified as not popular.
We found that @influitive/profile-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.