@locker/shared-dom
Advanced tools
Comparing version 0.12.3 to 0.12.4
@@ -87,7 +87,7 @@ /** | ||
} | ||
const allowList = ['close', 'closed', 'focus', 'postMessage', 'opener', 'parent']; | ||
const allowlist = ['close', 'closed', 'focus', 'postMessage', 'opener', 'parent']; | ||
const createPatchedWindow = function (rawWindow) { | ||
const patchedWindow = {}; | ||
for (let i = 0; i < allowList.length; i += 1) { | ||
const key = allowList[i]; | ||
for (let i = 0; i < allowlist.length; i += 1) { | ||
const key = allowlist[i]; | ||
const originalDescriptor = shared.ReflectGetOwnPropertyDescriptor(rawWindow, key); | ||
@@ -173,2 +173,2 @@ if (originalDescriptor) { | ||
exports.isSharedElement = isSharedElement; | ||
/** version: 0.12.3 */ | ||
/** version: 0.12.4 */ |
@@ -83,7 +83,7 @@ /** | ||
} | ||
const allowList = ['close', 'closed', 'focus', 'postMessage', 'opener', 'parent']; | ||
const allowlist = ['close', 'closed', 'focus', 'postMessage', 'opener', 'parent']; | ||
const createPatchedWindow = function (rawWindow) { | ||
const patchedWindow = {}; | ||
for (let i = 0; i < allowList.length; i += 1) { | ||
const key = allowList[i]; | ||
for (let i = 0; i < allowlist.length; i += 1) { | ||
const key = allowlist[i]; | ||
const originalDescriptor = ReflectGetOwnPropertyDescriptor(rawWindow, key); | ||
@@ -124,2 +124,2 @@ if (originalDescriptor) { | ||
export { AttrNameGetter, AttrNameGetterUtil, AttrNamespaceURIGetter, AttrNamespaceURIGetterUtil, AttrOwnerElementGetter, AttrOwnerElementGetterUtil, AttrValueGetter, AttrValueGetterUtil, AttrValueSetter, AttrValueSetterUtil, BlobCreate, DocumentBodyGetter, DocumentBodyGetterUtil, DocumentCreateElement, DocumentFragmentGetElementById, DocumentGetElementById, DocumentHeadGetter, DocumentHeadGetterUtil, ElementGetAttributeNode, ElementGetAttributeNodeNS, ElementInnerHtmlSetter, ElementQuerySelector, ElementRemoveAttributeNode, ElementSetAttribute, ElementSetAttributeNS, ElementSetAttributeNode, ElementSetAttributeNodeNS, NodeAppendChild, NodeChildNodesGetter, NodeIsEqualNode, NodeNodeNameGetter, URLCreateObjectURL, URLRevokeObjectURL, WindowClearInterval, WindowSetInterval, XhrCreate, XhrOnReadyStateChangeSetter, XhrOpen, XhrReadyStateGetter, XhrResponseTextGetter, XhrSend, XhrStatusGetter, XhrWithCredentialsSetter, createPatchedWindow, isEqualDomString, isSharedElement }; | ||
/** version: 0.12.3 */ | ||
/** version: 0.12.4 */ |
{ | ||
"name": "@locker/shared-dom", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"license": "Salesforce Developer Agreement", | ||
@@ -22,5 +22,5 @@ "author": "Salesforce UI Security Team", | ||
"dependencies": { | ||
"@locker/shared": "0.12.3" | ||
"@locker/shared": "0.12.4" | ||
}, | ||
"gitHead": "04a89b8ef9516c8ebc5f38a1bb2d93b04deba348" | ||
"gitHead": "d3260278d9ca591eb39a5085ca1332d9ceac7546" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
+ Added@locker/shared@0.12.4(transitive)
- Removed@locker/shared@0.12.3(transitive)
Updated@locker/shared@0.12.4