
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@procore/labs-comments
Advanced tools
The description.
yarn add @procore/labs-comments
import * as Comments from '@procore/labs-comments';
const MyComments = () => {
const today = new Date();
const comments = [
{
author: 'Evan Freymiller',
title: 'Software Engineer',
date: today.toString(),
body: "This is good news, let's try to get the deal in by Friday.",
},
{
author: 'Evan Freymiller',
title: 'Software Engineer',
date: today.toString(),
body: "Sound good, I'll reach out today.",
},
{
author: 'Evan Freymiller',
title: 'Software Engineer',
date: today.toString(),
body: 'Please let me know by the close of business.',
},
];
return comments.map((comment, index) => (
<Comment.Container border={index !== 0}>
<Comment.Header>
<Comment.Avatar>{comment.author}</Comment.Avatar>
<Comment.Author date={comment.date}>
<Comment.AuthorName>{comment.author}</Comment.AuthorName>
<Comment.AuthorJobTitle>{comment.title}</Comment.AuthorJobTitle>
</Comment.Author>
</Comment.Header>
<Comment.Body>{comment.body}</Comment.Body>
</Comment.Container>
));
}
<Container \/>
| props | type |
|---|---|
| children | reactNode |
| border | boolean |
<Body \/>
| props | type |
|---|---|
| children | reactNode |
<Header \/>
| props | type |
|---|---|
| children | reactNode |
<Author \/>
| props | type |
|---|---|
| date | Date or string |
| children | reactNode |
<AuthorName \/>
| props | type |
|---|---|
| children | reactNode |
<AuthorJobTitle \/>
| props | type |
|---|---|
| children | reactNode |
<AuthorDate \/>
| props | type |
|---|---|
| children | reactNode |
<Avatar \/>
| props | type |
|---|---|
| children | string |
| url | string |
<Actions \/>
| props | type |
|---|---|
| children | array of Action[] |
| disabled | boolean |
| onSelect | function |
<Action \/>
| props | type |
|---|---|
| onClick | function |
| key | string |
<Attachment \/>
| props | type |
|---|---|
| fileUrl | string |
| fileName | string |
@procore/core-react and react are listed as external peer dependencies. The package will not bundle the code, and requires the app client to provide it as a dependency. The external peer dep is to assure React Context is consistent in a client's React tree, the child consumers can reference the correct parent provider. If the package uses latest features or bug fixes and a new minimum version of core-react is required, it should be considered a breaking change as the peer dependency version must be met.
FAQs
A component to render comments, with avatar
The npm package @procore/labs-comments receives a total of 0 weekly downloads. As such, @procore/labs-comments popularity was classified as not popular.
We found that @procore/labs-comments demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 149 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.