@microsoft/1ds-core-js 4.3.10-nightly3.2507-28 → 4.3.10-nightly3.2508-02
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.gbl.js → ms.core-4.3.10-nightly3.2508-02.gbl.js} +136 -53
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.gbl.js.map → ms.core-4.3.10-nightly3.2508-02.gbl.js.map} +1 -1
- package/bundle/es5/ms.core-4.3.10-nightly3.2508-02.gbl.min.js +7 -0
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.gbl.min.js.map → ms.core-4.3.10-nightly3.2508-02.gbl.min.js.map} +1 -1
- package/bundle/es5/ms.core-4.3.10-nightly3.2508-02.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.js → ms.core-4.3.10-nightly3.2508-02.js} +136 -53
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.js.map → ms.core-4.3.10-nightly3.2508-02.js.map} +1 -1
- package/bundle/es5/ms.core-4.3.10-nightly3.2508-02.min.js +7 -0
- package/bundle/es5/{ms.core-4.3.10-nightly3.2507-28.min.js.map → ms.core-4.3.10-nightly3.2508-02.min.js.map} +1 -1
- package/bundle/es5/ms.core.gbl.js +135 -52
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +135 -52
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +133 -50
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/AppInsightsCore.js +1 -1
- package/dist-es5/BaseCore.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/Enums.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/Utils.js +2 -2
- package/dist-es5/Utils.js.map +1 -1
- package/dist-es5/ValueSanitizer.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/package.json +2 -2
- package/types/1ds-core-js.d.ts +2 -2
- package/types/1ds-core-js.namespaced.d.ts +10 -2
- package/bundle/es5/ms.core-4.3.10-nightly3.2507-28.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.3.10-nightly3.2507-28.integrity.json +0 -46
- package/bundle/es5/ms.core-4.3.10-nightly3.2507-28.min.js +0 -7
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ms.core",
|
|
3
|
-
"version": "4.3.10-nightly3.
|
|
3
|
+
"version": "4.3.10-nightly3.2508-02",
|
|
4
4
|
"ext": {
|
|
5
5
|
"@gbl.js": {
|
|
6
6
|
"file": "ms.core.gbl.js",
|
|
7
7
|
"type": "text/javascript; charset=utf-8",
|
|
8
|
-
"integrity": "sha256-
|
|
8
|
+
"integrity": "sha256-Wc17R3DvysWUPS5J8FONZm9DR8Eyi0JPBdbhnAhY+3k= sha384-pPh3QVdCJm5fj7HZXcy9alCmxrs8zJILgR1sBE0CFOn1TUb7R8Rkn4e3VxAA/6N+ sha512-/WkfEAZFeixSoVAx0CioIsGavX8KgUYamXj1bZv47voW2EXlrUyKN4WRjRD3670ph8Ss23kbjptsbAsKHAk2EQ==",
|
|
9
9
|
"hashes": {
|
|
10
|
-
"sha256": "
|
|
11
|
-
"sha384": "
|
|
12
|
-
"sha512": "
|
|
10
|
+
"sha256": "Wc17R3DvysWUPS5J8FONZm9DR8Eyi0JPBdbhnAhY+3k=",
|
|
11
|
+
"sha384": "pPh3QVdCJm5fj7HZXcy9alCmxrs8zJILgR1sBE0CFOn1TUb7R8Rkn4e3VxAA/6N+",
|
|
12
|
+
"sha512": "/WkfEAZFeixSoVAx0CioIsGavX8KgUYamXj1bZv47voW2EXlrUyKN4WRjRD3670ph8Ss23kbjptsbAsKHAk2EQ=="
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"@gbl.min.js": {
|
|
16
16
|
"file": "ms.core.gbl.min.js",
|
|
17
17
|
"type": "text/javascript; charset=utf-8",
|
|
18
|
-
"integrity": "sha256-
|
|
18
|
+
"integrity": "sha256-uiDsnvl5wt6qcelhqCW0Da3cHJnR72OBoh2EzB+QG+s= sha384-rtc7BqJ5vVNAMEvwzWqkK72KYJwj2Z/uL19P4u1d6cS7QSVF1Ptx0fNE8TorAO9p sha512-0o0ANDTVBEUARZd9iW0RdjLo3muZ+oIWYf05oP5ty4yglHGRgc/1kfm4+r10SdU4yJ3Sxnw6AAQBzwGM8t3rYQ==",
|
|
19
19
|
"hashes": {
|
|
20
|
-
"sha256": "
|
|
21
|
-
"sha384": "
|
|
22
|
-
"sha512": "
|
|
20
|
+
"sha256": "uiDsnvl5wt6qcelhqCW0Da3cHJnR72OBoh2EzB+QG+s=",
|
|
21
|
+
"sha384": "rtc7BqJ5vVNAMEvwzWqkK72KYJwj2Z/uL19P4u1d6cS7QSVF1Ptx0fNE8TorAO9p",
|
|
22
|
+
"sha512": "0o0ANDTVBEUARZd9iW0RdjLo3muZ+oIWYf05oP5ty4yglHGRgc/1kfm4+r10SdU4yJ3Sxnw6AAQBzwGM8t3rYQ=="
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"@js": {
|
|
26
26
|
"file": "ms.core.js",
|
|
27
27
|
"type": "text/javascript; charset=utf-8",
|
|
28
|
-
"integrity": "sha256-
|
|
28
|
+
"integrity": "sha256-BPhl7jp0FSvhVM1iyFvimWW66/iNX7e3X8blQ4SIttA= sha384-QnG+fyccaX/g2wT/edm9YN8Q6aH3Nlz6ONhncUYpsRWYeQ6/bpRGhLKQZiPnk+YX sha512-RnD5QtszBHubkEAui5CU5mpJciFRx7hepG4JpoM4JfISR4C5GfeTA8TJRvHHPM8Lv8HWx7+XSLUsZbwC46Evbw==",
|
|
29
29
|
"hashes": {
|
|
30
|
-
"sha256": "
|
|
31
|
-
"sha384": "
|
|
32
|
-
"sha512": "
|
|
30
|
+
"sha256": "BPhl7jp0FSvhVM1iyFvimWW66/iNX7e3X8blQ4SIttA=",
|
|
31
|
+
"sha384": "QnG+fyccaX/g2wT/edm9YN8Q6aH3Nlz6ONhncUYpsRWYeQ6/bpRGhLKQZiPnk+YX",
|
|
32
|
+
"sha512": "RnD5QtszBHubkEAui5CU5mpJciFRx7hepG4JpoM4JfISR4C5GfeTA8TJRvHHPM8Lv8HWx7+XSLUsZbwC46Evbw=="
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"@min.js": {
|
|
36
36
|
"file": "ms.core.min.js",
|
|
37
37
|
"type": "text/javascript; charset=utf-8",
|
|
38
|
-
"integrity": "sha256-
|
|
38
|
+
"integrity": "sha256-9NeynF7h2iyZYL49q35pFDbkI58bGCN9yioImcCqTMo= sha384-ayn6qdiCQqZjwdvZ4+Hu7rdlJUrVnLLypRast/oEwCE0SAT0QvarUBE+hqSBWBrz sha512-Roklk+R8IUw1Vy0GCEbdTmSwBYaLRPMdo7FjHFuUDwwr5IJPaZiu5L3nGIjzcgjFyP0jhMEaCnW+MAiTnY3RLQ==",
|
|
39
39
|
"hashes": {
|
|
40
|
-
"sha256": "
|
|
41
|
-
"sha384": "
|
|
42
|
-
"sha512": "
|
|
40
|
+
"sha256": "9NeynF7h2iyZYL49q35pFDbkI58bGCN9yioImcCqTMo=",
|
|
41
|
+
"sha384": "ayn6qdiCQqZjwdvZ4+Hu7rdlJUrVnLLypRast/oEwCE0SAT0QvarUBE+hqSBWBrz",
|
|
42
|
+
"sha512": "Roklk+R8IUw1Vy0GCEbdTmSwBYaLRPMdo7FjHFuUDwwr5IJPaZiu5L3nGIjzcgjFyP0jhMEaCnW+MAiTnY3RLQ=="
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
package/bundle/es5/ms.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK Core, 4.3.10-nightly3.
|
|
2
|
+
* 1DS JS SDK Core, 4.3.10-nightly3.2508-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
typeof exports === "object" && typeof module !== undef ? factory(exports) :
|
|
9
9
|
typeof define === "function" && define.amd ? define(["exports"], factory) :
|
|
10
10
|
(function(global){
|
|
11
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
12
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.3.10-nightly3.
|
|
11
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_3_10_nightly3_2508_02", msMod="__ms$mod__";
|
|
12
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.3.10-nightly3.2508-02";
|
|
13
13
|
// Versioned namespace "oneDS4"
|
|
14
14
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
15
15
|
// Global namespace "oneDS"
|
|
@@ -2546,7 +2546,7 @@ function newId(maxLength) {
|
|
|
2546
2546
|
return result;
|
|
2547
2547
|
}
|
|
2548
2548
|
|
|
2549
|
-
var version = '3.3.10-nightly3.
|
|
2549
|
+
var version = '3.3.10-nightly3.2508-02';
|
|
2550
2550
|
var instanceName = "." + newId(6);
|
|
2551
2551
|
var _dataUid = 0;
|
|
2552
2552
|
function _canAcceptData(target) {
|
|
@@ -3503,6 +3503,7 @@ var rootDefaultConfig = (_a$3 = {
|
|
|
3503
3503
|
_b.enabled = UNDEFINED_VALUE,
|
|
3504
3504
|
_b.ignoreCookies = UNDEFINED_VALUE,
|
|
3505
3505
|
_b.blockedCookies = UNDEFINED_VALUE,
|
|
3506
|
+
_b.disableCookieDefer = false,
|
|
3506
3507
|
_b)),
|
|
3507
3508
|
cookieDomain: UNDEFINED_VALUE,
|
|
3508
3509
|
cookiePath: UNDEFINED_VALUE
|
|
@@ -3582,16 +3583,99 @@ function createCookieMgr(rootConfig, logger) {
|
|
|
3582
3583
|
var _getCookieFn;
|
|
3583
3584
|
var _setCookieFn;
|
|
3584
3585
|
var _delCookieFn;
|
|
3586
|
+
var _pendingCookies = [];
|
|
3587
|
+
function _formatDeletionValue(path) {
|
|
3588
|
+
var _a;
|
|
3589
|
+
var values = (_a = {},
|
|
3590
|
+
_a[STR_PATH] = path ? path : "/",
|
|
3591
|
+
_a[strExpires] = "Thu, 01 Jan 1970 00:00:01 GMT",
|
|
3592
|
+
_a);
|
|
3593
|
+
if (!isIE()) {
|
|
3594
|
+
values["max-age"] = "0";
|
|
3595
|
+
}
|
|
3596
|
+
return _formatCookieValue(STR_EMPTY$2, values);
|
|
3597
|
+
}
|
|
3598
|
+
function _formatSetCookieValue(value, maxAgeSec, domain, path) {
|
|
3599
|
+
var values = {};
|
|
3600
|
+
var theValue = strTrim(value || STR_EMPTY$2);
|
|
3601
|
+
var idx = strIndexOf(theValue, ";");
|
|
3602
|
+
if (idx !== -1) {
|
|
3603
|
+
theValue = strTrim(strLeft(value, idx));
|
|
3604
|
+
values = _extractParts(strSubstring(value, idx + 1));
|
|
3605
|
+
}
|
|
3606
|
+
setValue(values, STR_DOMAIN, domain || _domain, isTruthy, isUndefined);
|
|
3607
|
+
if (!isNullOrUndefined(maxAgeSec)) {
|
|
3608
|
+
var _isIE = isIE();
|
|
3609
|
+
if (isUndefined(values[strExpires])) {
|
|
3610
|
+
var nowMs = utcNow();
|
|
3611
|
+
var expireMs = nowMs + (maxAgeSec * 1000);
|
|
3612
|
+
if (expireMs > 0) {
|
|
3613
|
+
var expiry = new Date();
|
|
3614
|
+
expiry.setTime(expireMs);
|
|
3615
|
+
setValue(values, strExpires, _formatDate(expiry, !_isIE ? strToUTCString : strToGMTString) || _formatDate(expiry, _isIE ? strToGMTString : strToUTCString) || STR_EMPTY$2, isTruthy);
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3618
|
+
if (!_isIE) {
|
|
3619
|
+
setValue(values, "max-age", STR_EMPTY$2 + maxAgeSec, null, isUndefined);
|
|
3620
|
+
}
|
|
3621
|
+
}
|
|
3622
|
+
var location = getLocation();
|
|
3623
|
+
if (location && location.protocol === "https:") {
|
|
3624
|
+
setValue(values, "secure", null, null, isUndefined);
|
|
3625
|
+
if (_allowUaSameSite === null) {
|
|
3626
|
+
_allowUaSameSite = !uaDisallowsSameSiteNone((getNavigator() || {})[_DYN_USER_AGENT ]);
|
|
3627
|
+
}
|
|
3628
|
+
if (_allowUaSameSite) {
|
|
3629
|
+
setValue(values, "SameSite", "None", null, isUndefined);
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
setValue(values, STR_PATH, path || _path, null, isUndefined);
|
|
3633
|
+
return _formatCookieValue(theValue, values);
|
|
3634
|
+
}
|
|
3635
|
+
function _removePendingCookie(name) {
|
|
3636
|
+
if (_pendingCookies) {
|
|
3637
|
+
for (var i = _pendingCookies[_DYN_LENGTH$1 ] - 1; i >= 0; i--) {
|
|
3638
|
+
if (_pendingCookies[i].n === name) {
|
|
3639
|
+
_pendingCookies[_DYN_SPLICE ](i, 1);
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
}
|
|
3644
|
+
function _flushPendingCookies() {
|
|
3645
|
+
if (areCookiesSupported(logger) && _pendingCookies) {
|
|
3646
|
+
arrForEach(_pendingCookies, function (pendingData) {
|
|
3647
|
+
if (!_isBlockedCookie(cookieMgrConfig, pendingData.n)) {
|
|
3648
|
+
if (pendingData.o === 0 ) {
|
|
3649
|
+
_setCookieFn(pendingData.n, pendingData.v);
|
|
3650
|
+
}
|
|
3651
|
+
else if (pendingData.o === 1 ) {
|
|
3652
|
+
_delCookieFn(pendingData.n, pendingData.v);
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
});
|
|
3656
|
+
_pendingCookies = [];
|
|
3657
|
+
}
|
|
3658
|
+
}
|
|
3585
3659
|
rootConfig = createDynamicConfig(rootConfig || _globalCookieConfig, null, logger).cfg;
|
|
3586
3660
|
unloadHandler = onConfigChange(rootConfig, function (details) {
|
|
3587
3661
|
details.setDf(details.cfg, rootDefaultConfig);
|
|
3588
3662
|
cookieMgrConfig = details.ref(details.cfg, "cookieCfg");
|
|
3589
3663
|
_path = cookieMgrConfig[STR_PATH ] || "/";
|
|
3590
3664
|
_domain = cookieMgrConfig[STR_DOMAIN ];
|
|
3665
|
+
if (cookieMgrConfig.disableCookieDefer) {
|
|
3666
|
+
_pendingCookies = null;
|
|
3667
|
+
}
|
|
3668
|
+
else if (_pendingCookies === null) {
|
|
3669
|
+
_pendingCookies = [];
|
|
3670
|
+
}
|
|
3671
|
+
var wasEnabled = _enabled;
|
|
3591
3672
|
_enabled = _isCfgEnabled(rootConfig, cookieMgrConfig) !== false;
|
|
3592
3673
|
_getCookieFn = cookieMgrConfig.getCookie || _getCookieValue;
|
|
3593
3674
|
_setCookieFn = cookieMgrConfig.setCookie || _setCookieValue;
|
|
3594
3675
|
_delCookieFn = cookieMgrConfig.delCookie || _setCookieValue;
|
|
3676
|
+
if (!wasEnabled && _enabled && _pendingCookies) {
|
|
3677
|
+
_flushPendingCookies();
|
|
3678
|
+
}
|
|
3595
3679
|
}, logger);
|
|
3596
3680
|
var cookieMgr = {
|
|
3597
3681
|
isEnabled: function () {
|
|
@@ -3603,55 +3687,52 @@ function createCookieMgr(rootConfig, logger) {
|
|
|
3603
3687
|
return enabled;
|
|
3604
3688
|
},
|
|
3605
3689
|
setEnabled: function (value) {
|
|
3606
|
-
_enabled = value !== false;
|
|
3607
3690
|
cookieMgrConfig[_DYN_ENABLED ] = value;
|
|
3691
|
+
if (!isUndefined(rootConfig[strDisableCookiesUsage])) {
|
|
3692
|
+
rootConfig[strDisableCookiesUsage] = !value;
|
|
3693
|
+
}
|
|
3608
3694
|
},
|
|
3609
3695
|
set: function (name, value, maxAgeSec, domain, path) {
|
|
3610
3696
|
var result = false;
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
var
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
values = _extractParts(strSubstring(value, idx + 1));
|
|
3618
|
-
}
|
|
3619
|
-
setValue(values, STR_DOMAIN, domain || _domain, isTruthy, isUndefined);
|
|
3620
|
-
if (!isNullOrUndefined(maxAgeSec)) {
|
|
3621
|
-
var _isIE = isIE();
|
|
3622
|
-
if (isUndefined(values[strExpires])) {
|
|
3623
|
-
var nowMs = utcNow();
|
|
3624
|
-
var expireMs = nowMs + (maxAgeSec * 1000);
|
|
3625
|
-
if (expireMs > 0) {
|
|
3626
|
-
var expiry = new Date();
|
|
3627
|
-
expiry.setTime(expireMs);
|
|
3628
|
-
setValue(values, strExpires, _formatDate(expiry, !_isIE ? strToUTCString : strToGMTString) || _formatDate(expiry, _isIE ? strToGMTString : strToUTCString) || STR_EMPTY$2, isTruthy);
|
|
3629
|
-
}
|
|
3630
|
-
}
|
|
3631
|
-
if (!_isIE) {
|
|
3632
|
-
setValue(values, "max-age", STR_EMPTY$2 + maxAgeSec, null, isUndefined);
|
|
3633
|
-
}
|
|
3697
|
+
var isBlocked = _isBlockedCookie(cookieMgrConfig, name);
|
|
3698
|
+
if (!isBlocked) {
|
|
3699
|
+
var cookieValue = _formatSetCookieValue(value, maxAgeSec, domain, path);
|
|
3700
|
+
if (_isMgrEnabled(cookieMgr)) {
|
|
3701
|
+
_setCookieFn(name, cookieValue);
|
|
3702
|
+
result = true;
|
|
3634
3703
|
}
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
}
|
|
3704
|
+
else if (_pendingCookies) {
|
|
3705
|
+
_removePendingCookie(name);
|
|
3706
|
+
_pendingCookies[_DYN_PUSH ]({
|
|
3707
|
+
n: name,
|
|
3708
|
+
o: 0 ,
|
|
3709
|
+
v: cookieValue
|
|
3710
|
+
});
|
|
3711
|
+
result = true;
|
|
3644
3712
|
}
|
|
3645
|
-
setValue(values, STR_PATH, path || _path, null, isUndefined);
|
|
3646
|
-
_setCookieFn(name, _formatCookieValue(theValue, values));
|
|
3647
|
-
result = true;
|
|
3648
3713
|
}
|
|
3649
3714
|
return result;
|
|
3650
3715
|
},
|
|
3651
3716
|
get: function (name) {
|
|
3652
3717
|
var value = STR_EMPTY$2;
|
|
3653
|
-
|
|
3654
|
-
|
|
3718
|
+
var isIgnored = _isIgnoredCookie(cookieMgrConfig, name);
|
|
3719
|
+
if (!isIgnored) {
|
|
3720
|
+
if (_isMgrEnabled(cookieMgr)) {
|
|
3721
|
+
value = _getCookieFn(name);
|
|
3722
|
+
}
|
|
3723
|
+
else if (_pendingCookies) {
|
|
3724
|
+
for (var i = _pendingCookies[_DYN_LENGTH$1 ] - 1; i >= 0; i--) {
|
|
3725
|
+
var pendingData = _pendingCookies[i];
|
|
3726
|
+
if (pendingData.n === name) {
|
|
3727
|
+
if (pendingData.o === 0 ) {
|
|
3728
|
+
var cookieValue = pendingData.v;
|
|
3729
|
+
var idx = strIndexOf(cookieValue, ";");
|
|
3730
|
+
value = idx !== -1 ? strTrim(strLeft(cookieValue, idx)) : strTrim(cookieValue);
|
|
3731
|
+
}
|
|
3732
|
+
break;
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3655
3736
|
}
|
|
3656
3737
|
return value;
|
|
3657
3738
|
},
|
|
@@ -3660,20 +3741,21 @@ function createCookieMgr(rootConfig, logger) {
|
|
|
3660
3741
|
if (_isMgrEnabled(cookieMgr)) {
|
|
3661
3742
|
result = cookieMgr.purge(name, path);
|
|
3662
3743
|
}
|
|
3744
|
+
else if (_pendingCookies) {
|
|
3745
|
+
_removePendingCookie(name);
|
|
3746
|
+
_pendingCookies[_DYN_PUSH ]({
|
|
3747
|
+
n: name,
|
|
3748
|
+
o: 1 ,
|
|
3749
|
+
v: _formatDeletionValue(path)
|
|
3750
|
+
});
|
|
3751
|
+
result = true;
|
|
3752
|
+
}
|
|
3663
3753
|
return result;
|
|
3664
3754
|
},
|
|
3665
3755
|
purge: function (name, path) {
|
|
3666
|
-
var _a;
|
|
3667
3756
|
var result = false;
|
|
3668
3757
|
if (areCookiesSupported(logger)) {
|
|
3669
|
-
|
|
3670
|
-
_a[STR_PATH] = path ? path : "/",
|
|
3671
|
-
_a[strExpires] = "Thu, 01 Jan 1970 00:00:01 GMT",
|
|
3672
|
-
_a);
|
|
3673
|
-
if (!isIE()) {
|
|
3674
|
-
values["max-age"] = "0";
|
|
3675
|
-
}
|
|
3676
|
-
_delCookieFn(name, _formatCookieValue(STR_EMPTY$2, values));
|
|
3758
|
+
_delCookieFn(name, _formatDeletionValue(path));
|
|
3677
3759
|
result = true;
|
|
3678
3760
|
}
|
|
3679
3761
|
return result;
|
|
@@ -3681,6 +3763,7 @@ function createCookieMgr(rootConfig, logger) {
|
|
|
3681
3763
|
unload: function (isAsync) {
|
|
3682
3764
|
unloadHandler && unloadHandler.rm();
|
|
3683
3765
|
unloadHandler = null;
|
|
3766
|
+
_pendingCookies = null;
|
|
3684
3767
|
}
|
|
3685
3768
|
};
|
|
3686
3769
|
cookieMgr[strConfigCookieMgr] = cookieMgr;
|
|
@@ -6717,7 +6800,7 @@ var _DYN_RM_FIELD_SANITIZER = "rmFieldSanitizer";
|
|
|
6717
6800
|
var _DYN_CAN_HANDLE = "canHandle";
|
|
6718
6801
|
|
|
6719
6802
|
var _a;
|
|
6720
|
-
var Version = '4.3.10-nightly3.
|
|
6803
|
+
var Version = '4.3.10-nightly3.2508-02';
|
|
6721
6804
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
6722
6805
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
6723
6806
|
var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
|