Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@sanity/presentation-comlink

Package Overview
Dependencies
Maintainers
96
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/presentation-comlink

> [!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.

canary
Source
npmnpm
Version
1.0.26-canary.15
Version published
Weekly downloads
258K
16.26%
Maintainers
96
Weekly downloads
 
Created
Source

[!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 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

Package last updated on 20 Aug 2025

Did you know?

Socket

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.

Install

Related posts