@microsoft/applicationinsights-web-basic 2.8.17-nightly.2312-06 → 2.8.17-nightly.2402-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/browser/aib.2.8.17-nightly.2402-05.integrity.json +26 -0
- package/browser/{aib.2.8.17-nightly.2312-06.js → aib.2.8.17-nightly.2402-05.js} +32 -25
- package/browser/aib.2.8.17-nightly.2402-05.js.map +1 -0
- package/browser/aib.2.8.17-nightly.2402-05.min.js +6 -0
- package/browser/aib.2.8.17-nightly.2402-05.min.js.map +1 -0
- package/browser/aib.2.js +31 -24
- package/browser/aib.2.js.map +1 -1
- package/browser/aib.2.min.js +2 -2
- package/browser/aib.2.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.api.json +1 -1
- package/dist/applicationinsights-web-basic.d.ts +1 -1
- package/dist/applicationinsights-web-basic.js +29 -22
- package/dist/applicationinsights-web-basic.js.map +1 -1
- package/dist/applicationinsights-web-basic.min.js +2 -2
- package/dist/applicationinsights-web-basic.min.js.map +1 -1
- package/dist/applicationinsights-web-basic.rollup.d.ts +1 -1
- package/dist-esm/__DynamicConstants.js +1 -1
- package/dist-esm/index.js +1 -1
- package/package.json +5 -5
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.2.8.17-nightly.2312-06.integrity.json +0 -26
- package/browser/aib.2.8.17-nightly.2312-06.js.map +0 -1
- package/browser/aib.2.8.17-nightly.2312-06.min.js +0 -6
- package/browser/aib.2.8.17-nightly.2312-06.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 2.8.17-nightly.
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 2.8.17-nightly.2402-05
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
})(this, (function (exports) { 'use strict';
|
|
10
10
|
|
|
11
11
|
/*!
|
|
12
|
-
* Microsoft Dynamic Proto Utility, 1.1.
|
|
12
|
+
* Microsoft Dynamic Proto Utility, 1.1.11
|
|
13
13
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
14
14
|
*/
|
|
15
15
|
var _a$3;
|
|
@@ -102,13 +102,16 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
function _isDynamicCandidate(target, funcName, skipOwn) {
|
|
105
|
-
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)));
|
|
105
|
+
return (funcName !== Constructor && typeof target[funcName] === strFunction && (skipOwn || _hasOwnProperty(target, funcName)) && funcName !== str__Proto$1 && funcName !== Prototype);
|
|
106
106
|
}
|
|
107
107
|
function _throwTypeError(message) {
|
|
108
108
|
throw new TypeError("DynamicProto: " + message);
|
|
109
109
|
}
|
|
110
|
+
function _newObject() {
|
|
111
|
+
return Object.create ? (function(obj) { var func = Object["create"]; if (func) { return func(obj); } if (obj == null) { return {}; } var type = typeof obj; if (type !== 'object' && type !== 'function') { throw new TypeError('Object prototype may only be an Object:' + obj); } function tmpFunc() {} tmpFunc.prototype = obj; return new tmpFunc(); })(null) : {};
|
|
112
|
+
}
|
|
110
113
|
function _getInstanceFuncs(thisTarget) {
|
|
111
|
-
var instFuncs =
|
|
114
|
+
var instFuncs = _newObject();
|
|
112
115
|
_forEachProp(thisTarget, function (name) {
|
|
113
116
|
if (!instFuncs[name] && _isDynamicCandidate(thisTarget, name, false)) {
|
|
114
117
|
instFuncs[name] = thisTarget[name];
|
|
@@ -137,7 +140,7 @@
|
|
|
137
140
|
return theFunc.apply(target, arguments);
|
|
138
141
|
};
|
|
139
142
|
}
|
|
140
|
-
var baseFuncs =
|
|
143
|
+
var baseFuncs = _newObject();
|
|
141
144
|
_forEachProp(instFuncs, function (name) {
|
|
142
145
|
baseFuncs[name] = _instFuncProxy(thisTarget, instFuncs, name);
|
|
143
146
|
});
|
|
@@ -157,8 +160,8 @@
|
|
|
157
160
|
function _getInstFunc(target, funcName, proto, currentDynProtoProxy) {
|
|
158
161
|
var instFunc = null;
|
|
159
162
|
if (target && _hasOwnProperty(proto, DynClassName)) {
|
|
160
|
-
var instFuncTable = target[DynInstFuncTable] ||
|
|
161
|
-
instFunc = (instFuncTable[proto[DynClassName]] ||
|
|
163
|
+
var instFuncTable = target[DynInstFuncTable] || _newObject();
|
|
164
|
+
instFunc = (instFuncTable[proto[DynClassName]] || _newObject())[funcName];
|
|
162
165
|
if (!instFunc) {
|
|
163
166
|
_throwTypeError("Missing [" + funcName + "] " + strFunction);
|
|
164
167
|
}
|
|
@@ -208,20 +211,24 @@
|
|
|
208
211
|
return dynProtoProxy;
|
|
209
212
|
}
|
|
210
213
|
if (!_isObjectOrArrayPrototype(proto)) {
|
|
211
|
-
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] ||
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
instFuncTable[DynAllowInstChkTag]
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
if (
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
214
|
+
var instFuncTable = target[DynInstFuncTable] = target[DynInstFuncTable] || _newObject();
|
|
215
|
+
if (!_isObjectOrArrayPrototype(instFuncTable)) {
|
|
216
|
+
var instFuncs_1 = instFuncTable[className] = (instFuncTable[className] || _newObject());
|
|
217
|
+
if (instFuncTable[DynAllowInstChkTag] !== false) {
|
|
218
|
+
instFuncTable[DynAllowInstChkTag] = !!setInstanceFunc;
|
|
219
|
+
}
|
|
220
|
+
if (!_isObjectOrArrayPrototype(instFuncs_1)) {
|
|
221
|
+
_forEachProp(target, function (name) {
|
|
222
|
+
if (_isDynamicCandidate(target, name, false) && target[name] !== baseInstFuncs[name]) {
|
|
223
|
+
instFuncs_1[name] = target[name];
|
|
224
|
+
delete target[name];
|
|
225
|
+
if (!_hasOwnProperty(proto, name) || (proto[name] && !proto[name][DynProxyTag])) {
|
|
226
|
+
proto[name] = _createDynamicPrototype(proto, name);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
});
|
|
223
230
|
}
|
|
224
|
-
}
|
|
231
|
+
}
|
|
225
232
|
}
|
|
226
233
|
}
|
|
227
234
|
function _checkPrototype(classProto, thisTarget) {
|
|
@@ -1561,7 +1568,7 @@
|
|
|
1561
1568
|
}
|
|
1562
1569
|
|
|
1563
1570
|
var _objDefineProperty = ObjDefineProperty;
|
|
1564
|
-
var version = "2.8.17-nightly.
|
|
1571
|
+
var version = "2.8.17-nightly.2402-05";
|
|
1565
1572
|
var instanceName = "." + newId(6);
|
|
1566
1573
|
var _dataUid = 0;
|
|
1567
1574
|
function _createAccessor(target, prop, value) {
|
|
@@ -5166,7 +5173,7 @@
|
|
|
5166
5173
|
}
|
|
5167
5174
|
}
|
|
5168
5175
|
var EnvelopeCreator = {
|
|
5169
|
-
Version: "2.8.17-nightly.
|
|
5176
|
+
Version: "2.8.17-nightly.2402-05"
|
|
5170
5177
|
};
|
|
5171
5178
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
5172
5179
|
EnvelopeCreatorInit(logger, telemetryItem);
|