
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@activitypods/synchronizer
Advanced tools
An ActivityPods service to notify of objects' updates.
When a watched object is updated or deleted, automatically send an activity to the actors who have the right to view this object.
The SynchronizerService is included in the CoreService. The easiest way to make use of it is to import the SynchronizerMixin along with the ControlledContainerMixin.
const { ControlledContainerMixin } = require('@semapps/ldp');
const { SynchronizerMixin } = require('@activitypods/synchronizer');
module.exports = {
name: 'events',
mixins: [SynchronizerMixin, ControlledContainerMixin], // In that order
settings: {
path: '/events',
acceptedTypes: ['Event']
}
}
Note: The
SynchronizerMixinmust be added before theControlledContainerMixin, as it overrides itsdeleteaction.
watchWatch a new type of object.
| Property | Type | Default | Description |
|---|---|---|---|
type | String | required | The type of resource we want to watch |
announceUpdateAnnounce an object update to all actors who have the right to view this object.
| Property | Type | Default | Description |
|---|---|---|---|
objectUri | String | required | The URI of resource which has been updated |
newData | Object | required | The content of the resource (in JSON-LD) |
announceDeleteAnnounce an object deletion to all actors who have the right to view this object.
| Property | Type | Default | Description |
|---|---|---|---|
objectUri | String | required | The URI of resource which has been deleted |
oldData | Object | required | The content of the resource before it was deleted (in JSON-LD) |
{
"type": "Announce",
"object": {
"type": "Update",
"object": {
"type": "[WATCHED TYPES]"
}
}
}
{
"type": "Announce",
"object": {
"type": "Delete",
"object": {
"formerType": "[WATCHED TYPES]"
}
}
}
FAQs
ActivityPods service to notify of objects' updates
We found that @activitypods/synchronizer 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.

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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.