@microsoft/1ds-core-js 4.3.6-nightly3.2502-03 → 4.3.6-nightly3.2502-05
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.6-nightly3.2502-03.gbl.js → ms.core-4.3.6-nightly3.2502-05.gbl.js} +29 -19
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-05.gbl.js.map +1 -0
- package/bundle/es5/{ms.core-4.3.6-nightly3.2502-03.gbl.min.js → ms.core-4.3.6-nightly3.2502-05.gbl.min.js} +3 -3
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-05.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-05.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.3.6-nightly3.2502-03.js → ms.core-4.3.6-nightly3.2502-05.js} +29 -19
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-05.js.map +1 -0
- package/bundle/es5/{ms.core-4.3.6-nightly3.2502-03.min.js → ms.core-4.3.6-nightly3.2502-05.min.js} +3 -3
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-05.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +28 -18
- 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 +28 -18
- 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 +26 -16
- 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 +26 -14
- package/dist-es5/ValueSanitizer.js.map +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 +2 -2
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-03.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-03.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-03.integrity.json +0 -46
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-03.js.map +0 -1
- package/bundle/es5/ms.core-4.3.6-nightly3.2502-03.min.js.map +0 -1
package/dist/es5/ms.core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK Core, 4.3.6-nightly3.2502-
|
|
2
|
+
* 1DS JS SDK Core, 4.3.6-nightly3.2502-05
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
@@ -2329,7 +2329,7 @@
|
|
|
2329
2329
|
return result;
|
|
2330
2330
|
}
|
|
2331
2331
|
|
|
2332
|
-
var version = '3.3.6-nightly3.2502-
|
|
2332
|
+
var version = '3.3.6-nightly3.2502-05';
|
|
2333
2333
|
var instanceName = "." + newId(6);
|
|
2334
2334
|
var _dataUid = 0;
|
|
2335
2335
|
function _canAcceptData(target) {
|
|
@@ -6447,7 +6447,7 @@
|
|
|
6447
6447
|
var _DYN_CAN_HANDLE = "canHandle";
|
|
6448
6448
|
|
|
6449
6449
|
var _a;
|
|
6450
|
-
var Version = '4.3.6-nightly3.2502-
|
|
6450
|
+
var Version = '4.3.6-nightly3.2502-05';
|
|
6451
6451
|
var FullVersionString = "1DS-Web-JS-" + Version;
|
|
6452
6452
|
var ObjHasOwnProperty = ObjProto$1.hasOwnProperty;
|
|
6453
6453
|
var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
|
|
@@ -6809,6 +6809,9 @@
|
|
|
6809
6809
|
INFORMATION: 3
|
|
6810
6810
|
});
|
|
6811
6811
|
|
|
6812
|
+
function _isSpecialName(name) {
|
|
6813
|
+
return (name == "__proto__" || name == "constructor" || name == "prototype");
|
|
6814
|
+
}
|
|
6812
6815
|
var ValueSanitizer = /** @class */ (function () {
|
|
6813
6816
|
function ValueSanitizer(fieldSanitizerProvider) {
|
|
6814
6817
|
var _self = this;
|
|
@@ -6819,6 +6822,7 @@
|
|
|
6819
6822
|
_fieldSanitizers.push(fieldSanitizerProvider);
|
|
6820
6823
|
}
|
|
6821
6824
|
function _getFieldSanitizer(path, name) {
|
|
6825
|
+
var _a, _b, _c;
|
|
6822
6826
|
var result;
|
|
6823
6827
|
var fieldLookup = _sanitizerMap[path];
|
|
6824
6828
|
if (fieldLookup) {
|
|
@@ -6829,36 +6833,42 @@
|
|
|
6829
6833
|
if (_fieldSanitizers[_DYN_LENGTH ] > 0) {
|
|
6830
6834
|
for (var lp = 0; lp < _fieldSanitizers[_DYN_LENGTH ]; lp++) {
|
|
6831
6835
|
if (_fieldSanitizers[lp][_DYN_HANDLE_FIELD ](path, name)) {
|
|
6832
|
-
result = {
|
|
6833
|
-
|
|
6834
|
-
fieldHandler
|
|
6835
|
-
|
|
6836
|
+
result = (_a = {},
|
|
6837
|
+
_a[_DYN_CAN_HANDLE ] = true,
|
|
6838
|
+
_a.fieldHandler = _fieldSanitizers[lp],
|
|
6839
|
+
_a);
|
|
6836
6840
|
break;
|
|
6837
6841
|
}
|
|
6838
6842
|
}
|
|
6839
6843
|
}
|
|
6840
6844
|
else if (_sanitizers[_DYN_LENGTH ] === 0) {
|
|
6841
|
-
result = {
|
|
6842
|
-
|
|
6843
|
-
|
|
6845
|
+
result = (_b = {},
|
|
6846
|
+
_b[_DYN_CAN_HANDLE ] = true,
|
|
6847
|
+
_b);
|
|
6844
6848
|
}
|
|
6845
6849
|
}
|
|
6846
6850
|
if (!result && result !== null) {
|
|
6847
6851
|
result = null;
|
|
6848
6852
|
for (var lp = 0; lp < _sanitizers[_DYN_LENGTH ]; lp++) {
|
|
6849
6853
|
if (_sanitizers[lp][_DYN_HANDLE_FIELD ](path, name)) {
|
|
6850
|
-
result = {
|
|
6851
|
-
|
|
6852
|
-
handler
|
|
6853
|
-
fieldHandler
|
|
6854
|
-
|
|
6854
|
+
result = (_c = {},
|
|
6855
|
+
_c[_DYN_CAN_HANDLE ] = true,
|
|
6856
|
+
_c.handler = _sanitizers[lp],
|
|
6857
|
+
_c.fieldHandler = null,
|
|
6858
|
+
_c);
|
|
6855
6859
|
break;
|
|
6856
6860
|
}
|
|
6857
6861
|
}
|
|
6858
6862
|
}
|
|
6859
6863
|
if (!fieldLookup) {
|
|
6864
|
+
if (_isSpecialName(path)) {
|
|
6865
|
+
return null;
|
|
6866
|
+
}
|
|
6860
6867
|
fieldLookup = _sanitizerMap[path] = {};
|
|
6861
6868
|
}
|
|
6869
|
+
if (_isSpecialName(name)) {
|
|
6870
|
+
return null;
|
|
6871
|
+
}
|
|
6862
6872
|
fieldLookup[name] = result;
|
|
6863
6873
|
}
|
|
6864
6874
|
return result;
|
|
@@ -6916,7 +6926,7 @@
|
|
|
6916
6926
|
_self[_DYN_VALUE ] = function (path, name, value, stringifyObjects) {
|
|
6917
6927
|
var mapValue = _getFieldSanitizer(path, name);
|
|
6918
6928
|
if (mapValue && mapValue[_DYN_CAN_HANDLE ]) {
|
|
6919
|
-
if (!mapValue
|
|
6929
|
+
if (!mapValue[_DYN_CAN_HANDLE ]) {
|
|
6920
6930
|
return null;
|
|
6921
6931
|
}
|
|
6922
6932
|
if (mapValue.handler) {
|