From 1cacc2b4194ca336f2f87a5718309e49d867d566 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Thu, 25 Feb 2021 20:28:26 -0800 Subject: [PATCH] [MixedReality] Update karma to not use karma-map-istanbul (#14005) karma-remap-istanbul is an undesirable dependency we've been trying to remove from the tree. This PR does the same dance we've performed in other libraries to make it unnecessary. I have used https://github.com/Azure/azure-sdk-for-js/pull/13466 as a reference Thanks @xirzec ! --- common/config/rush/pnpm-lock.yaml | 596 +----------------- .../mixedreality-authentication/karma.conf.js | 23 +- .../mixedreality-authentication/package.json | 2 +- 3 files changed, 12 insertions(+), 609 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index d30d5ae871e1..9f7e1f448835 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1411,10 +1411,6 @@ packages: node: ^8.10.0 || ^10.13.0 || >=11.10.1 resolution: integrity: sha512-TME1VgSb7wTwgENN5KVj4Nqg25hP8DisXxNBojM4Nn31rYaNDIocNm5cmjOFfh42n7NVERxWrDFoETO/76ePyg== - /abbrev/1.0.9: - dev: false - resolution: - integrity: sha1-kbR5JYinc4wl813W9jdSovh3YTU= /accepts/1.3.7: dependencies: mime-types: 2.1.29 @@ -1507,12 +1503,6 @@ packages: dev: false resolution: integrity: sha512-ga/aqDYnUy/o7vbsRTFhhTsNeXiYb5JWDIcRIeZfwRNCefwjNTVYCGdGSUrEmiu3yDK3vFvNbgJxvrQW4JXrYQ== - /amdefine/1.0.1: - dev: false - engines: - node: '>=0.4.2' - resolution: - integrity: sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU= /ansi-colors/3.2.3: dev: false engines: @@ -1525,14 +1515,6 @@ packages: node: '>=6' resolution: integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA== - /ansi-gray/0.1.1: - dependencies: - ansi-wrap: 0.1.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-KWLPVOyXksSFEKPetSRDaGHvclE= /ansi-regex/2.1.1: dev: false engines: @@ -1579,12 +1561,6 @@ packages: node: '>=8' resolution: integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - /ansi-wrap/0.1.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-qCJQ3bABXponyoLoLqYDu/pF768= /anymatch/3.1.1: dependencies: normalize-path: 3.0.0 @@ -1635,22 +1611,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= - /array-differ/1.0.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-7/UuN1gknTO+QCuLuOVkuytdQDE= /array-filter/1.0.0: dev: false resolution: integrity: sha1-uveeYubvTCpMC4MSMtr/7CUfnYM= - /array-find-index/1.0.2: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E= /array-flatten/1.1.1: dev: false resolution: @@ -1673,12 +1637,6 @@ packages: node: '>=8' resolution: integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - /array-uniq/1.0.3: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-r2rId6Jcx/dOBYiUdThY39sk/bY= /array.prototype.flat/1.2.4: dependencies: call-bind: 1.0.2 @@ -1744,10 +1702,6 @@ packages: dev: false resolution: integrity: sha512-G+26B2jc0Gw0EG/WN2M6IczuGepBsfR1+DtqLnyFSH4p2C668qkOCtEkGNVEaaNAVlYwEMazy1+/jnLxltBkIQ== - /async/1.5.2: - dev: false - resolution: - integrity: sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo= /async/3.2.0: dev: false resolution: @@ -1868,12 +1822,6 @@ packages: dev: false resolution: integrity: sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - /beeper/1.1.1: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak= /binary-extensions/2.2.0: dev: false engines: @@ -2018,21 +1966,6 @@ packages: node: '>=6' resolution: integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - /camelcase-keys/2.1.0: - dependencies: - camelcase: 2.1.1 - map-obj: 1.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-MIvur/3ygRkFHvodkyITyRuPkuc= - /camelcase/2.1.1: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8= /camelcase/5.3.1: dev: false engines: @@ -2204,16 +2137,6 @@ packages: dev: false resolution: integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - /clone-stats/0.0.1: - dev: false - resolution: - integrity: sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE= - /clone/1.0.4: - dev: false - engines: - node: '>=0.8' - resolution: - integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4= /co/4.6.0: dev: false engines: @@ -2250,11 +2173,6 @@ packages: dev: false resolution: integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - /color-support/1.1.3: - dev: false - hasBin: true - resolution: - integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== /colorette/1.2.2: dev: false resolution: @@ -2446,14 +2364,6 @@ packages: dev: false resolution: integrity: sha512-jlTqDvLdHnYMSr08ynNfk4IAUSJgJjTKy2U5CQBSu4cN9vQOJonLVZP4Qo4gKKrIgIQ5dr07UwOJdi+lRqT12w== - /currently-unhandled/0.4.1: - dependencies: - array-find-index: 1.0.2 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-mI3zP+qxke95mmE2nddsF635V+o= /custom-event/1.0.1: dev: false resolution: @@ -2488,14 +2398,6 @@ packages: node: '>0.4.0' resolution: integrity: sha1-YfsWzcEnSzyayq/+n8ad+HIKK2Q= - /dateformat/1.0.12: - dependencies: - get-stdin: 4.0.1 - meow: 3.7.0 - dev: false - hasBin: true - resolution: - integrity: sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk= /death/1.1.0: dev: false resolution: @@ -2736,12 +2638,6 @@ packages: hasBin: true resolution: integrity: sha512-nh5vM3n2pRhPwZqh0iWo5gpItPAYEGEWw9yd0YpI+lO60B7A3A6iJlxDbt7kKVNbqBXKsptL+jwE/Yg5Go66WQ== - /duplexer2/0.0.2: - dependencies: - readable-stream: 1.1.14 - dev: false - resolution: - integrity: sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds= /ecc-jsbn/0.1.2: dependencies: jsbn: 0.1.1 @@ -2925,20 +2821,6 @@ packages: source-map: 0.6.1 resolution: integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - /escodegen/1.8.1: - dependencies: - esprima: 2.7.3 - estraverse: 1.9.3 - esutils: 2.0.3 - optionator: 0.8.3 - dev: false - engines: - node: '>=0.12.0' - hasBin: true - optionalDependencies: - source-map: 0.2.0 - resolution: - integrity: sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg= /eslint-config-prettier/7.2.0_eslint@7.20.0: dependencies: eslint: 7.20.0 @@ -3124,13 +3006,6 @@ packages: node: ^10.12.0 || >=12.0.0 resolution: integrity: sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== - /esprima/2.7.3: - dev: false - engines: - node: '>=0.10.0' - hasBin: true - resolution: - integrity: sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE= /esprima/3.1.3: dev: false engines: @@ -3161,12 +3036,6 @@ packages: node: '>=4.0' resolution: integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - /estraverse/1.9.3: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q= /estraverse/4.3.0: dev: false engines: @@ -3301,17 +3170,6 @@ packages: '0': node >=0.6.0 resolution: integrity: sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - /fancy-log/1.3.3: - dependencies: - ansi-gray: 0.1.1 - color-support: 1.1.3 - parse-node-version: 1.0.1 - time-stamp: 1.1.0 - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw== /fast-deep-equal/3.1.3: dev: false resolution: @@ -3420,15 +3278,6 @@ packages: node: '>=6' resolution: integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ== - /find-up/1.1.2: - dependencies: - path-exists: 2.1.0 - pinkie-promise: 2.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8= /find-up/2.1.0: dependencies: locate-path: 2.0.0 @@ -3682,12 +3531,6 @@ packages: dev: false resolution: integrity: sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== - /get-stdin/4.0.1: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= /get-stream/5.2.0: dependencies: pump: 3.0.0 @@ -3730,16 +3573,6 @@ packages: dev: false resolution: integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - /glob/5.0.15: - dependencies: - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.0.4 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: false - resolution: - integrity: sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E= /glob/7.1.3: dependencies: fs.realpath: 1.0.0 @@ -3818,14 +3651,6 @@ packages: node: '>=10' resolution: integrity: sha512-2ZThXDvvV8fYFRVIxnrMQBipZQDr7MxKAmQK1vujaj9/7eF0efG7BPUKJ7jP7G5SLF37xKDXvO4S/KKLj/Z0og== - /glogg/1.0.2: - dependencies: - sparkles: 1.0.1 - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA== /graceful-fs/4.2.6: dev: false resolution: @@ -3840,40 +3665,6 @@ packages: dev: false resolution: integrity: sha512-Y8T4vYhEfwJOTbouREvG+3XDsjr8E3kIr7uf+JZ0BYloFsttiHU0WfvANVsR7TxNUJa/WpCnw/Ino/p+DeBhBQ== - /gulp-util/3.0.7: - dependencies: - array-differ: 1.0.0 - array-uniq: 1.0.3 - beeper: 1.1.1 - chalk: 1.1.3 - dateformat: 1.0.12 - fancy-log: 1.3.3 - gulplog: 1.0.0 - has-gulplog: 0.1.0 - lodash._reescape: 3.0.0 - lodash._reevaluate: 3.0.0 - lodash._reinterpolate: 3.0.0 - lodash.template: 3.6.2 - minimist: 1.2.5 - multipipe: 0.1.2 - object-assign: 3.0.0 - replace-ext: 0.0.1 - through2: 2.0.1 - vinyl: 0.5.3 - deprecated: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 - dev: false - engines: - node: '>=0.10' - resolution: - integrity: sha1-eJJcS4+LSQBawBoBHFV+YhiUHLs= - /gulplog/1.0.0: - dependencies: - glogg: 1.0.2 - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha1-4oxNRdBey77YGDY86PnFkmIp/+U= /handlebars/4.7.7: dependencies: minimist: 1.2.5 @@ -3922,12 +3713,6 @@ packages: dev: false resolution: integrity: sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk= - /has-flag/1.0.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= /has-flag/3.0.0: dev: false engines: @@ -3948,14 +3733,6 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-mqqe7b/7G6OZCnsAEPtnjuAIEgc= - /has-gulplog/0.1.0: - dependencies: - sparkles: 1.0.1 - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4= /has-only/1.1.1: dev: false engines: @@ -4170,14 +3947,6 @@ packages: node: '>=0.8.19' resolution: integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o= - /indent-string/2.1.0: - dependencies: - repeating: 2.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-ji1INIdCEhtKghi3oTfppSBJ3IA= /indexof/0.0.1: dev: false resolution: @@ -4289,12 +4058,6 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= - /is-finite/1.1.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w== /is-fullwidth-code-point/1.0.0: dependencies: number-is-nan: 1.0.1 @@ -4415,10 +4178,6 @@ packages: dev: false resolution: integrity: sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= - /is-utf8/0.2.1: - dev: false - resolution: - integrity: sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI= /is-valid-glob/1.0.0: dev: false engines: @@ -4569,30 +4328,6 @@ packages: node: '>=8' resolution: integrity: sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw== - /istanbul/0.4.5: - dependencies: - abbrev: 1.0.9 - async: 1.5.2 - escodegen: 1.8.1 - esprima: 2.7.3 - glob: 5.0.15 - handlebars: 4.7.7 - js-yaml: 3.14.1 - mkdirp: 0.5.5 - nopt: 3.0.6 - once: 1.4.0 - resolve: 1.1.7 - supports-color: 3.2.3 - which: 1.3.1 - wordwrap: 1.0.0 - deprecated: |- - This module is no longer maintained, try this instead: - npm i nyc - Visit https://istanbul.js.org/integrations for other alternatives. - dev: false - hasBin: true - resolution: - integrity: sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs= /its-name/1.0.0: dev: false engines: @@ -4895,16 +4630,6 @@ packages: dev: false resolution: integrity: sha512-Tzd5HBjm8his2OA4bouAsATYEpZrp9vC7z5E5j4C5Of5Rrs1jY67RAwXNcVmd/Bnk1wgvQRou0zGVLey44G4tQ== - /karma-remap-istanbul/0.6.0_karma@5.2.3: - dependencies: - istanbul: 0.4.5 - karma: 5.2.3 - remap-istanbul: 0.9.6 - dev: false - peerDependencies: - karma: '>=0.9' - resolution: - integrity: sha1-l/O3cAZSVPm0ck8tm+SjouG69vw= /karma-rollup-preprocessor/7.0.6_rollup@1.32.1: dependencies: chokidar: 3.5.1 @@ -5026,18 +4751,6 @@ packages: node: '>= 0.8.0' resolution: integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - /load-json-file/1.1.0: - dependencies: - graceful-fs: 4.2.6 - parse-json: 2.2.0 - pify: 2.3.0 - pinkie-promise: 2.0.1 - strip-bom: 2.0.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA= /load-json-file/2.0.0: dependencies: graceful-fs: 4.2.6 @@ -5086,48 +4799,6 @@ packages: node: '>=8' resolution: integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - /lodash._basecopy/3.0.1: - dev: false - resolution: - integrity: sha1-jaDmqHbPNEwK2KVIghEd08XHyjY= - /lodash._basetostring/3.0.1: - dev: false - resolution: - integrity: sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U= - /lodash._basevalues/3.0.0: - dev: false - resolution: - integrity: sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc= - /lodash._getnative/3.9.1: - dev: false - resolution: - integrity: sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= - /lodash._isiterateecall/3.0.9: - dev: false - resolution: - integrity: sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw= - /lodash._reescape/3.0.0: - dev: false - resolution: - integrity: sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo= - /lodash._reevaluate/3.0.0: - dev: false - resolution: - integrity: sha1-WLx0xAZklTrgsSTYBpltrKQx4u0= - /lodash._reinterpolate/3.0.0: - dev: false - resolution: - integrity: sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0= - /lodash._root/3.0.1: - dev: false - resolution: - integrity: sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI= - /lodash.escape/3.2.0: - dependencies: - lodash._root: 3.0.1 - dev: false - resolution: - integrity: sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg= /lodash.flattendeep/4.4.0: dev: false resolution: @@ -5140,14 +4811,6 @@ packages: dev: false resolution: integrity: sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= - /lodash.isarguments/3.1.0: - dev: false - resolution: - integrity: sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo= - /lodash.isarray/3.0.4: - dev: false - resolution: - integrity: sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U= /lodash.isboolean/3.0.3: dev: false resolution: @@ -5172,14 +4835,6 @@ packages: dev: false resolution: integrity: sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= - /lodash.keys/3.1.2: - dependencies: - lodash._getnative: 3.9.1 - lodash.isarguments: 3.1.0 - lodash.isarray: 3.0.4 - dev: false - resolution: - integrity: sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo= /lodash.merge/4.6.2: dev: false resolution: @@ -5188,35 +4843,10 @@ packages: dev: false resolution: integrity: sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= - /lodash.restparam/3.6.1: - dev: false - resolution: - integrity: sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= /lodash.sortby/4.7.0: dev: false resolution: integrity: sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= - /lodash.template/3.6.2: - dependencies: - lodash._basecopy: 3.0.1 - lodash._basetostring: 3.0.1 - lodash._basevalues: 3.0.0 - lodash._isiterateecall: 3.0.9 - lodash._reinterpolate: 3.0.0 - lodash.escape: 3.2.0 - lodash.keys: 3.1.2 - lodash.restparam: 3.6.1 - lodash.templatesettings: 3.1.1 - dev: false - resolution: - integrity: sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8= - /lodash.templatesettings/3.1.1: - dependencies: - lodash._reinterpolate: 3.0.0 - lodash.escape: 3.2.0 - dev: false - resolution: - integrity: sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU= /lodash/4.17.21: dev: false resolution: @@ -5253,15 +4883,6 @@ packages: dev: false resolution: integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== - /loud-rejection/1.6.0: - dependencies: - currently-unhandled: 0.4.1 - signal-exit: 3.0.3 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-W0b4AUft7leIcPCG0Eghz5mOVR8= /lru-cache/4.1.5: dependencies: pseudomap: 1.0.2 @@ -5314,12 +4935,6 @@ packages: dev: false resolution: integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - /map-obj/1.0.1: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= /marked/0.7.0: dev: false engines: @@ -5367,23 +4982,6 @@ packages: node: '>= 0.10.0' resolution: integrity: sha1-htcJCzDORV1j+64S3aUaR93K+bI= - /meow/3.7.0: - dependencies: - camelcase-keys: 2.1.0 - decamelize: 1.2.0 - loud-rejection: 1.6.0 - map-obj: 1.0.1 - minimist: 1.2.5 - normalize-package-data: 2.5.0 - object-assign: 4.1.1 - read-pkg-up: 1.0.1 - redent: 1.0.0 - trim-newlines: 1.0.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-cstmi0JSKCkKu/qFaJJYcwioAfs= /merge-descriptors/1.0.1: dev: false resolution: @@ -5580,12 +5178,6 @@ packages: node: '>=0.8.0' resolution: integrity: sha512-tPwgKoWBRf+d2YG4CgCm2C9MiRUwzdn2aOwlLtaBCj3ekM1afkWMKbAsbKuuWSdoMPhhxrvALIOV0FfX3WKJlg== - /multipipe/0.1.2: - dependencies: - duplexer2: 0.0.2 - dev: false - resolution: - integrity: sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s= /nanoid/3.1.20: dev: false engines: @@ -5685,13 +5277,6 @@ packages: optional: true resolution: integrity: sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= - /nopt/3.0.6: - dependencies: - abbrev: 1.0.9 - dev: false - hasBin: true - resolution: - integrity: sha1-xkZdvwirzU2zWTF/eaxopkayj/k= /normalize-package-data/2.5.0: dependencies: hosted-git-info: 2.8.8 @@ -5794,12 +5379,6 @@ packages: dev: false resolution: integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - /object-assign/3.0.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= /object-assign/4.1.1: dev: false engines: @@ -6039,12 +5618,6 @@ packages: node: '>=4' resolution: integrity: sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= - /parse-node-version/1.0.1: - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA== /parse-passwd/1.0.0: dev: false engines: @@ -6069,14 +5642,6 @@ packages: dev: false resolution: integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== - /path-exists/2.1.0: - dependencies: - pinkie-promise: 2.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-D+tsZPD8UY2adU3V77YscCJ2H0s= /path-exists/3.0.0: dev: false engines: @@ -6125,16 +5690,6 @@ packages: dev: false resolution: integrity: sha512-G6zHoVqC6GGTQkZwF4lkuEyMbVOjoBKAEybQUypI1WTkqinCOrq2x6U2+phkJ1XsEMTy4LjtwPI7HW+NVrRR2w== - /path-type/1.1.0: - dependencies: - graceful-fs: 4.2.6 - pify: 2.3.0 - pinkie-promise: 2.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE= /path-type/2.0.0: dependencies: pify: 2.3.0 @@ -6200,20 +5755,6 @@ packages: node: '>=6' resolution: integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - /pinkie-promise/2.0.1: - dependencies: - pinkie: 2.0.4 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-ITXW36ejWMBprJsXh3YogihFD/o= - /pinkie/2.0.4: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-clVrgM+g1IqXToDnckjoDtT3+HA= /pkg-dir/2.0.0: dependencies: find-up: 2.1.0 @@ -6489,15 +6030,6 @@ packages: optional: true resolution: integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - /read-pkg-up/1.0.1: - dependencies: - find-up: 1.1.2 - read-pkg: 1.1.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI= /read-pkg-up/2.0.0: dependencies: find-up: 2.1.0 @@ -6516,16 +6048,6 @@ packages: node: '>=6' resolution: integrity: sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA== - /read-pkg/1.1.0: - dependencies: - load-json-file: 1.1.0 - normalize-package-data: 2.5.0 - path-type: 1.1.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-9f+qXs0pyzHAR0vKfXVra7KePyg= /read-pkg/2.0.0: dependencies: load-json-file: 2.0.0 @@ -6612,15 +6134,6 @@ packages: node: '>= 0.10' resolution: integrity: sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - /redent/1.0.0: - dependencies: - indent-string: 2.1.0 - strip-indent: 1.0.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94= /regenerator-runtime/0.11.1: dev: false resolution: @@ -6643,36 +6156,10 @@ packages: node: '>=4' resolution: integrity: sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA= - /remap-istanbul/0.9.6: - dependencies: - amdefine: 1.0.1 - gulp-util: 3.0.7 - istanbul: 0.4.5 - minimatch: 3.0.4 - source-map: 0.6.1 - through2: 2.0.1 - dev: false - hasBin: true - resolution: - integrity: sha512-l0WDBsVjaTzP8m3glERJO6bjlAFUahcgfcgvcX+owZw7dKeDLT3CVRpS7UO4L9LfGcMiNsqk223HopwVxlh8Hg== /remove-trailing-separator/1.1.0: dev: false resolution: integrity: sha1-wkvOKig62tW8P1jg1IJJuSN52O8= - /repeating/2.0.1: - dependencies: - is-finite: 1.1.0 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo= - /replace-ext/0.0.1: - dev: false - engines: - node: '>= 0.4' - resolution: - integrity: sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ= /request/2.88.2: dependencies: aws-sign2: 0.7.0 @@ -6748,10 +6235,6 @@ packages: dev: false resolution: integrity: sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= - /resolve/1.1.7: - dev: false - resolution: - integrity: sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= /resolve/1.17.0: dependencies: path-parse: 1.0.6 @@ -7249,15 +6732,6 @@ packages: dev: false resolution: integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== - /source-map/0.2.0: - dependencies: - amdefine: 1.0.1 - dev: false - engines: - node: '>=0.8.0' - optional: true - resolution: - integrity: sha1-2rc/vPwrqBm03gO9b26qSBZLP50= /source-map/0.5.7: dev: false engines: @@ -7280,12 +6754,6 @@ packages: dev: false resolution: integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - /sparkles/1.0.1: - dev: false - engines: - node: '>= 0.10' - resolution: - integrity: sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw== /spawn-wrap/1.4.3: dependencies: foreground-child: 1.5.6 @@ -7494,14 +6962,6 @@ packages: node: '>=8' resolution: integrity: sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== - /strip-bom/2.0.0: - dependencies: - is-utf8: 0.2.1 - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4= /strip-bom/3.0.0: dev: false engines: @@ -7514,15 +6974,6 @@ packages: node: '>=6' resolution: integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - /strip-indent/1.0.1: - dependencies: - get-stdin: 4.0.1 - dev: false - engines: - node: '>=0.10.0' - hasBin: true - resolution: - integrity: sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI= /strip-json-comments/2.0.1: dev: false engines: @@ -7541,14 +6992,6 @@ packages: node: '>=0.8.0' resolution: integrity: sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= - /supports-color/3.2.3: - dependencies: - has-flag: 1.0.0 - dev: false - engines: - node: '>=0.8.0' - resolution: - integrity: sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= /supports-color/5.5.0: dependencies: has-flag: 3.0.0 @@ -7643,23 +7086,10 @@ packages: dev: false resolution: integrity: sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - /through2/2.0.1: - dependencies: - readable-stream: 2.0.6 - xtend: 4.0.2 - dev: false - resolution: - integrity: sha1-OE51MU1J8y3hLuu4E2uOtrXVnak= /thunkify/2.1.2: dev: false resolution: integrity: sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0= - /time-stamp/1.1.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-dkpaEa9QVhkhsTPztE5hhofg9cM= /timsort/0.3.0: dev: false resolution: @@ -7721,12 +7151,6 @@ packages: dev: false resolution: integrity: sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk= - /trim-newlines/1.0.0: - dev: false - engines: - node: '>=0.10.0' - resolution: - integrity: sha1-WIeWa7WCpFA6QetST301ARgVphM= /ts-node/8.10.2_typescript@4.1.2: dependencies: arg: 4.1.3 @@ -8064,16 +7488,6 @@ packages: '0': node >=0.6.0 resolution: integrity: sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - /vinyl/0.5.3: - dependencies: - clone: 1.0.4 - clone-stats: 0.0.1 - replace-ext: 0.0.1 - dev: false - engines: - node: '>= 0.9' - resolution: - integrity: sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4= /void-elements/2.0.1: dev: false engines: @@ -8269,12 +7683,6 @@ packages: dev: false resolution: integrity: sha1-UqY+VsoLhKfzpfPWGHLxJq16WUM= - /xtend/4.0.2: - dev: false - engines: - node: '>=0.4' - resolution: - integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== /y18n/4.0.1: dev: false resolution: @@ -10345,7 +9753,7 @@ packages: karma-junit-reporter: 2.0.1_karma@5.2.3 karma-mocha: 2.0.1 karma-mocha-reporter: 2.2.5_karma@5.2.3 - karma-remap-istanbul: 0.6.0_karma@5.2.3 + karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 nyc: 14.1.1 @@ -10359,7 +9767,7 @@ packages: dev: false name: '@rush-temp/mixedreality-authentication' resolution: - integrity: sha512-O0igSi9jYKSaHIqZDH++fwEMqTm02lwXO0+PL35QgEUWI3QsTR4io09SzePWVi57WXgQ6rJ7m5ZCjXeoC9eZ+A== + integrity: sha512-cbTUJe1U2J/DD0l2kZElz1Jib8PwS2MJk6GZ0+bPjPRGuEwD3J2avXRP98RDAgr2IUMOKV9gijmN4HJ0zeHD7A== tarball: file:projects/mixedreality-authentication.tgz version: 0.0.0 file:projects/mock-hub.tgz: diff --git a/sdk/mixedreality/mixedreality-authentication/karma.conf.js b/sdk/mixedreality/mixedreality-authentication/karma.conf.js index 527f8fefc6dc..ce82490c5e41 100644 --- a/sdk/mixedreality/mixedreality-authentication/karma.conf.js +++ b/sdk/mixedreality/mixedreality-authentication/karma.conf.js @@ -26,7 +26,7 @@ module.exports = function(config) { "karma-ie-launcher", "karma-env-preprocessor", "karma-coverage", - "karma-remap-istanbul", + "karma-sourcemap-loader", "karma-junit-reporter", "karma-json-to-file-reporter", "karma-json-preprocessor" @@ -44,7 +44,7 @@ module.exports = function(config) { // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { - "**/*.js": ["env"], + "**/*.js": ["sourcemap", "env"], "recordings/browsers/**/*.json": ["json"] // IMPORTANT: COMMENT following line if you want to debug in your browsers!! // Preprocess source file to calculate code coverage, however this will make source file unreadable @@ -64,22 +64,17 @@ module.exports = function(config) { // test results reporter to use // possible values: 'dots', 'progress' // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "karma-remap-istanbul", "junit", "json-to-file"], + reporters: ["mocha", "coverage", "junit", "json-to-file"], coverageReporter: { // specify a common output directory dir: "coverage-browser/", - reporters: [{ type: "json", subdir: ".", file: "coverage.json" }] - }, - - remapIstanbulReporter: { - src: "coverage-browser/coverage.json", - reports: { - lcovonly: "coverage-browser/lcov.info", - html: "coverage-browser/html/report", - "text-summary": null, - cobertura: "./coverage-browser/cobertura-coverage.xml" - } + reporters: [ + { type: "json", subdir: ".", file: "coverage.json" }, + { type: "lcovonly", subdir: ".", file: "lcov.info" }, + { type: "html", subdir: "html" }, + { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" } + ] }, junitReporter: { diff --git a/sdk/mixedreality/mixedreality-authentication/package.json b/sdk/mixedreality/mixedreality-authentication/package.json index ee0815b3faf2..0d93a101bd90 100644 --- a/sdk/mixedreality/mixedreality-authentication/package.json +++ b/sdk/mixedreality/mixedreality-authentication/package.json @@ -101,7 +101,7 @@ "karma-json-to-file-reporter": "^1.0.1", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", - "karma-remap-istanbul": "^0.6.0", + "karma-sourcemap-loader": "^0.3.8", "mocha": "^7.1.1", "mocha-junit-reporter": "^1.18.0", "nyc": "^14.0.0",