diff options
author | Logan Ramos <lramos15@gmail.com> | 2022-06-13 17:53:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 17:53:07 +0300 |
commit | d79132281222cdab77abeacca1af700e34c2f30b (patch) | |
tree | 69a542e824dfc9f987c575aa4be807b170f93e0c | |
parent | eb6ea219cb0dd540abe379d27a79cb389e67c7e7 (diff) |
Bring back 1DS SDK (#151810)
* Revert "Revert "Initial adoption of 1DS Sdk (#151531)""
This reverts commit 09bab84672c459163df48c9218aad497c47c4835.
* Testing CI
* More tests
* Add back core config to see if test fails
* Add an if true test
* Make sure we're not instantiating 1ds for tests
* Try async import of post plugin
* Bring back other imports
-rw-r--r-- | .eslintrc.json | 2 | ||||
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | remote/package.json | 4 | ||||
-rw-r--r-- | remote/web/package.json | 4 | ||||
-rw-r--r-- | remote/web/yarn.lock | 162 | ||||
-rw-r--r-- | remote/yarn.lock | 180 | ||||
-rw-r--r-- | src/vs/base/common/product.ts | 1 | ||||
-rw-r--r-- | src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts | 12 | ||||
-rw-r--r-- | src/vs/platform/telemetry/node/1dsAppender.ts | 159 | ||||
-rw-r--r-- | yarn.lock | 186 |
10 files changed, 475 insertions, 239 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 72298423db8..9e9b1ddabfb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -227,6 +227,8 @@ "@vscode/ripgrep", "@vscode/iconv-lite-umd", "applicationinsights", + "@microsoft/1ds-core-js", + "@microsoft/1ds-post-js", "assert", "child_process", "console", diff --git a/package.json b/package.json index b4ef0d039cd..5a45da4461f 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,9 @@ "extensions-ci": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js extensions-ci" }, "dependencies": { - "@microsoft/applicationinsights-web": "^2.6.4", + "@microsoft/1ds-core-js": "^3.2.2", + "@microsoft/1ds-post-js": "^3.2.2", + "@microsoft/applicationinsights-web": "^2.8.4", "@parcel/watcher": "2.0.5", "@vscode/iconv-lite-umd": "0.7.0", "@vscode/ripgrep": "^1.14.2", diff --git a/remote/package.json b/remote/package.json index 49e3d17b354..7d504fc5871 100644 --- a/remote/package.json +++ b/remote/package.json @@ -3,7 +3,9 @@ "version": "0.0.0", "private": true, "dependencies": { - "@microsoft/applicationinsights-web": "^2.6.4", + "@microsoft/1ds-core-js": "^3.2.2", + "@microsoft/1ds-post-js": "^3.2.2", + "@microsoft/applicationinsights-web": "^2.8.4", "@parcel/watcher": "2.0.5", "@vscode/iconv-lite-umd": "0.7.0", "@vscode/ripgrep": "^1.14.2", diff --git a/remote/web/package.json b/remote/web/package.json index 387c0fb40e8..07c0ff4786c 100644 --- a/remote/web/package.json +++ b/remote/web/package.json @@ -3,7 +3,9 @@ "version": "0.0.0", "private": true, "dependencies": { - "@microsoft/applicationinsights-web": "^2.6.4", + "@microsoft/1ds-core-js": "^3.2.2", + "@microsoft/1ds-post-js": "^3.2.2", + "@microsoft/applicationinsights-web": "^2.8.4", "@vscode/iconv-lite-umd": "0.7.0", "@vscode/vscode-languagedetection": "1.0.21", "jschardet": "3.0.0", diff --git a/remote/web/yarn.lock b/remote/web/yarn.lock index 27f754d7394..5c008a2dbf0 100644 --- a/remote/web/yarn.lock +++ b/remote/web/yarn.lock @@ -2,86 +2,104 @@ # yarn lockfile v1 -"@microsoft/applicationinsights-analytics-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.6.4.tgz#22ad17276ed922f2f0e66b7efe304f31c50ede64" - integrity sha512-BHx3U6H4j3ddtl2wSJNt+kX2jG+qsvH4mNnimFJjZ4Mq9dheD3o6ghnBH8gQjIb5Up09JdyV5itsTZf1aC84Dg== +"@microsoft/1ds-core-js@3.2.3", "@microsoft/1ds-core-js@^3.2.2": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-core-js/-/1ds-core-js-3.2.3.tgz#2217d92ec8b073caa4577a13f40ea3a5c4c4d4e7" + integrity sha512-796A8fd90oUKDRO7UXUT9BwZ3G+a9XzJj5v012FcCN/2qRhEsIV3x/0wkx2S08T4FiQEUPkB2uoYHpEjEneM7g== dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-channel-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.6.4.tgz#49c139e8d801835bfba25547cb57d030286dec8a" - integrity sha512-ps9ZglUw8nzou9/CxmfRgHO7aGjhopu9YqsadbQL6yz/q8LSj1w30+ADa3gSMYCEEy8FQrDo5e5UebDEnX/w+A== + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/1ds-post-js@^3.2.2": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-post-js/-/1ds-post-js-3.2.3.tgz#1fa7d51615a44f289632ae8c588007ba943db216" + integrity sha512-tcGJQXXr2LYoBbIXPoUVe1KCF3OtBsuKDFL7BXfmNtuSGtWF0yejm6H83DrR8/cUIGMRMUP9lqNlqFGwDYiwAQ== dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-common@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.6.4.tgz#c3a4129c727127271c93c7e23b86cf18fcb9e3a0" - integrity sha512-/YLrKpxXL8zusjzu8GTYPuRrKw0OzUD4rLh8mxSlUZWK+SLOE/1loizJIesmd6OLgcgmOTrd1iZFVsuxn20b/g== + "@microsoft/1ds-core-js" "3.2.3" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-analytics-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.8.4.tgz#3b32d8a2122be5d5993c74ef3217ebbf4876ea69" + integrity sha512-n/FPs8SS6rB8h+u157fiRh0TwUWKctxGNvr4M+LKeSdgDvf9c759gUeMR7r8xF6kBBfgkbmyaVORjsA1WJsU4g== dependencies: - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-core-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.6.4.tgz#163caa31c02e72cfe02fc4abebd6bffd6b587de3" - integrity sha512-rYxfJzl4aLXFGOLsRoJqyKj5qfhQTz1u/eXSo6N6gIIr/D+RCVNJZKVzeBh3xOOytm4UBGRshK0QFZJlIQL3Kw== + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-channel-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.8.4.tgz#6de7210d87e61c72d3a9a06cbaeae14e1b543484" + integrity sha512-aml49Jya8LxX4tvyBbIvcxSo7UGI0k3HeiJQRFLeO+QlA+Ocsl10PqphU/OYJ4hh/P5/2QhEAq5bBM/b9/PNrg== dependencies: - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-common@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.8.4.tgz#45b422cf1804df06d5abb2ceda5ed65268a92135" + integrity sha512-uDvd4zxNGNYFE0TF4h7tAg+eMIPatyd1QdkP8fA4UYwshF4/+UwS1wegjXLEWQRRH87+UAyvx4IKQjobzzEX0A== + dependencies: + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-core-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.8.4.tgz#607e531bb241a8920d43960f68a7c76a6f9af596" + integrity sha512-FoA0FNOsFbJnLyTyQlYs6+HR7HMEa6nAOE6WOm9WVejBHMHQ/Bdb+hfVFi6slxwCimr/ner90jchi4/sIYdnyQ== + dependencies: + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" -"@microsoft/applicationinsights-dependencies-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.6.4.tgz#6d120965cdc3ef5798feac6bc729bc97d40a4bb5" - integrity sha512-mJ/yTe00HPlUpQCmQWGhY3ronlkhsPgIYBWjxstN4NHRO4Qt17/ITxFoRa+r50J8Sf4ouc4qBoEFSVc56x80bg== +"@microsoft/applicationinsights-dependencies-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.8.4.tgz#b9afbb81fb44aeb3033ecff1d2e4d33d71c1d41c" + integrity sha512-dr11EBFBR+vmtTipubZv9KSWRXLk6XdutkEgilgzXdSFun0dqR+ZSHEmMWyqE8ZsJtW+1HzdKuGtODSQY6uHyw== dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-properties-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.6.4.tgz#d779cd552277e6049b30efe71024a39bad5264e7" - integrity sha512-SdIR3gVX46N0RdC0zV/pXKoCxwT+2+79ek6hVXvXa2o2I+JfgYEAxb1Q8flYNGEdlFd/Ge7BHcJLqFvjat1t4Q== + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-properties-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.8.4.tgz#c52a6ce03b8f99b2110a097b4ef30686dfb433f8" + integrity sha512-UI0afK5e8yUJ1qIdy+7FA/G9TB+st0++trx4bUMa+Hb6gJggdQPq94lBFJL0yzo4QsgQwozVwkInXy4534tTYQ== dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-shims@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.0.tgz#ee622588f14e58ae3c055b12431da8ed55d71991" - integrity sha512-OaKew7f7acuNFgKYjMSPrRTRQi93xUyONWeeCeBlJSx7oRNJaL0TqbTvW6j5GHnSr3mhinPtAQ+rCQWASBnOrg== - -"@microsoft/applicationinsights-web@^2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.6.4.tgz#509069c798a4da2c2b2b494bb15eb328425d4e86" - integrity sha512-/lBngt78Q7YNs8Llu1xz22f9oT5Rr2lo1QmSSSSKal30HL6kkzkP14J2E6+0+O5dRmyTDgOSiEePt6AhF8NFzg== + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-shims@2.0.1", "@microsoft/applicationinsights-shims@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.1.tgz#5d72fb7aaf4056c4fda54f9d7c93ccf8ca9bcbfd" + integrity sha512-G0MXf6R6HndRbDy9BbEj0zrLeuhwt2nsXk2zKtF0TnYo39KgYqhYC2ayIzKPTm2KAE+xzD7rgyLdZnrcRvt9WQ== + +"@microsoft/applicationinsights-web@^2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.8.4.tgz#6b385d385790b9574dad0754b860e656cde470b7" + integrity sha512-3CtZiM6e5Q0AA+1NE4k8A0+Y0FE1jsK4u0sb4AkvV7b4cwb86I9l7F7fQPU+V/ltkni0g2WtDrMNU93RuxSmNw== dependencies: - "@microsoft/applicationinsights-analytics-js" "2.6.4" - "@microsoft/applicationinsights-channel-js" "2.6.4" - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-dependencies-js" "2.6.4" - "@microsoft/applicationinsights-properties-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/dynamicproto-js@^1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.4.tgz#40e1c0ad20743fcee1604a7df2c57faf0aa1af87" - integrity sha512-Ot53G927ykMF8cQ3/zq4foZtdk+Tt1YpX7aUTHxBU7UHNdkEiBvBfZSq+rnlUmKCJ19VatwPG4mNzvcGpBj4og== + "@microsoft/applicationinsights-analytics-js" "2.8.4" + "@microsoft/applicationinsights-channel-js" "2.8.4" + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-dependencies-js" "2.8.4" + "@microsoft/applicationinsights-properties-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/dynamicproto-js@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.6.tgz#6fe03468862861f5f88ac4c3959a652b3797f1bc" + integrity sha512-D1Oivw1A4bIXhzBIy3/BBPn3p2On+kpO2NiYt9shICDK7L/w+cR6FFBUsBZ05l6iqzTeL+Jm8lAYn0g6G7DmDg== "@vscode/iconv-lite-umd@0.7.0": version "0.7.0" diff --git a/remote/yarn.lock b/remote/yarn.lock index 0f479f0fd51..0094a657cc7 100644 --- a/remote/yarn.lock +++ b/remote/yarn.lock @@ -2,86 +2,104 @@ # yarn lockfile v1 -"@microsoft/applicationinsights-analytics-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.6.4.tgz#22ad17276ed922f2f0e66b7efe304f31c50ede64" - integrity sha512-BHx3U6H4j3ddtl2wSJNt+kX2jG+qsvH4mNnimFJjZ4Mq9dheD3o6ghnBH8gQjIb5Up09JdyV5itsTZf1aC84Dg== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-channel-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.6.4.tgz#49c139e8d801835bfba25547cb57d030286dec8a" - integrity sha512-ps9ZglUw8nzou9/CxmfRgHO7aGjhopu9YqsadbQL6yz/q8LSj1w30+ADa3gSMYCEEy8FQrDo5e5UebDEnX/w+A== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-common@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.6.4.tgz#c3a4129c727127271c93c7e23b86cf18fcb9e3a0" - integrity sha512-/YLrKpxXL8zusjzu8GTYPuRrKw0OzUD4rLh8mxSlUZWK+SLOE/1loizJIesmd6OLgcgmOTrd1iZFVsuxn20b/g== - dependencies: - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-core-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.6.4.tgz#163caa31c02e72cfe02fc4abebd6bffd6b587de3" - integrity sha512-rYxfJzl4aLXFGOLsRoJqyKj5qfhQTz1u/eXSo6N6gIIr/D+RCVNJZKVzeBh3xOOytm4UBGRshK0QFZJlIQL3Kw== - dependencies: - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-dependencies-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.6.4.tgz#6d120965cdc3ef5798feac6bc729bc97d40a4bb5" - integrity sha512-mJ/yTe00HPlUpQCmQWGhY3ronlkhsPgIYBWjxstN4NHRO4Qt17/ITxFoRa+r50J8Sf4ouc4qBoEFSVc56x80bg== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-properties-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.6.4.tgz#d779cd552277e6049b30efe71024a39bad5264e7" - integrity sha512-SdIR3gVX46N0RdC0zV/pXKoCxwT+2+79ek6hVXvXa2o2I+JfgYEAxb1Q8flYNGEdlFd/Ge7BHcJLqFvjat1t4Q== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-shims@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.0.tgz#ee622588f14e58ae3c055b12431da8ed55d71991" - integrity sha512-OaKew7f7acuNFgKYjMSPrRTRQi93xUyONWeeCeBlJSx7oRNJaL0TqbTvW6j5GHnSr3mhinPtAQ+rCQWASBnOrg== - -"@microsoft/applicationinsights-web@^2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.6.4.tgz#509069c798a4da2c2b2b494bb15eb328425d4e86" - integrity sha512-/lBngt78Q7YNs8Llu1xz22f9oT5Rr2lo1QmSSSSKal30HL6kkzkP14J2E6+0+O5dRmyTDgOSiEePt6AhF8NFzg== - dependencies: - "@microsoft/applicationinsights-analytics-js" "2.6.4" - "@microsoft/applicationinsights-channel-js" "2.6.4" - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-dependencies-js" "2.6.4" - "@microsoft/applicationinsights-properties-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/dynamicproto-js@^1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.4.tgz#40e1c0ad20743fcee1604a7df2c57faf0aa1af87" - integrity sha512-Ot53G927ykMF8cQ3/zq4foZtdk+Tt1YpX7aUTHxBU7UHNdkEiBvBfZSq+rnlUmKCJ19VatwPG4mNzvcGpBj4og== +"@microsoft/1ds-core-js@3.2.3", "@microsoft/1ds-core-js@^3.2.2": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-core-js/-/1ds-core-js-3.2.3.tgz#2217d92ec8b073caa4577a13f40ea3a5c4c4d4e7" + integrity sha512-796A8fd90oUKDRO7UXUT9BwZ3G+a9XzJj5v012FcCN/2qRhEsIV3x/0wkx2S08T4FiQEUPkB2uoYHpEjEneM7g== + dependencies: + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/1ds-post-js@^3.2.2": + version "3.2.3" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-post-js/-/1ds-post-js-3.2.3.tgz#1fa7d51615a44f289632ae8c588007ba943db216" + integrity sha512-tcGJQXXr2LYoBbIXPoUVe1KCF3OtBsuKDFL7BXfmNtuSGtWF0yejm6H83DrR8/cUIGMRMUP9lqNlqFGwDYiwAQ== + dependencies: + "@microsoft/1ds-core-js" "3.2.3" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-analytics-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.8.4.tgz#3b32d8a2122be5d5993c74ef3217ebbf4876ea69" + integrity sha512-n/FPs8SS6rB8h+u157fiRh0TwUWKctxGNvr4M+LKeSdgDvf9c759gUeMR7r8xF6kBBfgkbmyaVORjsA1WJsU4g== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-channel-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.8.4.tgz#6de7210d87e61c72d3a9a06cbaeae14e1b543484" + integrity sha512-aml49Jya8LxX4tvyBbIvcxSo7UGI0k3HeiJQRFLeO+QlA+Ocsl10PqphU/OYJ4hh/P5/2QhEAq5bBM/b9/PNrg== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-common@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.8.4.tgz#45b422cf1804df06d5abb2ceda5ed65268a92135" + integrity sha512-uDvd4zxNGNYFE0TF4h7tAg+eMIPatyd1QdkP8fA4UYwshF4/+UwS1wegjXLEWQRRH87+UAyvx4IKQjobzzEX0A== + dependencies: + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-core-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.8.4.tgz#607e531bb241a8920d43960f68a7c76a6f9af596" + integrity sha512-FoA0FNOsFbJnLyTyQlYs6+HR7HMEa6nAOE6WOm9WVejBHMHQ/Bdb+hfVFi6slxwCimr/ner90jchi4/sIYdnyQ== + dependencies: + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-dependencies-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.8.4.tgz#b9afbb81fb44aeb3033ecff1d2e4d33d71c1d41c" + integrity sha512-dr11EBFBR+vmtTipubZv9KSWRXLk6XdutkEgilgzXdSFun0dqR+ZSHEmMWyqE8ZsJtW+1HzdKuGtODSQY6uHyw== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-properties-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.8.4.tgz#c52a6ce03b8f99b2110a097b4ef30686dfb433f8" + integrity sha512-UI0afK5e8yUJ1qIdy+7FA/G9TB+st0++trx4bUMa+Hb6gJggdQPq94lBFJL0yzo4QsgQwozVwkInXy4534tTYQ== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-shims@2.0.1", "@microsoft/applicationinsights-shims@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.1.tgz#5d72fb7aaf4056c4fda54f9d7c93ccf8ca9bcbfd" + integrity sha512-G0MXf6R6HndRbDy9BbEj0zrLeuhwt2nsXk2zKtF0TnYo39KgYqhYC2ayIzKPTm2KAE+xzD7rgyLdZnrcRvt9WQ== + +"@microsoft/applicationinsights-web@^2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.8.4.tgz#6b385d385790b9574dad0754b860e656cde470b7" + integrity sha512-3CtZiM6e5Q0AA+1NE4k8A0+Y0FE1jsK4u0sb4AkvV7b4cwb86I9l7F7fQPU+V/ltkni0g2WtDrMNU93RuxSmNw== + dependencies: + "@microsoft/applicationinsights-analytics-js" "2.8.4" + "@microsoft/applicationinsights-channel-js" "2.8.4" + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-dependencies-js" "2.8.4" + "@microsoft/applicationinsights-properties-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/dynamicproto-js@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.6.tgz#6fe03468862861f5f88ac4c3959a652b3797f1bc" + integrity sha512-D1Oivw1A4bIXhzBIy3/BBPn3p2On+kpO2NiYt9shICDK7L/w+cR6FFBUsBZ05l6iqzTeL+Jm8lAYn0g6G7DmDg== "@parcel/watcher@2.0.5": version "2.0.5" @@ -315,7 +333,7 @@ diagnostic-channel-publishers@^0.3.3: diagnostic-channel@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/diagnostic-channel/-/diagnostic-channel-0.2.0.tgz#cc99af9612c23fb1fff13612c72f2cbfaa8d5a17" - integrity sha1-zJmvlhLCP7H/8TYSxy8sv6qNWhc= + integrity sha512-awkcaaNNi0RfUGJf7r2+K4oJs1OyiIG2m/Jwvyi0OeQxdw+UU/iwbiejTPa3tUeyXtBcp2fef0JOJNdD62r/zg== dependencies: semver "^5.3.0" diff --git a/src/vs/base/common/product.ts b/src/vs/base/common/product.ts index 8cc869d21df..568ef068648 100644 --- a/src/vs/base/common/product.ts +++ b/src/vs/base/common/product.ts @@ -100,6 +100,7 @@ export interface IProductConfiguration { readonly openToWelcomeMainPage?: boolean; readonly aiConfig?: { readonly asimovKey: string; + readonly ariaKey: string; }; readonly sendASmile?: { diff --git a/src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts b/src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts index 3d5d20b8c71..10afe24a571 100644 --- a/src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts +++ b/src/vs/code/electron-browser/sharedProcess/sharedProcessMain.ts @@ -102,6 +102,8 @@ import { IExtensionsScannerService } from 'vs/platform/extensionManagement/commo import { ExtensionsScannerService } from 'vs/platform/extensionManagement/node/extensionsScannerService'; import { PolicyChannelClient } from 'vs/platform/policy/common/policyIpc'; import { IPolicyService, NullPolicyService } from 'vs/platform/policy/common/policy'; +import { OneDataSystemAppender } from 'vs/platform/telemetry/node/1dsAppender'; +// import { OneDataSystemAppender } from 'vs/platform/telemetry/node/1dsAppender'; class SharedProcessMain extends Disposable { @@ -273,9 +275,13 @@ class SharedProcessMain extends Disposable { const logAppender = new TelemetryLogAppender(loggerService, environmentService); appenders.push(logAppender); const { installSourcePath } = environmentService; - - // Application Insights - if (productService.aiConfig && productService.aiConfig.asimovKey) { + const internalTesting = configurationService.getValue<boolean>('telemetry.internalTesting'); + if (internalTesting && productService.aiConfig?.ariaKey) { + const collectorAppender = new OneDataSystemAppender('monacoworkbench', null, productService.aiConfig.ariaKey); + this._register(toDisposable(() => collectorAppender.flush())); // Ensure the 1DS appender is disposed so that it flushes remaining data + appenders.push(collectorAppender); + } else if (productService.aiConfig && productService.aiConfig.asimovKey) { + // Application Insights const appInsightsAppender = new AppInsightsAppender('monacoworkbench', null, productService.aiConfig.asimovKey); this._register(toDisposable(() => appInsightsAppender.flush())); // Ensure the AI appender is disposed so that it flushes remaining data appenders.push(appInsightsAppender); diff --git a/src/vs/platform/telemetry/node/1dsAppender.ts b/src/vs/platform/telemetry/node/1dsAppender.ts new file mode 100644 index 00000000000..aab96b0c1b2 --- /dev/null +++ b/src/vs/platform/telemetry/node/1dsAppender.ts @@ -0,0 +1,159 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import type { AppInsightsCore, IExtendedConfiguration } from '@microsoft/1ds-core-js'; +import type { IChannelConfiguration, IPayloadData, IXHROverride, PostChannel } from '@microsoft/1ds-post-js'; +import * as https from 'https'; +import { onUnexpectedError } from 'vs/base/common/errors'; +import { mixin } from 'vs/base/common/objects'; +import { ITelemetryAppender, validateTelemetryData } from 'vs/platform/telemetry/common/telemetryUtils'; + +async function getClient(instrumentationKey: string): Promise<AppInsightsCore> { + const oneDs = await import('@microsoft/1ds-core-js'); + const postPlugin = await import('@microsoft/1ds-post-js'); + const appInsightsCore = new oneDs.AppInsightsCore(); + const collectorChannelPlugin: PostChannel = new postPlugin.PostChannel(); + // Configure the app insights core to send to collector++ and disable logging of debug info + const coreConfig: IExtendedConfiguration = { + instrumentationKey, + endpointUrl: 'https://mobile.events.data.microsoft.com/OneCollector/1.0', + loggingLevelTelemetry: 0, + loggingLevelConsole: 0, + channels: [[ + collectorChannelPlugin + ]] + }; + + // Setup the collector posting channel to utilize nodes HTTP request rather than webs + if (coreConfig.extensionConfig) { + const customHttpXHROverride: IXHROverride = { + sendPOST: (payload: IPayloadData, oncomplete) => { + const options = { + method: 'POST', + headers: { + ...payload.headers, + 'Content-Type': 'application/json', + 'Content-Length': Buffer.byteLength(payload.data) + } + }; + try { + const req = https.request(payload.urlString, options, res => { + res.on('data', function (responseData) { + oncomplete(res.statusCode ?? 200, res.headers as Record<string, any>, responseData.toString()); + }); + // On response with error send status of 0 and a blank response to oncomplete so we can retry events + res.on('error', function (err) { + oncomplete(0, {}); + }); + }); + req.write(payload.data); + req.end(); + } catch { + // If it errors out, send status of 0 and a blank response to oncomplete so we can retry events + oncomplete(0, {}); + } + } + }; + // Configure the channel to use a XHR Request override since it's not available in node + const channelConfig: IChannelConfiguration = { + alwaysUseXhrOverride: true, + httpXHROverride: customHttpXHROverride + }; + coreConfig.extensionConfig[collectorChannelPlugin.identifier] = channelConfig; + } + + appInsightsCore.initialize(coreConfig, []); + + appInsightsCore.addTelemetryInitializer((envelope) => { + if (envelope.tags) { + // Sets it to be internal only based on Windows UTC flagging + envelope.tags['utc.flags'] = 0x0000811ECD; + } + }); + + return appInsightsCore; +} + + +export class OneDataSystemAppender implements ITelemetryAppender { + + private _aiCore: AppInsightsCore | undefined; + private _iKey: string | undefined; + private _asyncAiCore: Promise<AppInsightsCore> | null; + + constructor( + private _eventPrefix: string, + private _defaultData: { [key: string]: any } | null, + iKeyOrClientFactory: string | (() => AppInsightsCore), // allow factory function for testing + ) { + if (!this._defaultData) { + this._defaultData = Object.create(null); + } + + if (typeof iKeyOrClientFactory === 'function') { + this._aiCore = iKeyOrClientFactory(); + } else { + this._iKey = iKeyOrClientFactory; + } + this._asyncAiCore = null; + } + + private _withAIClient(callback: (aiCore: AppInsightsCore) => void): void { + if (!this._aiCore) { + return; + } + + if (this._aiCore) { + callback(this._aiCore); + return; + } + + if (this._iKey && !this._asyncAiCore) { + this._asyncAiCore = getClient(this._iKey); + this._iKey = undefined; + } + + this._asyncAiCore?.then( + (aiClient) => { + callback(aiClient); + }, + (err) => { + onUnexpectedError(err); + console.error(err); + } + ); + } + + log(eventName: string, data?: any): void { + if (!this._aiCore) { + return; + } + data = mixin(data, this._defaultData); + data = validateTelemetryData(data); + + // Attempts to suppress https://github.com/microsoft/vscode/issues/140624 + try { + this._withAIClient((aiClient) => aiClient.track({ + name: this._eventPrefix + '/' + eventName, + data: { ...data.properties, ...data.measurements }, + + })); + } catch { } + } + + flush(): Promise<any> { + if (this._aiCore) { + return new Promise(resolve => { + this._withAIClient((aiClient) => { + aiClient.unload(true, () => { + this._aiCore = undefined; + resolve(undefined); + }); + }); + }); + } + return Promise.resolve(undefined); + } +} diff --git a/yarn.lock b/yarn.lock index 1fbd5842ba5..4d06dfbe7fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -823,86 +823,112 @@ methods "^1.1.2" path-to-regexp "^6.1.0" -"@microsoft/applicationinsights-analytics-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.6.4.tgz#22ad17276ed922f2f0e66b7efe304f31c50ede64" - integrity sha512-BHx3U6H4j3ddtl2wSJNt+kX2jG+qsvH4mNnimFJjZ4Mq9dheD3o6ghnBH8gQjIb5Up09JdyV5itsTZf1aC84Dg== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-channel-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.6.4.tgz#49c139e8d801835bfba25547cb57d030286dec8a" - integrity sha512-ps9ZglUw8nzou9/CxmfRgHO7aGjhopu9YqsadbQL6yz/q8LSj1w30+ADa3gSMYCEEy8FQrDo5e5UebDEnX/w+A== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-common@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.6.4.tgz#c3a4129c727127271c93c7e23b86cf18fcb9e3a0" - integrity sha512-/YLrKpxXL8zusjzu8GTYPuRrKw0OzUD4rLh8mxSlUZWK+SLOE/1loizJIesmd6OLgcgmOTrd1iZFVsuxn20b/g== - dependencies: - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-core-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.6.4.tgz#163caa31c02e72cfe02fc4abebd6bffd6b587de3" - integrity sha512-rYxfJzl4aLXFGOLsRoJqyKj5qfhQTz1u/eXSo6N6gIIr/D+RCVNJZKVzeBh3xOOytm4UBGRshK0QFZJlIQL3Kw== - dependencies: - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-dependencies-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.6.4.tgz#6d120965cdc3ef5798feac6bc729bc97d40a4bb5" - integrity sha512-mJ/yTe00HPlUpQCmQWGhY3ronlkhsPgIYBWjxstN4NHRO4Qt17/ITxFoRa+r50J8Sf4ouc4qBoEFSVc56x80bg== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-properties-js@2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.6.4.tgz#d779cd552277e6049b30efe71024a39bad5264e7" - integrity sha512-SdIR3gVX46N0RdC0zV/pXKoCxwT+2+79ek6hVXvXa2o2I+JfgYEAxb1Q8flYNGEdlFd/Ge7BHcJLqFvjat1t4Q== - dependencies: - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/applicationinsights-shims@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.0.tgz#ee622588f14e58ae3c055b12431da8ed55d71991" - integrity sha512-OaKew7f7acuNFgKYjMSPrRTRQi93xUyONWeeCeBlJSx7oRNJaL0TqbTvW6j5GHnSr3mhinPtAQ+rCQWASBnOrg== - -"@microsoft/applicationinsights-web@^2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.6.4.tgz#509069c798a4da2c2b2b494bb15eb328425d4e86" - integrity sha512-/lBngt78Q7YNs8Llu1xz22f9oT5Rr2lo1QmSSSSKal30HL6kkzkP14J2E6+0+O5dRmyTDgOSiEePt6AhF8NFzg== - dependencies: - "@microsoft/applicationinsights-analytics-js" "2.6.4" - "@microsoft/applicationinsights-channel-js" "2.6.4" - "@microsoft/applicationinsights-common" "2.6.4" - "@microsoft/applicationinsights-core-js" "2.6.4" - "@microsoft/applicationinsights-dependencies-js" "2.6.4" - "@microsoft/applicationinsights-properties-js" "2.6.4" - "@microsoft/applicationinsights-shims" "2.0.0" - "@microsoft/dynamicproto-js" "^1.1.4" - -"@microsoft/dynamicproto-js@^1.1.4": - version "1.1.4" - resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.4.tgz#40e1c0ad20743fcee1604a7df2c57faf0aa1af87" - integrity sha512-Ot53G927ykMF8cQ3/zq4foZtdk+Tt1YpX7aUTHxBU7UHNdkEiBvBfZSq+rnlUmKCJ19VatwPG4mNzvcGpBj4og== +"@microsoft/1ds-core-js@3.2.2", "@microsoft/1ds-core-js@^3.2.2": + version "3.2.2" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-core-js/-/1ds-core-js-3.2.2.tgz#86c5afb3c6357f5d96c12086e9fe46fd2ebd82e7" + integrity sha512-YUsH2WAIBjM8d3weiwuvkhTZxBIlQs8ssPz5pSsVEzHXfqPU5Z66ZjWu3Wmmp4sF+8rk6oZel4EBEusf7xMTYw== + dependencies: + "@microsoft/applicationinsights-core-js" "2.8.3" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/1ds-post-js@^3.2.2": + version "3.2.2" + resolved "https://registry.yarnpkg.com/@microsoft/1ds-post-js/-/1ds-post-js-3.2.2.tgz#cbe5f8c1d1281c7177448ca3a48f16d4d4bdeed7" + integrity sha512-PXs+1XfA2lRNgLQq8w3x786hPLTnT6m599ROUCjgtg5wU7xOdfXFLpVw+5Okd9JD81ZhY4xXXuvVvtGu1/j1sg== + dependencies: + "@microsoft/1ds-core-js" "3.2.2" + "@microsoft/applicationinsights-shims" "^2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-analytics-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-analytics-js/-/applicationinsights-analytics-js-2.8.4.tgz#3b32d8a2122be5d5993c74ef3217ebbf4876ea69" + integrity sha512-n/FPs8SS6rB8h+u157fiRh0TwUWKctxGNvr4M+LKeSdgDvf9c759gUeMR7r8xF6kBBfgkbmyaVORjsA1WJsU4g== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-channel-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-channel-js/-/applicationinsights-channel-js-2.8.4.tgz#6de7210d87e61c72d3a9a06cbaeae14e1b543484" + integrity sha512-aml49Jya8LxX4tvyBbIvcxSo7UGI0k3HeiJQRFLeO+QlA+Ocsl10PqphU/OYJ4hh/P5/2QhEAq5bBM/b9/PNrg== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-common@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-common/-/applicationinsights-common-2.8.4.tgz#45b422cf1804df06d5abb2ceda5ed65268a92135" + integrity sha512-uDvd4zxNGNYFE0TF4h7tAg+eMIPatyd1QdkP8fA4UYwshF4/+UwS1wegjXLEWQRRH87+UAyvx4IKQjobzzEX0A== + dependencies: + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-core-js@2.8.3": + version "2.8.3" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.8.3.tgz#d07abd6e8bfec7d101518494ad4bd62516df5c51" + integrity sha512-gVx8G3P4a7XmyCPPCL1nhlXesNktwEQ4XLWQ+DG1F0pEe7akpywCGPrAwswPSiK3mrAKgowqB2nxYYLvXhp0PA== + dependencies: + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-core-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-core-js/-/applicationinsights-core-js-2.8.4.tgz#607e531bb241a8920d43960f68a7c76a6f9af596" + integrity sha512-FoA0FNOsFbJnLyTyQlYs6+HR7HMEa6nAOE6WOm9WVejBHMHQ/Bdb+hfVFi6slxwCimr/ner90jchi4/sIYdnyQ== + dependencies: + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-dependencies-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-dependencies-js/-/applicationinsights-dependencies-js-2.8.4.tgz#b9afbb81fb44aeb3033ecff1d2e4d33d71c1d41c" + integrity sha512-dr11EBFBR+vmtTipubZv9KSWRXLk6XdutkEgilgzXdSFun0dqR+ZSHEmMWyqE8ZsJtW+1HzdKuGtODSQY6uHyw== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-properties-js@2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-properties-js/-/applicationinsights-properties-js-2.8.4.tgz#c52a6ce03b8f99b2110a097b4ef30686dfb433f8" + integrity sha512-UI0afK5e8yUJ1qIdy+7FA/G9TB+st0++trx4bUMa+Hb6gJggdQPq94lBFJL0yzo4QsgQwozVwkInXy4534tTYQ== + dependencies: + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/applicationinsights-shims@2.0.1", "@microsoft/applicationinsights-shims@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-shims/-/applicationinsights-shims-2.0.1.tgz#5d72fb7aaf4056c4fda54f9d7c93ccf8ca9bcbfd" + integrity sha512-G0MXf6R6HndRbDy9BbEj0zrLeuhwt2nsXk2zKtF0TnYo39KgYqhYC2ayIzKPTm2KAE+xzD7rgyLdZnrcRvt9WQ== + +"@microsoft/applicationinsights-web@^2.8.4": + version "2.8.4" + resolved "https://registry.yarnpkg.com/@microsoft/applicationinsights-web/-/applicationinsights-web-2.8.4.tgz#6b385d385790b9574dad0754b860e656cde470b7" + integrity sha512-3CtZiM6e5Q0AA+1NE4k8A0+Y0FE1jsK4u0sb4AkvV7b4cwb86I9l7F7fQPU+V/ltkni0g2WtDrMNU93RuxSmNw== + dependencies: + "@microsoft/applicationinsights-analytics-js" "2.8.4" + "@microsoft/applicationinsights-channel-js" "2.8.4" + "@microsoft/applicationinsights-common" "2.8.4" + "@microsoft/applicationinsights-core-js" "2.8.4" + "@microsoft/applicationinsights-dependencies-js" "2.8.4" + "@microsoft/applicationinsights-properties-js" "2.8.4" + "@microsoft/applicationinsights-shims" "2.0.1" + "@microsoft/dynamicproto-js" "^1.1.6" + +"@microsoft/dynamicproto-js@^1.1.6": + version "1.1.6" + resolved "https://registry.yarnpkg.com/@microsoft/dynamicproto-js/-/dynamicproto-js-1.1.6.tgz#6fe03468862861f5f88ac4c3959a652b3797f1bc" + integrity sha512-D1Oivw1A4bIXhzBIy3/BBPn3p2On+kpO2NiYt9shICDK7L/w+cR6FFBUsBZ05l6iqzTeL+Jm8lAYn0g6G7DmDg== "@nodelib/fs.scandir@2.1.3": version "2.1.3" |