@contentful/rich-text-html-renderer
Advanced tools
Comparing version 15.2.0 to 15.3.0
@@ -305,3 +305,3 @@ 'use strict'; | ||
})('versions', []).push({ | ||
version: '3.16.1', | ||
version: '3.17.2', | ||
mode: 'global', | ||
@@ -853,13 +853,11 @@ copyright: '© 2021 Denis Pushkarev (zloirock.ru)' | ||
var iframeDocument; | ||
if (iframe.style) { | ||
iframe.style.display = 'none'; | ||
html.appendChild(iframe); | ||
// https://github.com/zloirock/core-js/issues/475 | ||
iframe.src = String(JS); | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(scriptTag('document.F=Object')); | ||
iframeDocument.close(); | ||
return iframeDocument.F; | ||
} | ||
iframe.style.display = 'none'; | ||
html.appendChild(iframe); | ||
// https://github.com/zloirock/core-js/issues/475 | ||
iframe.src = String(JS); | ||
iframeDocument = iframe.contentWindow.document; | ||
iframeDocument.open(); | ||
iframeDocument.write(scriptTag('document.F=Object')); | ||
iframeDocument.close(); | ||
return iframeDocument.F; | ||
}; | ||
@@ -877,6 +875,7 @@ | ||
} catch (error) { /* ignore */ } | ||
NullProtoObject = document.domain && activeXDocument ? | ||
NullProtoObjectViaActiveX(activeXDocument) : // old IE | ||
NullProtoObjectViaIFrame() || | ||
NullProtoObjectViaActiveX(activeXDocument); // WSH | ||
NullProtoObject = typeof document != 'undefined' | ||
? document.domain && activeXDocument | ||
? NullProtoObjectViaActiveX(activeXDocument) // old IE | ||
: NullProtoObjectViaIFrame() | ||
: NullProtoObjectViaActiveX(activeXDocument); // WSH | ||
var length = enumBugKeys.length; | ||
@@ -994,2 +993,3 @@ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; | ||
BLOCKS["TABLE_CELL"] = "table-cell"; | ||
BLOCKS["TABLE_HEADER_CELL"] = "table-header-cell"; | ||
})(BLOCKS || (BLOCKS = {})); | ||
@@ -1058,2 +1058,3 @@ var BLOCKS$1 = BLOCKS; | ||
_a[BLOCKS$1.TABLE_CELL] = [BLOCKS$1.PARAGRAPH], | ||
_a[BLOCKS$1.TABLE_HEADER_CELL] = [BLOCKS$1.PARAGRAPH], | ||
_a); | ||
@@ -1060,0 +1061,0 @@ |
{ | ||
"name": "@contentful/rich-text-html-renderer", | ||
"version": "15.2.0", | ||
"version": "15.3.0", | ||
"main": "dist/rich-text-html-renderer.es5.js", | ||
@@ -27,3 +27,3 @@ "typings": "dist/types/index.d.ts", | ||
"dependencies": { | ||
"@contentful/rich-text-types": "^15.1.0", | ||
"@contentful/rich-text-types": "^15.3.0", | ||
"escape-html": "^1.0.3" | ||
@@ -47,3 +47,3 @@ }, | ||
}, | ||
"gitHead": "09a15e9635f8b5f2dba0f10648e3ccdcb03d87e5" | ||
"gitHead": "8744fa8300f14a0ee224152fa8da3bbc6f085c69" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
226272
108
2753