
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@wordpress/sync
Advanced tools
Sync data between multiple peers and persist in a local database.
Install the module
npm install @wordpress/sync --save
Abstract class to manage awareness and allow external code to subscribe to state updates.
Type
AwarenessStateCRDT documents can hold meta information in a map. This map exists only in memory and is not synced or persisted. This key can be used to indicate that a (temporary) document has been loaded from persistence.
Root-level key for the map that holds the entity record data.
Root-level key for the map that holds entity record metadata. This map should only contain metadata that is not represented by the entity record itself.
Y.Map key representing the timestamp of the last save operation.
Y.Map key representing the Y.Doc client ID of the user who performed the last save operation.
The sync manager orchestrates the lifecycle of syncing entity records. It creates Yjs documents, connects to providers, creates awareness instances, and coordinates with the core-data store.
Deltas are used to calculate incremental Y.Text updates.
Origin string for CRDT document changes originating from the local editor.
Origin string for CRDT document changes originating from the sync manager.
WordPress meta key used to persist the CRDT document for an entity.
Exported copy of Yjs so that consumers of this package don't need to install it.
This is an individual package that's part of the Gutenberg project. The project is organized as a monorepo. It's made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm and used by WordPress as well as other software projects.
To find out more about contributing to this package or Gutenberg as a whole, please read the project's main contributor guide.

FAQs
Sync Data.
The npm package @wordpress/sync receives a total of 40,392 weekly downloads. As such, @wordpress/sync popularity was classified as popular.
We found that @wordpress/sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 23 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.