@microsoft/applicationinsights-web-basic 2.8.6-nightly.2207-25 → 2.8.6
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/LICENSE +17 -17
- package/NOTICE +17 -0
- package/PRIVACY +3 -0
- package/README.md +30 -1
- package/browser/aib.2.8.6.integrity.json +26 -0
- package/browser/{aib.2.8.6-nightly.2207-25.js → aib.2.8.6.js} +7 -13
- package/browser/aib.2.8.6.js.map +1 -0
- package/browser/aib.2.8.6.min.js +6 -0
- package/browser/aib.2.8.6.min.js.map +1 -0
- package/browser/aib.2.js +6 -12
- 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 +6 -12
- 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 +62 -65
- package/types/tsdoc-metadata.json +1 -1
- package/browser/aib.2.8.6-nightly.2207-25.integrity.json +0 -26
- package/browser/aib.2.8.6-nightly.2207-25.js.map +0 -1
- package/browser/aib.2.8.6-nightly.2207-25.min.js +0 -6
- package/browser/aib.2.8.6-nightly.2207-25.min.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) Microsoft Corporation
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
NOTICES AND INFORMATION
|
|
2
|
+
Do Not Translate or Localize
|
|
3
|
+
|
|
4
|
+
This software incorporates material from third parties. Microsoft makes certain
|
|
5
|
+
open source code available at https://3rdpartysource.microsoft.com, or you may
|
|
6
|
+
send a check or money order for US $5.00, including the product name, the open
|
|
7
|
+
source component name, and version number, to:
|
|
8
|
+
|
|
9
|
+
Source Code Compliance Team
|
|
10
|
+
Microsoft Corporation
|
|
11
|
+
One Microsoft Way
|
|
12
|
+
Redmond, WA 98052
|
|
13
|
+
USA
|
|
14
|
+
|
|
15
|
+
Notwithstanding any other terms, you may reverse engineer this software to the
|
|
16
|
+
extent required to debug changes to any libraries licensed under the GNU Lesser
|
|
17
|
+
General Public License.
|
package/PRIVACY
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
# Data Collection
|
|
2
|
+
|
|
3
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
package/README.md
CHANGED
|
@@ -22,4 +22,33 @@
|
|
|
22
22
|
Application Insights - Web Basic SDK
|
|
23
23
|
|
|
24
24
|
Application Insights AI SKU Light is a package that combines minimum required packages for Web scenarios.
|
|
25
|
-
Refer to [ApplicationInsights-JS](../README.MD) for more details on getting started.
|
|
25
|
+
Refer to [ApplicationInsights-JS](../README.MD) for more details on getting started.
|
|
26
|
+
|
|
27
|
+
## Contributing
|
|
28
|
+
|
|
29
|
+
This project welcomes contributions and suggestions. Most contributions require you to
|
|
30
|
+
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
|
|
31
|
+
and actually do, grant us the rights to use your contribution. For details, visit
|
|
32
|
+
https://cla.microsoft.com.
|
|
33
|
+
|
|
34
|
+
When you submit a pull request, a CLA-bot will automatically determine whether you need
|
|
35
|
+
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
|
|
36
|
+
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
|
|
37
|
+
|
|
38
|
+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
39
|
+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
40
|
+
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
41
|
+
|
|
42
|
+
## Data Collection
|
|
43
|
+
|
|
44
|
+
As this SDK is designed to enable applications to perform data collection which is sent to the Microsoft collection endpoints the following is required to identify our privacy statement.
|
|
45
|
+
|
|
46
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft’s privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
|
47
|
+
|
|
48
|
+
## Trademarks
|
|
49
|
+
|
|
50
|
+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow [Microsoft’s Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.
|
|
51
|
+
|
|
52
|
+
## License
|
|
53
|
+
|
|
54
|
+
[MIT](LICENSE)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aib",
|
|
3
|
+
"version": "2.8.6",
|
|
4
|
+
"ext": {
|
|
5
|
+
"@js": {
|
|
6
|
+
"file": "aib.2.8.6.js",
|
|
7
|
+
"type": "text/javascript; charset=utf-8",
|
|
8
|
+
"integrity": "sha256-OOOSW3AjFThVChiVP+H6J5AqOvBsfT/EvMxbHd+svxg= sha384-F6BhMMhFkOYMzgrBpXuSw+kfpYzurOrBv2j34IxWlbm6WhFwBPCvOIDLmKp2Sz0m sha512-OUzTYQBLg+FYzeiCai5QeVlysDOJ58145tnEOGEHgjiNA+QjY1tBrJ10Z1DWJ4laDPNYfst+5POBYIqOYMtF3g==",
|
|
9
|
+
"hashes": {
|
|
10
|
+
"sha256": "OOOSW3AjFThVChiVP+H6J5AqOvBsfT/EvMxbHd+svxg=",
|
|
11
|
+
"sha384": "F6BhMMhFkOYMzgrBpXuSw+kfpYzurOrBv2j34IxWlbm6WhFwBPCvOIDLmKp2Sz0m",
|
|
12
|
+
"sha512": "OUzTYQBLg+FYzeiCai5QeVlysDOJ58145tnEOGEHgjiNA+QjY1tBrJ10Z1DWJ4laDPNYfst+5POBYIqOYMtF3g=="
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"@min.js": {
|
|
16
|
+
"file": "aib.2.8.6.min.js",
|
|
17
|
+
"type": "text/javascript; charset=utf-8",
|
|
18
|
+
"integrity": "sha256-KlWQ4jASFVrIEeZVE7o7RYXyvADUbNlBFtw2Ty3dIk4= sha384-qBWVRDZEDHsN8o3yoWrFBKzruA9j+KohIaLEAr5VatNsJBMIGPYL51vH5uOP9ADO sha512-TqirYUeVFr4lCDOtJRZnptQjlgMQlz3YgAhPbqVl8nPfPxqJsr1llbpe4K0K3r4PLRVlCTKFJFdS4MVgmKLCiw==",
|
|
19
|
+
"hashes": {
|
|
20
|
+
"sha256": "KlWQ4jASFVrIEeZVE7o7RYXyvADUbNlBFtw2Ty3dIk4=",
|
|
21
|
+
"sha384": "qBWVRDZEDHsN8o3yoWrFBKzruA9j+KohIaLEAr5VatNsJBMIGPYL51vH5uOP9ADO",
|
|
22
|
+
"sha512": "TqirYUeVFr4lCDOtJRZnptQjlgMQlz3YgAhPbqVl8nPfPxqJsr1llbpe4K0K3r4PLRVlCTKFJFdS4MVgmKLCiw=="
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript Web SDK - Basic, 2.8.6
|
|
2
|
+
* Application Insights JavaScript Web SDK - Basic, 2.8.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -389,10 +389,10 @@
|
|
|
389
389
|
var _DYN_USER_AGENT = "userAgent";
|
|
390
390
|
var _DYN_SPLIT$1 = "split";
|
|
391
391
|
var _DYN_SET_ENABLED = "setEnabled";
|
|
392
|
-
var _DYN_REPLACE = "replace";
|
|
393
392
|
var _DYN_SUBSTR = "substr";
|
|
394
393
|
var _DYN_NODE_TYPE = "nodeType";
|
|
395
394
|
var _DYN_APPLY = "apply";
|
|
395
|
+
var _DYN_REPLACE = "replace";
|
|
396
396
|
var _DYN_ENABLE_DEBUG_EXCEPTI4 = "enableDebugExceptions";
|
|
397
397
|
var _DYN_LOG_INTERNAL_MESSAGE = "logInternalMessage";
|
|
398
398
|
var _DYN_TO_LOWER_CASE$1 = "toLowerCase";
|
|
@@ -1537,7 +1537,7 @@
|
|
|
1537
1537
|
}
|
|
1538
1538
|
|
|
1539
1539
|
var _objDefineProperty = ObjDefineProperty;
|
|
1540
|
-
var version =
|
|
1540
|
+
var version = '2.8.6';
|
|
1541
1541
|
var instanceName = "." + newId(6);
|
|
1542
1542
|
var _dataUid = 0;
|
|
1543
1543
|
function _createAccessor(target, prop, value) {
|
|
@@ -2026,13 +2026,8 @@
|
|
|
2026
2026
|
var _cookieMgrs = null;
|
|
2027
2027
|
var _canUseCookies;
|
|
2028
2028
|
function newGuid() {
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
}
|
|
2032
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[_DYN_REPLACE ](GuidRegex, function (c) {
|
|
2033
|
-
var r = (randomHexDigit() | 0), v = (c === "x" ? r : r & 0x3 | 0x8);
|
|
2034
|
-
return v.toString(16);
|
|
2035
|
-
});
|
|
2029
|
+
var uuid = generateW3CId();
|
|
2030
|
+
return uuid[_DYN_SUBSTRING$1 ](0, 8) + "-" + uuid[_DYN_SUBSTRING$1 ](8, 12) + "-" + uuid[_DYN_SUBSTRING$1 ](12, 16) + "-" + uuid[_DYN_SUBSTRING$1 ](16, 20) + "-" + uuid[_DYN_SUBSTRING$1 ](20);
|
|
2036
2031
|
}
|
|
2037
2032
|
function perfNow() {
|
|
2038
2033
|
var perf = getPerformance();
|
|
@@ -2095,7 +2090,6 @@
|
|
|
2095
2090
|
mwcRandom32: mwcRandom32,
|
|
2096
2091
|
generateW3CId: generateW3CId
|
|
2097
2092
|
};
|
|
2098
|
-
var GuidRegex = /[xy]/g;
|
|
2099
2093
|
function _legacyCookieMgr(config, logger) {
|
|
2100
2094
|
var cookieMgr = _gblCookieMgr(config, logger);
|
|
2101
2095
|
var legacyCanUseCookies = CoreUtils._canUseCookies;
|
|
@@ -5069,7 +5063,7 @@
|
|
|
5069
5063
|
}
|
|
5070
5064
|
}
|
|
5071
5065
|
var EnvelopeCreator = {
|
|
5072
|
-
Version:
|
|
5066
|
+
Version: '2.8.6'
|
|
5073
5067
|
};
|
|
5074
5068
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
5075
5069
|
EnvelopeCreatorInit(logger, telemetryItem);
|
|
@@ -6463,4 +6457,4 @@
|
|
|
6463
6457
|
(function(obj, prop, descriptor) { /* ai_es3_polyfil defineProperty */ var func = Object["defineProperty"]; if (func) { try { return func(obj, prop, descriptor); } catch(e) { /* IE8 defines defineProperty, but will throw */ } } if (descriptor && typeof descriptor.value !== undefined) { obj[prop] = descriptor.value; } return obj; })(exports, '__esModule', { value: true });
|
|
6464
6458
|
|
|
6465
6459
|
}));
|
|
6466
|
-
//# sourceMappingURL=aib.2.8.6
|
|
6460
|
+
//# sourceMappingURL=aib.2.8.6.js.map
|