@microsoft/1ds-post-js 4.4.2-nightly3.2605-01 → 4.4.2-nightly3.2605-07
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.post-4.4.2-nightly3.2605-01.gbl.js → ms.post-4.4.2-nightly3.2605-07.gbl.js} +27 -18
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.4.2-nightly3.2605-01.js → ms.post-4.4.2-nightly3.2605-07.js} +27 -18
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.js.map +1 -0
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.min.js +7 -0
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-07.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +26 -17
- package/bundle/es5/ms.post.gbl.js.map +1 -1
- package/bundle/es5/ms.post.gbl.min.js +2 -2
- package/bundle/es5/ms.post.gbl.min.js.map +1 -1
- package/bundle/es5/ms.post.integrity.json +17 -17
- package/bundle/es5/ms.post.js +26 -17
- package/bundle/es5/ms.post.js.map +1 -1
- package/bundle/es5/ms.post.min.js +2 -2
- package/bundle/es5/ms.post.min.js.map +1 -1
- package/dist/es5/ms.post.js +24 -15
- package/dist/es5/ms.post.js.map +1 -1
- package/dist/es5/ms.post.min.js +2 -2
- package/dist/es5/ms.post.min.js.map +1 -1
- package/dist-es5/BatchNotificationActions.js +1 -1
- package/dist-es5/ClockSkewManager.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +1 -1
- package/dist-es5/HttpManager.js +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +1 -1
- package/dist-es5/PostChannel.js +2 -2
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +1 -1
- package/dist-es5/Serializer.js +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +3 -3
- package/types/1ds-post-js.d.ts +1 -1
- package/types/1ds-post-js.namespaced.d.ts +3 -1
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.integrity.json +0 -46
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.js.map +0 -1
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.min.js +0 -7
- package/bundle/es5/ms.post-4.4.2-nightly3.2605-01.min.js.map +0 -1
package/bundle/es5/{ms.post-4.4.2-nightly3.2605-01.gbl.js → ms.post-4.4.2-nightly3.2605-07.gbl.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK POST plugin, 4.4.2-nightly3.2605-
|
|
2
|
+
* 1DS JS SDK POST plugin, 4.4.2-nightly3.2605-07
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
var undef = "undefined";
|
|
8
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
9
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.4.2-nightly3.2605-
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_post_4_4_2_nightly3_2605_07", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.4.2-nightly3.2605-07";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -36,14 +36,14 @@ var strShimUndefined = "undefined";
|
|
|
36
36
|
var strShimPrototype = "prototype";
|
|
37
37
|
var ObjClass$1 = Object;
|
|
38
38
|
|
|
39
|
-
/*! https://github.com/nevware21/ts-utils v0.
|
|
39
|
+
/*! https://github.com/nevware21/ts-utils v0.14.0 */
|
|
40
40
|
/*#__NO_SIDE_EFFECTS__*/
|
|
41
41
|
function _pureAssign(func1, func2) {
|
|
42
42
|
return func1 || func2;
|
|
43
43
|
}
|
|
44
44
|
/*#__NO_SIDE_EFFECTS__*/
|
|
45
45
|
function _pureRef(value, name) {
|
|
46
|
-
return value[name];
|
|
46
|
+
return value !== null && value !== undefined ? value[name] : undefined;
|
|
47
47
|
}
|
|
48
48
|
var UNDEF_VALUE = undefined;
|
|
49
49
|
var NULL_VALUE = null;
|
|
@@ -170,11 +170,15 @@ function polyObjHasOwn(obj, prop) {
|
|
|
170
170
|
_throwIfNullOrUndefined(obj);
|
|
171
171
|
return objHasOwnProperty(obj, prop) || !!_objGetOwnPropertyDescriptor$2(obj, prop);
|
|
172
172
|
}
|
|
173
|
+
/*#__NO_SIDE_EFFECTS__*/
|
|
174
|
+
function isUnsafePropKey(key) {
|
|
175
|
+
return key === __PROTO__ || key === CONSTRUCTOR || key === PROTOTYPE;
|
|
176
|
+
}
|
|
173
177
|
function objForEachKey(theObject, callbackfn, thisArg) {
|
|
174
178
|
if (theObject && (isObject(theObject) || isFunction(theObject))) {
|
|
175
179
|
for (var prop in theObject) {
|
|
176
180
|
if (objHasOwn(theObject, prop)) {
|
|
177
|
-
if (callbackfn[CALL](thisArg
|
|
181
|
+
if (callbackfn[CALL](isStrictNullOrUndefined(thisArg) ? theObject : thisArg, prop, theObject[prop]) === -1) {
|
|
178
182
|
break;
|
|
179
183
|
}
|
|
180
184
|
}
|
|
@@ -186,14 +190,14 @@ function arrForEach(theArray, callbackfn, thisArg) {
|
|
|
186
190
|
var len = theArray[LENGTH] >>> 0;
|
|
187
191
|
for (var idx = 0; idx < len; idx++) {
|
|
188
192
|
if (idx in theArray) {
|
|
189
|
-
if (callbackfn[CALL](thisArg
|
|
193
|
+
if (callbackfn[CALL](isStrictNullOrUndefined(thisArg) ? theArray : thisArg, theArray[idx], idx, theArray) === -1) {
|
|
190
194
|
break;
|
|
191
195
|
}
|
|
192
196
|
}
|
|
193
197
|
}
|
|
194
198
|
}
|
|
195
199
|
}
|
|
196
|
-
var _unwrapFunction =
|
|
200
|
+
var _unwrapFunction = _unwrapFunctionWithPoly;
|
|
197
201
|
/*#__NO_SIDE_EFFECTS__*/
|
|
198
202
|
function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
|
|
199
203
|
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
|
|
@@ -622,7 +626,7 @@ function iterForOf(iter, callbackfn, thisArg) {
|
|
|
622
626
|
try {
|
|
623
627
|
var count = 0;
|
|
624
628
|
while (!(iterResult = iter.next()).done) {
|
|
625
|
-
if (callbackfn[CALL](thisArg
|
|
629
|
+
if (callbackfn[CALL](isStrictNullOrUndefined(thisArg) ? iter : thisArg, iterResult.value, count, iter) === -1) {
|
|
626
630
|
break;
|
|
627
631
|
}
|
|
628
632
|
count++;
|
|
@@ -670,6 +674,8 @@ var arrIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", ArrProto));
|
|
|
670
674
|
function arrSlice(theArray, start, end) {
|
|
671
675
|
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
|
|
672
676
|
}
|
|
677
|
+
var mathFloor = ( /*#__PURE__*/_pureRef(MathCls, "floor"));
|
|
678
|
+
var mathCeil = ( /*#__PURE__*/_pureRef(MathCls, "ceil"));
|
|
673
679
|
var _isProtoArray;
|
|
674
680
|
var objSetPrototypeOf = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, "setPrototypeOf")), _polyObjSetPrototypeOf));
|
|
675
681
|
function _polyObjSetPrototypeOf(obj, proto) {
|
|
@@ -718,20 +724,21 @@ function createCustomError(name, constructCb, errorBase, superArgsFn) {
|
|
|
718
724
|
}
|
|
719
725
|
}, theBaseClass);
|
|
720
726
|
}
|
|
727
|
+
var strReplace = ( /*#__PURE__*/_unwrapFunction("replace", StrProto));
|
|
721
728
|
/*#__NO_SIDE_EFFECTS__*/
|
|
722
729
|
function _createTrimFn(exp) {
|
|
723
730
|
return function _doTrim(value) {
|
|
724
731
|
_throwIfNullOrUndefined(value);
|
|
725
|
-
|
|
726
|
-
|
|
732
|
+
value = asString(value);
|
|
733
|
+
if (value) {
|
|
734
|
+
value = strReplace(value, exp, EMPTY);
|
|
727
735
|
}
|
|
728
736
|
return value;
|
|
729
737
|
};
|
|
730
738
|
}
|
|
731
739
|
var polyStrTrim = ( /*#__PURE__*/_createTrimFn(/^\s+|(?=\s)\s+$/g));
|
|
732
740
|
var strTrim = ( /*#__PURE__*/_unwrapFunctionWithPoly("trim", StrProto, polyStrTrim));
|
|
733
|
-
var
|
|
734
|
-
var mathCeil = ( /*#__PURE__*/_pureRef(MathCls, "ceil"));
|
|
741
|
+
var objGetOwnPropertyDescriptor = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR)), _returnNothing));
|
|
735
742
|
var _fnToString;
|
|
736
743
|
var _objCtrFnString;
|
|
737
744
|
var _gblWindow;
|
|
@@ -768,7 +775,6 @@ function isPlainObject(value) {
|
|
|
768
775
|
function perfNow() {
|
|
769
776
|
return utcNow();
|
|
770
777
|
}
|
|
771
|
-
var objGetOwnPropertyDescriptor = ( /*#__PURE__*/_pureAssign(( /*#__PURE__*/_pureRef(ObjClass, GET_OWN_PROPERTY_DESCRIPTOR)), _returnNothing));
|
|
772
778
|
var strIndexOf = ( /*#__PURE__*/_unwrapFunction("indexOf", StrProto));
|
|
773
779
|
var strStartsWith = ( /*#__PURE__*/_unwrapFunctionWithPoly("startsWith", StrProto, polyStrStartsWith));
|
|
774
780
|
/*#__NO_SIDE_EFFECTS__*/
|
|
@@ -1976,7 +1982,7 @@ function newId(maxLength) {
|
|
|
1976
1982
|
return result;
|
|
1977
1983
|
}
|
|
1978
1984
|
|
|
1979
|
-
var version =
|
|
1985
|
+
var version = "3.4.2-nightly3.2605-07";
|
|
1980
1986
|
var instanceName = "." + newId(6);
|
|
1981
1987
|
var _dataUid = 0;
|
|
1982
1988
|
function _canAcceptData(target) {
|
|
@@ -4272,7 +4278,7 @@ function removePageShowEventListener(listener, evtNamespace) {
|
|
|
4272
4278
|
}
|
|
4273
4279
|
|
|
4274
4280
|
var _a$1;
|
|
4275
|
-
var ExtVersion =
|
|
4281
|
+
var ExtVersion = "4.4.1";
|
|
4276
4282
|
var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
|
|
4277
4283
|
var FullVersionString = ExtFullVersionString;
|
|
4278
4284
|
var ObjHasOwnProperty = Object.prototype[_DYN_HAS_OWN_PROPERTY ];
|
|
@@ -4368,6 +4374,9 @@ function extend(obj, obj2, obj3, obj4, obj5) {
|
|
|
4368
4374
|
for (; i < length; i++) {
|
|
4369
4375
|
var obj = theArgs[i];
|
|
4370
4376
|
objForEachKey(obj, function (prop, value) {
|
|
4377
|
+
if (isUnsafePropKey(prop)) {
|
|
4378
|
+
return;
|
|
4379
|
+
}
|
|
4371
4380
|
if (deep && value && isObject(value)) {
|
|
4372
4381
|
if (isArray(value)) {
|
|
4373
4382
|
extended[prop] = extended[prop] || [];
|
|
@@ -5981,7 +5990,7 @@ var PostChannel = /** @class */ (function (_super) {
|
|
|
5981
5990
|
var _this = _super.call(this) || this;
|
|
5982
5991
|
_this.identifier = "PostChannel";
|
|
5983
5992
|
_this.priority = 1011;
|
|
5984
|
-
_this.version = '4.4.2-nightly3.2605-
|
|
5993
|
+
_this.version = '4.4.2-nightly3.2605-07';
|
|
5985
5994
|
var _postConfig;
|
|
5986
5995
|
var _isTeardownCalled = false;
|
|
5987
5996
|
var _flushCallbackQueue = [];
|
|
@@ -6769,4 +6778,4 @@ exports.PostChannel = PostChannel;
|
|
|
6769
6778
|
exports.RT_PROFILE = RT_PROFILE;
|
|
6770
6779
|
|
|
6771
6780
|
}));
|
|
6772
|
-
//# sourceMappingURL=ms.post-4.4.2-nightly3.2605-
|
|
6781
|
+
//# sourceMappingURL=ms.post-4.4.2-nightly3.2605-07.gbl.js.map
|