@microsoft/applicationinsights-web-basic 2.8.8 → 2.8.9-nightly.2210-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.
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "aib",
3
+ "version": "2.8.9-nightly.2210-02",
4
+ "ext": {
5
+ "@js": {
6
+ "file": "aib.2.8.9-nightly.2210-02.js",
7
+ "type": "text/javascript; charset=utf-8",
8
+ "integrity": "sha256-jBrAPu+4YHAAW02X10sioNYB5kk0E2tBW0HPs+bCHSM= sha384-0dlhmprQvyezdpUj4qdllYzOmQ6cXjtCRaKtue3NXiwD+b/Kk06lSt5I164Rufwe sha512-ahF8Vbg2DTXK/RWonzWGzNm090OMD3ln2byTfLwkTAMas6WAQLe8uI2TMBulStXVc3Oi3UM57AoxSu/lFZsjug==",
9
+ "hashes": {
10
+ "sha256": "jBrAPu+4YHAAW02X10sioNYB5kk0E2tBW0HPs+bCHSM=",
11
+ "sha384": "0dlhmprQvyezdpUj4qdllYzOmQ6cXjtCRaKtue3NXiwD+b/Kk06lSt5I164Rufwe",
12
+ "sha512": "ahF8Vbg2DTXK/RWonzWGzNm090OMD3ln2byTfLwkTAMas6WAQLe8uI2TMBulStXVc3Oi3UM57AoxSu/lFZsjug=="
13
+ }
14
+ },
15
+ "@min.js": {
16
+ "file": "aib.2.8.9-nightly.2210-02.min.js",
17
+ "type": "text/javascript; charset=utf-8",
18
+ "integrity": "sha256-fqyq9+ZK4YrOBBB7QdONQGEBivNNdh11Z7mjck13Qz4= sha384-AWf+CNW/xGQvSki7DcWg1KUQIyIvAMQP9HOD4792416da4wWPFeDjCeYx2MJoT/f sha512-q0hbCgTkFqh4LaYfno80+wNIEh29WyHjPsgCrbcMKGPKJUAgCmBKLrg71bf9ek+G7u0SlThL2SMes3THmoB1Nw==",
19
+ "hashes": {
20
+ "sha256": "fqyq9+ZK4YrOBBB7QdONQGEBivNNdh11Z7mjck13Qz4=",
21
+ "sha384": "AWf+CNW/xGQvSki7DcWg1KUQIyIvAMQP9HOD4792416da4wWPFeDjCeYx2MJoT/f",
22
+ "sha512": "q0hbCgTkFqh4LaYfno80+wNIEh29WyHjPsgCrbcMKGPKJUAgCmBKLrg71bf9ek+G7u0SlThL2SMes3THmoB1Nw=="
23
+ }
24
+ }
25
+ }
26
+ }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript Web SDK - Basic, 2.8.8
2
+ * Application Insights JavaScript Web SDK - Basic, 2.8.9-nightly.2210-02
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -678,7 +678,7 @@
678
678
  }
679
679
  function strTrim(str) {
680
680
  if (str) {
681
- str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str[_DYN_REPLACE ] ? str[_DYN_REPLACE ](/^\s+|\s+$/g, STR_EMPTY) : str);
681
+ str = (_strTrim && str[cStrTrim]) ? str[cStrTrim]() : (str[_DYN_REPLACE ] ? str[_DYN_REPLACE ](/^\s+|(?=\s)\s+$/g, STR_EMPTY) : str);
682
682
  }
683
683
  return str;
684
684
  }
@@ -1537,7 +1537,7 @@
1537
1537
  }
1538
1538
 
1539
1539
  var _objDefineProperty = ObjDefineProperty;
1540
- var version = '2.8.8';
1540
+ var version = "2.8.9-nightly.2210-02";
1541
1541
  var instanceName = "." + newId(6);
1542
1542
  var _dataUid = 0;
1543
1543
  function _createAccessor(target, prop, value) {
@@ -1865,7 +1865,7 @@
1865
1865
  var eventNamespace = /^([^.]*)(?:\.(.+)|)/;
1866
1866
  function _normalizeNamespace(name) {
1867
1867
  if (name && name[_DYN_REPLACE ]) {
1868
- return name.replace(/^\s*\.*|\.*\s*$/g, STR_EMPTY);
1868
+ return name[_DYN_REPLACE ](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g, STR_EMPTY);
1869
1869
  }
1870
1870
  return name;
1871
1871
  }
@@ -4060,7 +4060,7 @@
4060
4060
  function urlParseHost(url, inclPort) {
4061
4061
  var fullHost = urlParseFullHost(url, inclPort) || "";
4062
4062
  if (fullHost) {
4063
- var match = fullHost.match(/(www[0-9]?\.)?(.[^/:]+)(\:[\d]+)?/i);
4063
+ var match = fullHost.match(/(www\d{0,5}\.)?([^\/:]{1,256})(:\d{1,20})?/i);
4064
4064
  if (match != null && match[_DYN_LENGTH$1 ] > 3 && isString(match[2]) && match[2][_DYN_LENGTH$1 ] > 0) {
4065
4065
  return match[2] + (match[3] || "");
4066
4066
  }
@@ -4070,7 +4070,7 @@
4070
4070
  function urlParseFullHost(url, inclPort) {
4071
4071
  var result = null;
4072
4072
  if (url) {
4073
- var match = url.match(/(\w*):\/\/(.[^/:]+)(\:[\d]+)?/i);
4073
+ var match = url.match(/(\w{1,150}):\/\/([^\/:]{1,256})(:\d{1,20})?/i);
4074
4074
  if (match != null && match[_DYN_LENGTH$1 ] > 2 && isString(match[2]) && match[2][_DYN_LENGTH$1 ] > 0) {
4075
4075
  result = match[2] || "";
4076
4076
  if (inclPort && match[_DYN_LENGTH$1 ] > 2) {
@@ -5080,7 +5080,7 @@
5080
5080
  }
5081
5081
  }
5082
5082
  var EnvelopeCreator = {
5083
- Version: '2.8.8'
5083
+ Version: "2.8.9-nightly.2210-02"
5084
5084
  };
5085
5085
  function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
5086
5086
  EnvelopeCreatorInit(logger, telemetryItem);
@@ -6484,4 +6484,4 @@
6484
6484
  (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 });
6485
6485
 
6486
6486
  }));
6487
- //# sourceMappingURL=aib.2.8.8.js.map
6487
+ //# sourceMappingURL=aib.2.8.9-nightly.2210-02.js.map