Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/overlays

Package Overview
Dependencies
Maintainers
44
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/overlays - npm Package Compare versions

Comparing version 2.3.16 to 2.3.17

14

CHANGELOG.md

@@ -39,2 +39,16 @@ <!-- markdownlint-disable --><!-- textlint-disable -->

## [2.3.17](https://github.com/sanity-io/visual-editing/compare/overlays-v2.3.16...overlays-v2.3.17) (2024-02-16)
### Bug Fixes
* console warn about deprecation ([3c0d1e5](https://github.com/sanity-io/visual-editing/commit/3c0d1e5a4c7f109b60ec931b099b5e218999392b))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @sanity/visual-editing bumped from 1.3.0 to 1.3.1
## [2.3.11](https://github.com/sanity-io/visual-editing/compare/overlays-v2.3.10...overlays-v2.3.11) (2024-02-05)

@@ -41,0 +55,0 @@

2

dist/index.js

@@ -1,1 +0,1 @@

import{createOverlayController as a,enableVisualEditing as e}from"@sanity/visual-editing";const i=a,t=e,r=e;export{i as createOverlayController,r as enableOverlays,t as enableVisualEditing};//# sourceMappingURL=index.js.map
import{createOverlayController as e,enableVisualEditing as i}from"@sanity/visual-editing";const a=i=>(t(),e(i)),n=e=>(t(),i(e)),s=e=>(t(),i(e));function t(){console.warn("@sanity/overlays is deprecated. Use @sanity/visual-editing instead.")}export{a as createOverlayController,s as enableOverlays,n as enableVisualEditing};//# sourceMappingURL=index.js.map
{
"name": "@sanity/overlays",
"version": "2.3.16",
"version": "2.3.17",
"keywords": [

@@ -110,6 +110,6 @@ "sanity.io",

"dependencies": {
"@sanity/visual-editing": "1.3.0"
"@sanity/visual-editing": "1.3.1"
},
"devDependencies": {
"@sanity/pkg-utils": "^4.2.0",
"@sanity/pkg-utils": "^4.2.2",
"@types/react": "^18.2.55",

@@ -116,0 +116,0 @@ "@types/react-dom": "^18.2.19",

@@ -15,3 +15,8 @@ import {

*/
export const createOverlayController = _createOverlayController
export const createOverlayController: typeof _createOverlayController = (
options,
) => {
warn()
return _createOverlayController(options)
}

@@ -21,3 +26,6 @@ /**

*/
export const enableVisualEditing = _enableVisualEditing
export const enableVisualEditing: typeof _enableVisualEditing = (options) => {
warn()
return _enableVisualEditing(options)
}

@@ -32,3 +40,6 @@ /**

*/
export const enableOverlays = _enableVisualEditing
export const enableOverlays: typeof _enableVisualEditing = (options) => {
warn()
return _enableVisualEditing(options)
}

@@ -60,1 +71,8 @@ /**

export type ElementState = _ElementState
function warn() {
// eslint-disable-next-line no-console
console.warn(
'@sanity/overlays is deprecated. Use @sanity/visual-editing instead.',
)
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc