@locker/shared-dom
Advanced tools
Comparing version 0.14.11 to 0.14.12
@@ -312,6 +312,12 @@ /*! | ||
const CookieStoreProto = typeof CookieStore === 'undefined' ? undefined : CookieStore.prototype; | ||
const CookieStoreProtoDelete = shared.ObjectLookupOwnValue(CookieStoreProto, 'delete'); | ||
const CookieStoreProtoGet = shared.ObjectLookupOwnValue(CookieStoreProto, 'get'); | ||
const CookieStoreProtoGetAll = shared.ObjectLookupOwnValue(CookieStoreProto, 'getAll'); | ||
const CookieStoreProto = typeof CookieStore === 'undefined' ? undefined : CookieStore.prototype; // This has to be done 1-by-1 because putting a a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
const CookieStoreProtoDelete = shared.ObjectLookupOwnValue(CookieStoreProto, 'delete'); // istanbul ignore next | ||
const CookieStoreProtoGet = shared.ObjectLookupOwnValue(CookieStoreProto, 'get'); // istanbul ignore next | ||
const CookieStoreProtoGetAll = shared.ObjectLookupOwnValue(CookieStoreProto, 'getAll'); // istanbul ignore next | ||
const CookieStoreProtoSet = shared.ObjectLookupOwnValue(CookieStoreProto, 'set'); | ||
@@ -474,3 +480,5 @@ const { | ||
} = Range.prototype; | ||
const RequestProtoURLGetter = shared.ObjectLookupOwnGetter(Request.prototype, 'url'); | ||
const RequestProtoURLGetter = shared.ObjectLookupOwnGetter(Request.prototype, 'url'); // This has to be done 1-by-1 because putting a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
@@ -529,3 +537,3 @@ function RequestURLGetter(request) { | ||
const WindowStaticSelfGetter = shared.ObjectLookupOwnGetter(window, 'self'); | ||
const patchedWindowMap = new shared.WeakMapCtor(); | ||
const patchedWindowMap = new shared.WeakMapCtor(); // istanbul ignore next | ||
@@ -617,3 +625,3 @@ function createPatchedWindow(rawWindow) { | ||
setTimeout: WindowStaticSetTimeout | ||
} = window; | ||
} = window; // istanbul ignore next | ||
@@ -685,4 +693,7 @@ function getPatchedWindow(win) { | ||
return shared.ReflectApply(WindowStaticSetInterval, win, args); | ||
} | ||
} // This has to be done 1-by-1 because putting a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
const XhrCtor = XMLHttpRequest; | ||
@@ -695,6 +706,7 @@ const XhrProto = XhrCtor.prototype; | ||
const XhrProtoStatusGetter = shared.ObjectLookupOwnGetter(XhrProto, 'status'); | ||
const XhrProtoWithCredentialsSetter = shared.ObjectLookupOwnSetter(XhrProto, 'withCredentials'); | ||
const XhrProtoWithCredentialsSetter = shared.ObjectLookupOwnSetter(XhrProto, 'withCredentials'); // istanbul ignore next | ||
const { | ||
open: XhrProtoOpen | ||
} = XhrProto; | ||
} = XhrProto; // istanbul ignore next | ||
@@ -704,16 +716,20 @@ function XhrOpen(xhr, requestMethod, url) { | ||
return shared.ReflectApply(XhrProtoOpen, xhr, [requestMethod, url, async]); | ||
} | ||
} // istanbul ignore next | ||
function XhrResponseTextGetter(xhr) { | ||
return shared.ReflectApply(XhrProtoResponseTextGetter, xhr, shared.emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrSend(xhr) { | ||
return shared.ReflectApply(XhrProtoSend, xhr, shared.emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrStatusGetter(xhr) { | ||
return shared.ReflectApply(XhrProtoStatusGetter, xhr, shared.emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrWithCredentialsSetter(xhr, bool) { | ||
@@ -840,2 +856,2 @@ shared.ReflectApply(XhrProtoWithCredentialsSetter, xhr, [bool]); | ||
exports.nsCookieRootKey = nsCookieRootKey; | ||
/*! version: 0.14.11 */ | ||
/*! version: 0.14.12 */ |
@@ -305,6 +305,12 @@ /*! | ||
const CookieStoreProto = typeof CookieStore === 'undefined' ? undefined : CookieStore.prototype; | ||
const CookieStoreProtoDelete = ObjectLookupOwnValue(CookieStoreProto, 'delete'); | ||
const CookieStoreProtoGet = ObjectLookupOwnValue(CookieStoreProto, 'get'); | ||
const CookieStoreProtoGetAll = ObjectLookupOwnValue(CookieStoreProto, 'getAll'); | ||
const CookieStoreProto = typeof CookieStore === 'undefined' ? undefined : CookieStore.prototype; // This has to be done 1-by-1 because putting a a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
const CookieStoreProtoDelete = ObjectLookupOwnValue(CookieStoreProto, 'delete'); // istanbul ignore next | ||
const CookieStoreProtoGet = ObjectLookupOwnValue(CookieStoreProto, 'get'); // istanbul ignore next | ||
const CookieStoreProtoGetAll = ObjectLookupOwnValue(CookieStoreProto, 'getAll'); // istanbul ignore next | ||
const CookieStoreProtoSet = ObjectLookupOwnValue(CookieStoreProto, 'set'); | ||
@@ -467,3 +473,5 @@ const { | ||
} = Range.prototype; | ||
const RequestProtoURLGetter = ObjectLookupOwnGetter(Request.prototype, 'url'); | ||
const RequestProtoURLGetter = ObjectLookupOwnGetter(Request.prototype, 'url'); // This has to be done 1-by-1 because putting a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
@@ -522,3 +530,3 @@ function RequestURLGetter(request) { | ||
const WindowStaticSelfGetter = ObjectLookupOwnGetter(window, 'self'); | ||
const patchedWindowMap = new WeakMapCtor(); | ||
const patchedWindowMap = new WeakMapCtor(); // istanbul ignore next | ||
@@ -610,3 +618,3 @@ function createPatchedWindow(rawWindow) { | ||
setTimeout: WindowStaticSetTimeout | ||
} = window; | ||
} = window; // istanbul ignore next | ||
@@ -678,4 +686,7 @@ function getPatchedWindow(win) { | ||
return ReflectApply(WindowStaticSetInterval, win, args); | ||
} | ||
} // This has to be done 1-by-1 because putting a full file ignore in this file will result in | ||
// dist/index.js containing the directive and subsequently being ignored. | ||
// istanbul ignore next | ||
const XhrCtor = XMLHttpRequest; | ||
@@ -688,6 +699,7 @@ const XhrProto = XhrCtor.prototype; | ||
const XhrProtoStatusGetter = ObjectLookupOwnGetter(XhrProto, 'status'); | ||
const XhrProtoWithCredentialsSetter = ObjectLookupOwnSetter(XhrProto, 'withCredentials'); | ||
const XhrProtoWithCredentialsSetter = ObjectLookupOwnSetter(XhrProto, 'withCredentials'); // istanbul ignore next | ||
const { | ||
open: XhrProtoOpen | ||
} = XhrProto; | ||
} = XhrProto; // istanbul ignore next | ||
@@ -697,16 +709,20 @@ function XhrOpen(xhr, requestMethod, url) { | ||
return ReflectApply(XhrProtoOpen, xhr, [requestMethod, url, async]); | ||
} | ||
} // istanbul ignore next | ||
function XhrResponseTextGetter(xhr) { | ||
return ReflectApply(XhrProtoResponseTextGetter, xhr, emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrSend(xhr) { | ||
return ReflectApply(XhrProtoSend, xhr, emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrStatusGetter(xhr) { | ||
return ReflectApply(XhrProtoStatusGetter, xhr, emptyArray); | ||
} | ||
} // istanbul ignore next | ||
function XhrWithCredentialsSetter(xhr, bool) { | ||
@@ -717,2 +733,2 @@ ReflectApply(XhrProtoWithCredentialsSetter, xhr, [bool]); | ||
export { AttrNameGetter, AttrNamespaceURIGetter, AttrOwnerElementGetter, AttrValueGetter, AttrValueSetter, BlobCtor, BlobSizeGetter, BlobSlice, BlobTypeGetter, CookieStoreProtoDelete, CookieStoreProtoGet, CookieStoreProtoGetAll, CookieStoreProtoSet, CustomElementRegistryProtoDefine, CustomElementRegistryProtoGet, DOMTokenListValueGetter, DocumentBodyGetter, DocumentCookieGetter, DocumentCookieSetter, DocumentCreateComment, DocumentCreateElement, DocumentCreateElementNS, DocumentFragmentGetElementById, DocumentGetElementById, DocumentHeadGetter, DocumentProtoExecCommand, ElementAttributesGetter, ElementClosest, ElementGetAttributeNode, ElementGetAttributeNodeNS, ElementInnerHTMLGetter, ElementInnerHTMLSetter, ElementOuterHTMLGetter, ElementOuterHTMLSetter, ElementProtoAttachShadow, ElementProtoInsertAdjacentHTML, ElementProtoSetAttribute, ElementProtoSetAttributeNS, ElementProtoSetAttributeNode, ElementQuerySelector, ElementRemove, ElementRemoveAttributeNode, ElementSetAttribute, ElementSetAttributeNS, ElementSetAttributeNode, ElementSetAttributeNodeNS, EventCurrentTargetGetter, EventProtoComposedPath, EventTargetAddEventListener, HAS_BREAKABLE_CSS_STYLE_DECLARATION_MAGIC_OBJECT, HTMLAnchorElementHostnameGetter, HTMLAnchorElementHrefGetter, HTMLAnchorElementHrefSetter, HTMLAnchorElementPathnameGetter, HTMLAnchorElementProtocolGetter, HTMLElementDatasetGetter, HTMLElementInnerTextSetter, HTMLElementOuterTextSetter, HTMLElementStyleGetter, HTMLFrameElementContentDocumentGetter, HTMLFrameElementContentWindowGetter, HTMLIFrameElementContentDocumentGetter, HTMLIFrameElementContentWindowGetter, HTMLIFrameElementSrcSetter, HTMLLinkElementRelListSetter, HTMLLinkElementRelSetter, HTMLObjectElementContentDocumentGetter, HTMLObjectElementContentWindowGetter, HTMLScriptElementProtoSrcGetter, HTMLScriptElementProtoSrcSetter, HTMLTemplateElementContentGetter, MessageEventSourceGetter, NamedNodeMapProtoSetNamedItem, NodeAppendChild, NodeChildNodesGetter, NodeClone, NodeFirstChildGetter, NodeIsEqualNode, NodeLastChildGetter, NodeNameGetter, NodeOwnerDocumentGetter, NodeTextContentSetter, RangeProtoCreateContextualFragment, RequestURLGetter, SVGElementDatasetGetter, StorageProtoGetItem, StorageProtoKey, StorageProtoRemoveItem, StorageProtoSetItem, URLCreateObjectURL, URLRevokeObjectURL, WindowClearInterval, WindowLengthGetter, WindowOpenerGetter, WindowParentGetter, WindowSelfGetter, WindowSetInterval, WindowStaticDecodeURIComponent, WindowStaticEncodeURIComponent, WindowStaticFetch, WindowStaticOpen, WindowStaticSetInterval, WindowStaticSetTimeout, XhrCtor, XhrOpen, XhrProtoOpen, XhrResponseTextGetter, XhrSend, XhrStatusGetter, XhrWithCredentialsSetter, getPatchedWindow, isEqualDomString, isSharedElement, isWindow, isWindowLike, nsCookieKey, nsCookieRootKey }; | ||
/*! version: 0.14.11 */ | ||
/*! version: 0.14.12 */ |
{ | ||
"name": "@locker/shared-dom", | ||
"version": "0.14.11", | ||
"version": "0.14.12", | ||
"license": "Salesforce Developer Agreement", | ||
@@ -19,3 +19,3 @@ "author": "Salesforce UI Security Team", | ||
"dependencies": { | ||
"@locker/shared": "0.14.11" | ||
"@locker/shared": "0.14.12" | ||
}, | ||
@@ -26,3 +26,3 @@ "files": [ | ||
], | ||
"gitHead": "3ac0b52b291246692fa015a42e52661c6feea82f" | ||
"gitHead": "786198e4401574e6703f076899c0f46715ab575e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
94671
1468
+ Added@locker/shared@0.14.12(transitive)
- Removed@locker/shared@0.14.11(transitive)
Updated@locker/shared@0.14.12