🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@sanity/visual-editing

Package Overview
Dependencies
Maintainers
112
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/visual-editing - npm Package Compare versions

Comparing version
5.2.0
to
5.2.1
+3
-3
package.json
{
"name": "@sanity/visual-editing",
"version": "5.2.0",
"version": "5.2.1",
"keywords": [

@@ -63,5 +63,5 @@ "overlays",

"xstate": "^5.26.0",
"@sanity/visual-editing-csm": "^3.0.5",
"@sanity/preview-url-secret": "^4.0.3",
"@sanity/insert-menu": "^3.0.4",
"@sanity/visual-editing-csm": "^3.0.5"
"@sanity/insert-menu": "^3.0.4"
},

@@ -68,0 +68,0 @@ "devDependencies": {

@@ -54,3 +54,6 @@ import {isMaybePreviewIframe, isMaybePreviewWindow} from '@sanity/presentation-comlink'

const timeout = setTimeout(() => setEnvironment('standalone'), 1_000)
return () => clearTimeout(timeout)
return () => {
clearTimeout(timeout)
setEnvironment(null)
}
} else {

@@ -57,0 +60,0 @@ // No iframe or popup window means we are for sure in standalone mode

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display