@microsoft/1ds-post-js 3.2.4 → 3.2.5

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.
Files changed (50) hide show
  1. package/CODE_OF_CONDUCT.md +9 -0
  2. package/CONTRIBUTING.md +14 -0
  3. package/LICENSE.TXT +3 -3
  4. package/NOTICE +17 -0
  5. package/PRIVACY +3 -0
  6. package/README.md +16 -2
  7. package/SECURITY.md +41 -0
  8. package/SUPPORT.md +14 -0
  9. package/bundle/{ms.post-3.2.4.gbl.js → ms.post-3.2.5.gbl.js} +6 -6
  10. package/bundle/ms.post-3.2.5.gbl.js.map +1 -0
  11. package/bundle/ms.post-3.2.5.gbl.min.js +7 -0
  12. package/bundle/{ms.post-3.2.4.gbl.min.js.map → ms.post-3.2.5.gbl.min.js.map} +1 -1
  13. package/bundle/ms.post-3.2.5.integrity.json +46 -0
  14. package/bundle/{ms.post-3.2.4.js → ms.post-3.2.5.js} +6 -6
  15. package/bundle/ms.post-3.2.5.js.map +1 -0
  16. package/bundle/ms.post-3.2.5.min.js +7 -0
  17. package/bundle/{ms.post-3.2.4.min.js.map → ms.post-3.2.5.min.js.map} +1 -1
  18. package/bundle/ms.post.gbl.js +5 -5
  19. package/bundle/ms.post.gbl.js.map +1 -1
  20. package/bundle/ms.post.gbl.min.js +2 -2
  21. package/bundle/ms.post.gbl.min.js.map +1 -1
  22. package/bundle/ms.post.integrity.json +17 -17
  23. package/bundle/ms.post.js +5 -5
  24. package/bundle/ms.post.js.map +1 -1
  25. package/bundle/ms.post.min.js +2 -2
  26. package/bundle/ms.post.min.js.map +1 -1
  27. package/dist/ms.post.js +2 -2
  28. package/dist/ms.post.js.map +1 -1
  29. package/dist/ms.post.min.js +2 -2
  30. package/dist/ms.post.min.js.map +1 -1
  31. package/dist-esm/src/BatchNotificationActions.js +1 -1
  32. package/dist-esm/src/ClockSkewManager.js +1 -1
  33. package/dist-esm/src/DataModels.js +1 -1
  34. package/dist-esm/src/EventBatch.js +1 -1
  35. package/dist-esm/src/HttpManager.js +1 -1
  36. package/dist-esm/src/Index.js +1 -1
  37. package/dist-esm/src/InternalConstants.js +1 -1
  38. package/dist-esm/src/KillSwitch.js +1 -1
  39. package/dist-esm/src/PostChannel.js +2 -2
  40. package/dist-esm/src/PostChannel.js.map +1 -1
  41. package/dist-esm/src/RetryPolicy.js +1 -1
  42. package/dist-esm/src/Serializer.js +1 -1
  43. package/dist-esm/src/TimeoutOverrideWrapper.js +1 -1
  44. package/dist-esm/src/typings/XDomainRequest.js +1 -1
  45. package/package.json +2 -2
  46. package/bundle/ms.post-3.2.4.gbl.js.map +0 -1
  47. package/bundle/ms.post-3.2.4.gbl.min.js +0 -7
  48. package/bundle/ms.post-3.2.4.integrity.json +0 -46
  49. package/bundle/ms.post-3.2.4.js.map +0 -1
  50. package/bundle/ms.post-3.2.4.min.js +0 -7
@@ -0,0 +1,9 @@
1
+ # Microsoft Open Source Code of Conduct
2
+
3
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4
+
5
+ Resources:
6
+
7
+ - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8
+ - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9
+ - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
@@ -0,0 +1,14 @@
1
+ # Contributing
2
+
3
+ This project welcomes contributions and suggestions. Most contributions require you to
4
+ agree to a Contributor License Agreement (CLA) declaring that you have the right to,
5
+ and actually do, grant us the rights to use your contribution. For details, visit
6
+ https://cla.microsoft.com.
7
+
8
+ When you submit a pull request, a CLA-bot will automatically determine whether you need
9
+ to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
10
+ instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
11
+
12
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
13
+ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
14
+ or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
package/LICENSE.TXT CHANGED
@@ -1,6 +1,6 @@
1
- Copyright (c) Microsoft Corporation.
1
+ The MIT License (MIT)
2
2
 
3
- MIT License
3
+ Copyright (c) Microsoft Corporation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
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
@@ -15,7 +15,7 @@ ms.reviewedBy: ramthi
15
15
 
16
16
  ## npm
17
17
 
