🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@datocms/content-link

Package Overview
Dependencies
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datocms/content-link - npm Package Compare versions

Comparing version
0.3.13
to
0.3.14
+1
-1
package.json
{
"name": "@datocms/content-link",
"version": "0.3.13",
"version": "0.3.14",
"description": "DatoCMS visual editing overlays without Vercel dependencies.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -320,4 +320,3 @@ /**

// Disable key events when inside an iframe
if (!this.isTopLevelWindow) {
if (!this.isTopLevelWindowOrInWebPreviewsIframe) {
return;

@@ -334,4 +333,3 @@ }

// Disable key events when inside an iframe
if (!this.isTopLevelWindow) {
if (!this.isTopLevelWindowOrInWebPreviewsIframe) {
return;

@@ -394,3 +392,3 @@ }

private get isTopLevelWindow() {
private get isTopLevelWindowOrInWebPreviewsIframe() {
const opener =

@@ -400,4 +398,6 @@ this.document.defaultView ??

return opener && opener.parent === opener;
return (
this.webPreviewsPluginConnection || (opener && opener.parent === opener)
);
}
}

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

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