New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/overlays

Package Overview
Dependencies
Maintainers
0
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/overlays

[![npm stat](https://img.shields.io/npm/dm/@sanity/overlays.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/overlays) [![npm version](https://img.shields.io/npm/v/@sanity/overlays.svg?style=flat-square)](https://www.npmjs.com/pack

2.3.59
latest
Source
npm
Version published
Weekly downloads
1.5K
-20%
Maintainers
0
Weekly downloads
 
Created
Source

@sanity/overlays — Visual Editing

npm stat npm version gzip size size

[!WARNING]
This package is replaced by @sanity/visual-editing.

Migrate to @sanity/visual-editing

Replace the dependency:

npm uninstall @sanity/overlays
npm install @sanity/visual-editing

Replace import statements:

-import { enableOverlays, type DisableOverlays } from '@sanity/overlays'
+import { enableVisualEditing, type DisableVisualEditing } from '@sanity/visual-editing'

[!NOTE]
Note that there's now a built-in <VisualEditing> component for Next.js App Router in next-sanity, and for Next.js Pages Router in @sanity/visual-editing/next-pages-router, and for Remix in @sanity/visual-editing/remix.

Keywords

sanity.io

FAQs

Package last updated on 12 Aug 2024

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