Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@liveblocks/node-prosemirror
Advanced tools
A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.
@liveblocks/node-prosemirror
Licensed under the Apache License 2.0, Copyright © 2021-present Liveblocks.
See LICENSE for more information.
2.12.0
This release adds support for tracking synchronization status of pending local changes for any part of Liveblocks. Whether you use Storage, Text Editors, Threads, or Notifications.
If the client’s sync status is synchronized
, it means all local pending
changes have been persisted by our servers. If there are pending local changes
in any part of Liveblocks you’re using, then the client’s sync status will be
synchronizing
.
Also, we’re introducing a way to prevent browser tabs from being closed while
local changes are not yet synchronized. To opt-in to this protection, enable
preventUnsavedChanges
option on the client:
<LiveblocksProvider preventUnsavedChanges />
createClient({ preventUnsavedChanges: true })
@liveblocks/client
client.getSyncStatus()
method.preventUnsavedChanges
.ToImmutable<T>
helper type.@liveblocks/react
useSyncStatus
that can be used to tell whether Liveblocks is synchronizing local changes to
the server. Useful to display a "Saving..." spinner in your application, when
used with useSyncStatus({ smooth: true })
.useStorageStatus
is now deprecated in favor of useSyncStatus
.@liveblocks/react-ui
preventUnsavedChanges
option is
set.@liveblocks/react-lexical
useIsEditorReady
which can be used to show a skeleton UI before
the editor has received the initial text from the server.useEditorStatus
is now deprecated in favor of useIsEditorReady
(or
useSyncStatus
).FAQs
A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.
The npm package @liveblocks/node-prosemirror receives a total of 235 weekly downloads. As such, @liveblocks/node-prosemirror popularity was classified as not popular.
We found that @liveblocks/node-prosemirror demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.