18
- Packages available [here](https://msasg.visualstudio.com/Shared%20Data/_artifacts/feed/1DS-SDK/Npm/%40microsoft%2F1ds-post-js/3.2.4/versions).
18
+ Packages available [here](https://msasg.visualstudio.com/Shared%20Data/_artifacts/feed/1DS-SDK/Npm/%40microsoft%2F1ds-post-js/overview/3.2.5).
19
19
 
20
20
  ## Basic Usage
21
21
 
@@ -37,7 +37,7 @@ var coreConfig: IExtendedConfiguration = {
37
37
  extensionConfig: []
38
38
  };
39
39
  var postChannelConfig: IChannelConfiguration = {
40
- eventsLimitInMem: 50
40
+ eventsLimitInMem: 5000
41
41
  };
42
42
  coreConfig.extensionConfig[postChannel.identifier] = postChannelConfig;
43
43
  //Initialize SDK
@@ -347,6 +347,20 @@ var coreConfig: IExtendedConfiguration = {
347
347
  };
348
348
  ```
349
349
 
350
+ ## Contributing
351
+
352
+ Read our [contributing guide](./CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Application Insights.
353
+
354
+ ## Data Collection
355
+
356
+ 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.
357
+
358
+ 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.
359
+
360
+ ## Trademarks
361
+
362
+ 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.
363
+
350
364
  ## License
351
365
 
352
366
  [MIT](./LICENSE.TXT)
package/SECURITY.md ADDED
@@ -0,0 +1,41 @@
1
+ <!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->
2
+
3
+ ## Security
4
+
5
+ Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6
+
7
+ If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8
+
9
+ ## Reporting Security Issues
10
+
11
+ **Please do not report security vulnerabilities through public GitHub issues.**
12
+
13
+ Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14
+
15
+ If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16
+
17
+ You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18
+
19
+ Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20
+
21
+ * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22
+ * Full paths of source file(s) related to the manifestation of the issue
23
+ * The location of the affected source code (tag/branch/commit or direct URL)
24
+ * Any special configuration required to reproduce the issue
25
+ * Step-by-step instructions to reproduce the issue
26
+ * Proof-of-concept or exploit code (if possible)
27
+ * Impact of the issue, including how an attacker might exploit the issue
28
+
29
+ This information will help us triage your report more quickly.
30
+
31
+ If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32
+
33
+ ## Preferred Languages
34
+
35
+ We prefer all communications to be in English.
36
+
37
+ ## Policy
38
+
39
+ Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40
+
41
+ <!-- END MICROSOFT SECURITY.MD BLOCK -->
package/SUPPORT.md ADDED
@@ -0,0 +1,14 @@
1
+ # Support
2
+
3
+ ## How to file issues and get help
4
+
5
+ This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6
+ issues before filing new issues to avoid duplicates. For new issues, file your bug or
7
+ feature request as a new Issue.
8
+
9
+ For help and questions about using this project, please create a Support request issue on
10
+ https://github.com/microsoft/ApplicationInsights-JS/issues.
11
+
12
+ ## Microsoft Support Policy
13
+
14
+ Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * 1DS JS SDK POST plugin, 3.2.4
2
+ * 1DS JS SDK POST plugin, 3.2.5
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  * (Microsoft Internal Only)
5
5
  */
@@ -354,9 +354,9 @@
354
354
  var _DYN_INDEX_OF = "indexOf";
355
355
  var _DYN_USER_AGENT = "userAgent";
356
356
  var _DYN_SPLIT = "split";
357
- var _DYN_REPLACE = "replace";
358
357
  var _DYN_NODE_TYPE = "nodeType";
359
358
  var _DYN_APPLY = "apply";
359
+ var _DYN_REPLACE = "replace";
360
360
  var _DYN_ENABLE_DEBUG_EXCEPTI4 = "enableDebugExceptions";
361
361
  var _DYN_LOG_INTERNAL_MESSAGE = "logInternalMessage";
362
362
  var _DYN_TO_LOWER_CASE = "toLowerCase";
@@ -1266,7 +1266,7 @@
1266
1266
  }
1267
1267
 
1268
1268
  var _objDefineProperty = ObjDefineProperty;
1269
- var version = '2.8.5';
1269
+ var version = '2.8.6';
1270
1270
  var instanceName = "." + newId(6);
1271
1271
  var _dataUid = 0;
1272
1272
  function _createAccessor(target, prop, value) {
@@ -2159,7 +2159,7 @@
2159
2159
  var STR_EMPTY = "";
2160
2160
 
2161
2161
  var _a$1;
2162
- var Version = '3.2.4';
2162
+ var Version = '3.2.5';
2163
2163
  var FullVersionString = "1DS-Web-JS-" + Version;
2164
2164
  var strDisabledPropertyName = "Microsoft_ApplicationInsights_BypassAjaxInstrumentation";
2165
2165
  var strWithCredentials = "withCredentials";
@@ -3741,7 +3741,7 @@
3741
3741
  var _this = _super.call(this) || this;
3742
3742
  _this.identifier = "PostChannel";
3743
3743
  _this.priority = 1011;
3744
- _this.version = '3.2.4';
3744
+ _this.version = '3.2.5';
3745
3745
  var _config;
3746
3746
  var _isTeardownCalled = false;
3747
3747
  var _flushCallbackQueue = [];
@@ -4474,4 +4474,4 @@
4474
4474
  (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 });
4475
4475
 
4476
4476
  })(this.oneDS = this.oneDS || {});
4477
- //# sourceMappingURL=ms.post-3.2.4.gbl.js.map
4477
+ //# sourceMappingURL=ms.post-3.2.5.gbl.js.map