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

@locker/shared-dom

Package Overview
Dependencies
Maintainers
6
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/shared-dom - npm Package Compare versions

Comparing version 0.12.3 to 0.12.4

8

dist/index.cjs.js

@@ -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

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