
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@sanity/presentation-comlink
Advanced tools
> [!WARNING] > This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.
[!WARNING]
This package is not meant to be used directly, it's a shared dependency ofsanity/presentation
and@sanity/visual-editing
. Using it in production is at your own risk.
The sanity/presentation
tool requires a way to communicate with the application that lives within its preview iframe. The application is required to load up at least @sanity/visual-editing
, but can also load up @sanity/core-loader
, @sanity/next-loader
, @sanity/svelte-loader
, and @sanity/react-loader
.
It uses @sanity/comlink
to communicate over the iframe, and any popup preview windows, over the window.postMessage
protocol.
The typings for those messages are defined in this package, as well as utils for maintaining compatibility with how older versions of sanity/presentation
and @sanity/visual-editing
used to format its message payloads, and helpers for handling payloads..
FAQs
> [!WARNING] > This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.
The npm package @sanity/presentation-comlink receives a total of 214,961 weekly downloads. As such, @sanity/presentation-comlink popularity was classified as popular.
We found that @sanity/presentation-comlink demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 93 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.