diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index e4448e93b0be..a52dc0c9b257 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2777,47 +2777,18 @@ packages: resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} dev: false - /@puppeteer/browsers@0.5.0(typescript@5.3.3): - resolution: {integrity: sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==} - engines: {node: '>=14.1.0'} - hasBin: true - peerDependencies: - typescript: '>= 4.7.4' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - debug: 4.3.4(supports-color@8.1.1) - extract-zip: 2.0.1 - https-proxy-agent: 5.0.1 - progress: 2.0.3 - proxy-from-env: 1.1.0 - tar-fs: 2.1.1 - typescript: 5.3.3 - unbzip2-stream: 1.4.3 - yargs: 17.7.1 - transitivePeerDependencies: - - supports-color - dev: false - - /@puppeteer/browsers@1.4.6(typescript@5.3.3): - resolution: {integrity: sha512-x4BEjr2SjOPowNeiguzjozQbsc6h437ovD/wu+JpaenxVLm3jkgzHY2xOslMTp50HoTvQreMjiexiGQw1sqZlQ==} - engines: {node: '>=16.3.0'} + /@puppeteer/browsers@2.0.0: + resolution: {integrity: sha512-3PS82/5+tnpEaUWonjAFFvlf35QHF15xqyGd34GBa5oP5EPVfFXRsbSxIGYf1M+vZlqBZ3oxT1kRg9OYhtt8ng==} + engines: {node: '>=18'} hasBin: true - peerDependencies: - typescript: '>= 4.7.4' - peerDependenciesMeta: - typescript: - optional: true dependencies: debug: 4.3.4(supports-color@8.1.1) extract-zip: 2.0.1 progress: 2.0.3 - proxy-agent: 6.3.0 + proxy-agent: 6.3.1 tar-fs: 3.0.4 - typescript: 5.3.3 unbzip2-stream: 1.4.3 - yargs: 17.7.1 + yargs: 17.7.2 transitivePeerDependencies: - supports-color dev: false @@ -4402,22 +4373,14 @@ packages: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} dev: false - /chromium-bidi@0.4.16(devtools-protocol@0.0.1147663): - resolution: {integrity: sha512-7ZbXdWERxRxSwo3txsBjjmc/NLxqb1Bk30mRb0BMS4YIaiV6zvKZqL/UAH+DdqcDYayDWk2n/y8klkBDODrPvA==} - peerDependencies: - devtools-protocol: '*' - dependencies: - devtools-protocol: 0.0.1147663 - mitt: 3.0.0 - dev: false - - /chromium-bidi@0.4.7(devtools-protocol@0.0.1107588): - resolution: {integrity: sha512-6+mJuFXwTMU6I3vYLs6IL8A1DyQTPjCfIL971X0aMPVGRbGnNfl6i6Cl0NMbxi2bRYLGESt9T2ZIMRM5PAEcIQ==} + /chromium-bidi@0.5.8(devtools-protocol@0.0.1232444): + resolution: {integrity: sha512-blqh+1cEQbHBKmok3rVJkBlBxt9beKBgOsxbFgs7UJcoVbbeZ+K7+6liAsjgpc8l1Xd55cQUy14fXZdGSb4zIw==} peerDependencies: devtools-protocol: '*' dependencies: - devtools-protocol: 0.0.1107588 - mitt: 3.0.0 + devtools-protocol: 0.0.1232444 + mitt: 3.0.1 + urlpattern-polyfill: 10.0.0 dev: false /cjs-module-lexer@1.2.3: @@ -4627,24 +4590,20 @@ packages: vary: 1.1.2 dev: false - /cosmiconfig@8.1.3: - resolution: {integrity: sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==} - engines: {node: '>=14'} - dependencies: - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - path-type: 4.0.0 - dev: false - - /cosmiconfig@8.2.0: - resolution: {integrity: sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==} + /cosmiconfig@9.0.0(typescript@5.3.3): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true dependencies: + env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - path-type: 4.0.0 + typescript: 5.3.3 dev: false /crc-32@1.2.2: @@ -4673,14 +4632,6 @@ packages: cross-spawn: 7.0.3 dev: false - /cross-fetch@3.1.5: - resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==} - dependencies: - node-fetch: 2.6.7 - transitivePeerDependencies: - - encoding - dev: false - /cross-fetch@4.0.0: resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} dependencies: @@ -4912,12 +4863,8 @@ packages: engines: {node: '>=8'} dev: false - /devtools-protocol@0.0.1107588: - resolution: {integrity: sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg==} - dev: false - - /devtools-protocol@0.0.1147663: - resolution: {integrity: sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ==} + /devtools-protocol@0.0.1232444: + resolution: {integrity: sha512-pM27vqEfxSxRkTMnF+XCmxSEb6duO5R+t8A9DEEJgy4Wz2RVanje2mmj99B6A3zv2r/qGfYlOvYznUhuokizmg==} dev: false /di@0.0.1: @@ -7464,8 +7411,8 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dev: false - /mitt@3.0.0: - resolution: {integrity: sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==} + /mitt@3.0.1: + resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} dev: false /mkdirp-classic@0.5.3: @@ -7661,18 +7608,6 @@ packages: resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} dev: false - /node-fetch@2.6.7: - resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - /node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -8322,8 +8257,8 @@ packages: ipaddr.js: 1.9.1 dev: false - /proxy-agent@6.3.0: - resolution: {integrity: sha512-0LdR757eTj/JfuU7TL2YCuAZnxWXu3tkJbg4Oq3geW/qFNT/32T0sp2HnZ9O0lMR4q3vwAt0+xCA8SR0WAD0og==} + /proxy-agent@6.3.1: + resolution: {integrity: sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -8358,85 +8293,32 @@ packages: engines: {node: '>=6'} dev: false - /puppeteer-core@19.11.1(typescript@5.3.3): - resolution: {integrity: sha512-qcuC2Uf0Fwdj9wNtaTZ2OvYRraXpAK+puwwVW8ofOhOgLPZyz1c68tsorfIZyCUOpyBisjr+xByu7BMbEYMepA==} - engines: {node: '>=14.14.0'} - peerDependencies: - typescript: '>= 4.7.4' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@puppeteer/browsers': 0.5.0(typescript@5.3.3) - chromium-bidi: 0.4.7(devtools-protocol@0.0.1107588) - cross-fetch: 3.1.5 - debug: 4.3.4(supports-color@8.1.1) - devtools-protocol: 0.0.1107588 - extract-zip: 2.0.1 - https-proxy-agent: 5.0.1 - proxy-from-env: 1.1.0 - tar-fs: 2.1.1 - typescript: 5.3.3 - unbzip2-stream: 1.4.3 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: false - - /puppeteer-core@20.9.0(typescript@5.3.3): - resolution: {integrity: sha512-H9fYZQzMTRrkboEfPmf7m3CLDN6JvbxXA3qTtS+dFt27tR+CsFHzPsT6pzp6lYL6bJbAPaR0HaPO6uSi+F94Pg==} - engines: {node: '>=16.3.0'} - peerDependencies: - typescript: '>= 4.7.4' - peerDependenciesMeta: - typescript: - optional: true + /puppeteer-core@22.0.0: + resolution: {integrity: sha512-S3s91rLde0A86PWVeNY82h+P0fdS7CTiNWAicCVH/bIspRP4nS2PnO5j+VTFqCah0ZJizGzpVPAmxVYbLxTc9w==} + engines: {node: '>=18'} dependencies: - '@puppeteer/browsers': 1.4.6(typescript@5.3.3) - chromium-bidi: 0.4.16(devtools-protocol@0.0.1147663) + '@puppeteer/browsers': 2.0.0 + chromium-bidi: 0.5.8(devtools-protocol@0.0.1232444) cross-fetch: 4.0.0 debug: 4.3.4(supports-color@8.1.1) - devtools-protocol: 0.0.1147663 - typescript: 5.3.3 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - utf-8-validate - dev: false - - /puppeteer@19.11.1(typescript@5.3.3): - resolution: {integrity: sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==} - deprecated: < 21.5.0 is no longer supported - requiresBuild: true - dependencies: - '@puppeteer/browsers': 0.5.0(typescript@5.3.3) - cosmiconfig: 8.1.3 - https-proxy-agent: 5.0.1 - progress: 2.0.3 - proxy-from-env: 1.1.0 - puppeteer-core: 19.11.1(typescript@5.3.3) + devtools-protocol: 0.0.1232444 + ws: 8.16.0 transitivePeerDependencies: - bufferutil - encoding - supports-color - - typescript - utf-8-validate dev: false - /puppeteer@20.9.0(typescript@5.3.3): - resolution: {integrity: sha512-kAglT4VZ9fWEGg3oLc4/de+JcONuEJhlh3J6f5R1TLkrY/EHHIHxWXDOzXvaxQCtedmyVXBwg8M+P8YCO/wZjw==} - engines: {node: '>=16.3.0'} - deprecated: < 21.5.0 is no longer supported + /puppeteer@22.0.0(typescript@5.3.3): + resolution: {integrity: sha512-zYVnjwJngnSB4dbkWp7DHFSIc3nqHvZzrdHyo9+ugV1nq1Lm8obOMcmCFaGfR3PJs0EmYNz+/skBeO45yvASCQ==} + engines: {node: '>=18'} + hasBin: true requiresBuild: true dependencies: - '@puppeteer/browsers': 1.4.6(typescript@5.3.3) - cosmiconfig: 8.2.0 - puppeteer-core: 20.9.0(typescript@5.3.3) + '@puppeteer/browsers': 2.0.0 + cosmiconfig: 9.0.0(typescript@5.3.3) + puppeteer-core: 22.0.0 transitivePeerDependencies: - bufferutil - encoding @@ -9767,6 +9649,10 @@ packages: requires-port: 1.0.0 dev: false + /urlpattern-polyfill@10.0.0: + resolution: {integrity: sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==} + dev: false + /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false @@ -10080,19 +9966,6 @@ packages: optional: true dev: false - /ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: false - /ws@8.16.0: resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} engines: {node: '>=10.0.0'} @@ -10227,19 +10100,6 @@ packages: yargs-parser: 20.2.9 dev: false - /yargs@17.7.1: - resolution: {integrity: sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - dev: false - /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} @@ -17917,7 +17777,7 @@ packages: dev: false file:projects/core-amqp.tgz: - resolution: {integrity: sha512-6h6org7cGpL0umcPJGGijBodcBegawhjr+yoK3hUWbGV7NCTmOlRw7L/Yw/GWSjczugBO2ttOY11u4Km7db4vw==, tarball: file:projects/core-amqp.tgz} + resolution: {integrity: sha512-1IgNzi7F/QV8PomDQk3ZrjVxENp7vKl3mA//nqPwUSGWu870cw/NXMyYQggK4y5NmoIJUBWGPbdiBaSMK74QKA==, tarball: file:projects/core-amqp.tgz} name: '@rush-temp/core-amqp' version: 0.0.0 dependencies: @@ -17940,7 +17800,7 @@ packages: karma-mocha: 2.0.1 mocha: 10.2.0 process: 0.11.10 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rhea: 3.0.2 rhea-promise: 3.0.1 rimraf: 3.0.2 @@ -18184,7 +18044,7 @@ packages: dev: false file:projects/core-sse.tgz: - resolution: {integrity: sha512-j4eh8Jj3KRC2GMgP4EyMiKa/JtF0s5yTunmcKAnfXEcKSTha0nMDVE7iqf/+eKDeGEfQ1zc75jkNsiDGKvtpEw==, tarball: file:projects/core-sse.tgz} + resolution: {integrity: sha512-zVbXKb0xK2twMqBqkOjBZcBU6iM3jg5jK69sP5p1VOy/dpv/9cvLz3Ju0ssVKEZ7s4iFYFXH55gWirROg/skHQ==, tarball: file:projects/core-sse.tgz} name: '@rush-temp/core-sse' version: 0.0.0 dependencies: @@ -18209,7 +18069,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) tslib: 2.6.2 @@ -18675,7 +18535,7 @@ packages: dev: false file:projects/event-hubs.tgz: - resolution: {integrity: sha512-hh56B1WSjCx4GAIMAAQCOmTQP6gQXPfwbwCDZh/yw2i7f/FMPbOfmLoHzkJBvg2jcQ2xgsNLHG8Bm7UwN4hx7Q==, tarball: file:projects/event-hubs.tgz} + resolution: {integrity: sha512-QETD/+cDhKaVZFsypAZAWhxk3hNAIHt7XVbvVxIMWI4KRIpS77bSOrbobDNXbCADJDkV2qWvytjZcxQPJ56tKA==, tarball: file:projects/event-hubs.tgz} name: '@rush-temp/event-hubs' version: 0.0.0 dependencies: @@ -18718,7 +18578,7 @@ packages: mocha: 10.2.0 moment: 2.30.1 process: 0.11.10 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rhea-promise: 3.0.1 rimraf: 3.0.2 sinon: 17.0.1 @@ -19010,7 +18870,7 @@ packages: dev: false file:projects/identity-broker.tgz: - resolution: {integrity: sha512-uEYsascXHcC1SPQMaaF6oHQm9+js5z09GbMmUNmwRrwNlITxPW6j0XplOMckvoQ5hKPhA5wo06LuzygHsVAubw==, tarball: file:projects/identity-broker.tgz} + resolution: {integrity: sha512-a/KZOx0Pwrya7fEF9ymMit270zWaZ6nOQ8yHJ1UUSX0QyShYcmUe3GjQWOSVn1N2HiODZbmfhZGKx2IXJAexFw==, tarball: file:projects/identity-broker.tgz} name: '@rush-temp/identity-broker' version: 0.0.0 dependencies: @@ -19026,7 +18886,7 @@ packages: cross-env: 7.0.3 eslint: 8.56.0 mocha: 10.2.0 - puppeteer: 20.9.0(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 5.0.5 sinon: 17.0.1 tslib: 2.6.2 @@ -19040,7 +18900,7 @@ packages: dev: false file:projects/identity-cache-persistence.tgz: - resolution: {integrity: sha512-i6lo1DfQuEgRgKelN4gzO/EztmvE0w2qrdQvCjrN22Ak0p/LM85B8rJrf9vk6vBVHmgoDzECcuzchQBlxoFndg==, tarball: file:projects/identity-cache-persistence.tgz} + resolution: {integrity: sha512-4CunGhfclYNxRHUZCwdl1oUHhZnsz/dgw+RAW0Wm25T6LR8frIQUOJT2Jy9ugYVIW6Wg5yijtDErOfbYq04ZTw==, tarball: file:projects/identity-cache-persistence.tgz} name: '@rush-temp/identity-cache-persistence' version: 0.0.0 dependencies: @@ -19059,7 +18919,7 @@ packages: inherits: 2.0.4 keytar: 7.9.0 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -19076,7 +18936,7 @@ packages: dev: false file:projects/identity-vscode.tgz: - resolution: {integrity: sha512-dDapDVLS5n8oJgqIe1x/qv9Vz/XuvAE1aZjTFOFbSmnKzEXp498VG8M4U8SBhRJgKTUN4jSQrY8WURLZ8psg+Q==, tarball: file:projects/identity-vscode.tgz} + resolution: {integrity: sha512-aSE6k+Awzqh7EMKplBNyKPtnh40IYRtl2Vla0szhLb2de7XQ7z1u3wM6HFbEsXMNNcv3iwf3JJ6qtOA4GpNEXQ==, tarball: file:projects/identity-vscode.tgz} name: '@rush-temp/identity-vscode' version: 0.0.0 dependencies: @@ -19094,7 +18954,7 @@ packages: inherits: 2.0.4 keytar: 7.9.0 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -19111,7 +18971,7 @@ packages: dev: false file:projects/identity.tgz: - resolution: {integrity: sha512-21YXtQmhkzaqcI1I1kbedfdBNk/oLMhW/jA+UUctadUKR/JhgUbKKrCllcO862hDGxMg9crn02dWgglXMNvSkg==, tarball: file:projects/identity.tgz} + resolution: {integrity: sha512-ruu02BC8golDTf85SJTFWELLDl+Zy2BQatuyJyf/UpOUF61YdK8HuKyf6V23ICPn/0M8l9Cud8LzzOT8bdPI7g==, tarball: file:projects/identity.tgz} name: '@rush-temp/identity' version: 0.0.0 dependencies: @@ -19150,7 +19010,7 @@ packages: mocha: 10.2.0 ms: 2.1.3 open: 8.4.2 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 stoppable: 1.1.0 @@ -19290,7 +19150,7 @@ packages: dev: false file:projects/keyvault-certificates.tgz: - resolution: {integrity: sha512-QNSJXUCwBIThP/aD6CmBoQ1lEUWR9Ssgo4qNvx3rY0O0mIw+sw3AWyh1RYG+NmDXQN7kJOUPfCNbviJVhbzzoQ==, tarball: file:projects/keyvault-certificates.tgz} + resolution: {integrity: sha512-DIQESwDpf/GdB4E3TxOnqsgOPDaMLXt/PO7N6t9FeW69AWMq7gtoixFxEYcocjuCpXT0180wRigcOp1gDLNG9Q==, tarball: file:projects/keyvault-certificates.tgz} name: '@rush-temp/keyvault-certificates' version: 0.0.0 dependencies: @@ -19318,7 +19178,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -19336,7 +19196,7 @@ packages: dev: false file:projects/keyvault-common.tgz: - resolution: {integrity: sha512-bnZONIIpQrLP3PV2Sc0ZNBT2QvRBfUIqSVDJlmAmS8Zj6fjTZeLqT/gvZH9/7QpLy3W4EuJztY2zu/MQA5pjrw==, tarball: file:projects/keyvault-common.tgz} + resolution: {integrity: sha512-Aqi/snwrfQn/PknDRn5AlC9/i2zYYn4usDATBW7YBTMTQ8wB9hFn8df4Wh37COZ6J9RXlZ9tTw1me37do+T29Q==, tarball: file:projects/keyvault-common.tgz} name: '@rush-temp/keyvault-common' version: 0.0.0 dependencies: @@ -19349,7 +19209,7 @@ packages: eslint: 8.56.0 esm: 3.2.25 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -19366,7 +19226,7 @@ packages: dev: false file:projects/keyvault-keys.tgz: - resolution: {integrity: sha512-B2omrUB9q46mYbC8x1g2NEd5YfKSu//F9pmX85bZCO9kFrYR1uv0fFc54o5y83L3E4Ht4jn7cDCuR5ttNW/xWw==, tarball: file:projects/keyvault-keys.tgz} + resolution: {integrity: sha512-K6kRivY54c9jcRfPNPYuzbuaSaU55Gr0HaDZjl1toUubwIlOQF9S++xMOHpMHqwoqebDUXPp0EXHh2s05ZCGdg==, tarball: file:projects/keyvault-keys.tgz} name: '@rush-temp/keyvault-keys' version: 0.0.0 dependencies: @@ -19394,7 +19254,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -19412,7 +19272,7 @@ packages: dev: false file:projects/keyvault-secrets.tgz: - resolution: {integrity: sha512-ZRJxf9z4nQe6os20tjmCuDHC57CGNNRFGu339S9aOCUX8dfTzx7sQmfq4DutQX3kEnGJAvy5iqw5DryPp5o/CQ==, tarball: file:projects/keyvault-secrets.tgz} + resolution: {integrity: sha512-MZP1zgkH9knhWbuxPf+XIbTBPE8Mh41zr0pXqGg3v4UYiuyU8tr9mIG4EDYtHtTLjXrMnq3WnjDNmZ1Ca6v6rg==, tarball: file:projects/keyvault-secrets.tgz} name: '@rush-temp/keyvault-secrets' version: 0.0.0 dependencies: @@ -19437,7 +19297,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -19501,7 +19361,7 @@ packages: dev: false file:projects/logger.tgz: - resolution: {integrity: sha512-6AxCFQSQ8YmBbXTQJukFMnoqHkenOTaWnnDV3F0QfgNc4LlYafeuy4yxjcQSzeYdyKDJEuKGSXUSlkPUVVQMew==, tarball: file:projects/logger.tgz} + resolution: {integrity: sha512-o8R6+QSwNNqFvN3yPZeuzryPXS5D4el63qrGwcv8H2pri8EA0q145hOHl+Q+uKjVuxZWSVljfZD7NbuGPm3i9Q==, tarball: file:projects/logger.tgz} name: '@rush-temp/logger' version: 0.0.0 dependencies: @@ -19525,7 +19385,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -20025,7 +19885,7 @@ packages: dev: false file:projects/notification-hubs.tgz: - resolution: {integrity: sha512-JddXXBc3Fzs+3i2BziZnS4wEXKEQyoAxanDZexhL4f02dLlr7a+ZqnshiL3a26ftU+P0qA418Mkc9k5uo873Dw==, tarball: file:projects/notification-hubs.tgz} + resolution: {integrity: sha512-R0F44ALQH8wMZsJUMtW5dmriw3nhkUZ6q4777dhgDev7MsgBdOCnZC8Mqlu10q0g/x8kUlmQwvTp65rwrejQPA==, tarball: file:projects/notification-hubs.tgz} name: '@rush-temp/notification-hubs' version: 0.0.0 dependencies: @@ -20051,7 +19911,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 5.0.5 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) tslib: 2.6.2 @@ -20113,7 +19973,7 @@ packages: dev: false file:projects/openai.tgz: - resolution: {integrity: sha512-z5scLaxiaM36fVywU7+wq1p48MpMDaHmVNHl7rOdPhHB75xYVUq6ognVUmZ+adH6xfJYiu/LllDxBK1U53oNpg==, tarball: file:projects/openai.tgz} + resolution: {integrity: sha512-h5X1wD7M1kcwwkYqBMjU0o/HiZtcWVgj26NALCexXKkJ7XGnjpdVKDOUgavHuIA3F8JoKxeGUH1HKUdlARyvUA==, tarball: file:projects/openai.tgz} name: '@rush-temp/openai' version: 0.0.0 dependencies: @@ -20141,7 +20001,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) tslib: 2.6.2 @@ -21113,7 +20973,7 @@ packages: dev: false file:projects/service-bus.tgz: - resolution: {integrity: sha512-TeKPJY2e+Gexw5rDmNsXhOUXsVQdn3YTbATKwXAua9jE3MGFh0ySmNwhdwAcAft6pTn2pwBB14fSmafrsEjnYA==, tarball: file:projects/service-bus.tgz} + resolution: {integrity: sha512-IJbUXnzxyRuxvyZBK0iP9U2A7QEsGIL/gz6Q4XGhz6r82pm9hKsSw8dYzp6CBc7IZl4VVzOG01n40eOk9x9bMw==, tarball: file:projects/service-bus.tgz} name: '@rush-temp/service-bus' version: 0.0.0 dependencies: @@ -21157,7 +21017,7 @@ packages: moment: 2.30.1 process: 0.11.10 promise: 8.3.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rhea-promise: 3.0.1 rimraf: 3.0.2 sinon: 17.0.1 @@ -21176,7 +21036,7 @@ packages: dev: false file:projects/storage-blob-changefeed.tgz: - resolution: {integrity: sha512-YsV82Jd+8z9vX7SKf+nHrc7unSRy+nYIa+IfYNVLdYZkfNNtIzJ/O+sQHMhsJrra6xLskN4HnnnsKH9fO6M7TA==, tarball: file:projects/storage-blob-changefeed.tgz} + resolution: {integrity: sha512-LsLaU6cXbHXq+1zZGkwmuFYXxXGGQrBOK9rJnxiVRxtgw42salNEXtV16GBAnkHQgExYoBBYgmJMBhClKoDKMA==, tarball: file:projects/storage-blob-changefeed.tgz} name: '@rush-temp/storage-blob-changefeed' version: 0.0.0 dependencies: @@ -21207,7 +21067,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -21226,7 +21086,7 @@ packages: dev: false file:projects/storage-blob.tgz: - resolution: {integrity: sha512-BMRo4YflG5lsYj1A+sFwMZt+v22rTbIyDW35b2u/bOuSR5byGi0S053WGnoOQ0EjzWunBCDsxNw7qxV99sDSFA==, tarball: file:projects/storage-blob.tgz} + resolution: {integrity: sha512-yq23SR+E4nLaZSqKJ3MWC8kT3mOBeXbYAhzSmqVX6ZlHJ+nVYkygeSU8Qiau7zIOIqfEGgH4F1lwiMN6Uz+wIQ==, tarball: file:projects/storage-blob.tgz} name: '@rush-temp/storage-blob' version: 0.0.0 dependencies: @@ -21255,7 +21115,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 source-map-support: 0.5.21 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -21273,7 +21133,7 @@ packages: dev: false file:projects/storage-file-datalake.tgz: - resolution: {integrity: sha512-kpXBaMEKbU9VZOwK27Y7AP4a+mAMpLt0StTCz6tld5RFsEDFIjaDbr+PV73FYPGUmvbhflR53W3nj2ApbjNXUQ==, tarball: file:projects/storage-file-datalake.tgz} + resolution: {integrity: sha512-FDa8TRoXKwHDCBRuFfbrhGxdc/mj94t07WYjHNPZs3QmDb/3X475IP7EfdkYn5ofsSs1P07k/+WPUvSE8Dkfhw==, tarball: file:projects/storage-file-datalake.tgz} name: '@rush-temp/storage-file-datalake' version: 0.0.0 dependencies: @@ -21305,7 +21165,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -21324,7 +21184,7 @@ packages: dev: false file:projects/storage-file-share.tgz: - resolution: {integrity: sha512-ubHeNEN4vijj0CfRyY/G208FmLGZRcxbTLQ6r0d35kUz8CTQG7oW0mLQi/TDWaiNxExuNQRTajRBthiuDrQBew==, tarball: file:projects/storage-file-share.tgz} + resolution: {integrity: sha512-ikCi7wm8K2tDggO7HCdQreDBIB5i0X+h7wNs+cW6Hssy7KU7MCHAVEbj3P/xMj26Ih/OpZVZ5E2No7wrSNfagQ==, tarball: file:projects/storage-file-share.tgz} name: '@rush-temp/storage-file-share' version: 0.0.0 dependencies: @@ -21354,7 +21214,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -21373,7 +21233,7 @@ packages: dev: false file:projects/storage-internal-avro.tgz: - resolution: {integrity: sha512-44urOCNkChXC4wKyQbHGJyICaBVgX/EEAiEqyXlo+6BhpmCwwHYu4GJs39Hjd/ud29wOYLgsPepAzl4aL97ewA==, tarball: file:projects/storage-internal-avro.tgz} + resolution: {integrity: sha512-hVAP2KfW5FDYGxecato/3FDhUyTvNuvJ5+y0400BfjtWZM07fgzTPMtjdeqd+3w2lyAUtxxPp8I02bA9Wwh73w==, tarball: file:projects/storage-internal-avro.tgz} name: '@rush-temp/storage-internal-avro' version: 0.0.0 dependencies: @@ -21400,7 +21260,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 source-map-support: 0.5.21 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -21418,7 +21278,7 @@ packages: dev: false file:projects/storage-queue.tgz: - resolution: {integrity: sha512-2HBgxl7Lp8H6zzMLK4UAxQYqRqtf+3b0ZvbIX828QNYjU4liArkUREQzZOuqZFyfxBPCMnJm/D8tGZVfDFA6wA==, tarball: file:projects/storage-queue.tgz} + resolution: {integrity: sha512-8VPEFFLkrbrwiHEKGph6he/tYLbVcm5Z4/hxBF0e7+x4I0OdGcSy4RAq8/pxus8/OQdh5uvqz0y5Vpkc/q2TSA==, tarball: file:projects/storage-queue.tgz} name: '@rush-temp/storage-queue' version: 0.0.0 dependencies: @@ -21446,7 +21306,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 source-map-support: 0.5.21 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -21720,7 +21580,7 @@ packages: dev: false file:projects/template-dpg.tgz: - resolution: {integrity: sha512-p/WVCaSTsfUe4Y7gtdVYEfFevaRuZT2GWC7e9e/Ru699k4WYZoHAF9Kdut/jzAGoAhtWfil+68rFrsTeLFuAtg==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-gy0/G8mTQ7WSsHDAw0Y0LjvL5MbPrKyLfa1umFhAmGSoYoj17eKAj6lBEZAWgljdGP77+VcEg3TDVEnoVgz+cw==, tarball: file:projects/template-dpg.tgz} name: '@rush-temp/template-dpg' version: 0.0.0 dependencies: @@ -21745,7 +21605,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) tslib: 2.6.2 @@ -21927,7 +21787,7 @@ packages: dev: false file:projects/ts-http-runtime.tgz: - resolution: {integrity: sha512-pu242+kd8vCVMtaHFmC/xfTB5fQQaeOs5zeCE2XBHtoW+Y2B35fNQ5L8OGcYXnqWOltYKWKpUR2UmH8O4fgm7Q==, tarball: file:projects/ts-http-runtime.tgz} + resolution: {integrity: sha512-x/Tbt2f58Xli8JDy1l8YzBrYAgtg1HdqH/ncNTR5vTUyZAoOzfvzLDPCa4vt5r0joSAhRicLn2PXX7hpLOD7yQ==, tarball: file:projects/ts-http-runtime.tgz} name: '@rush-temp/ts-http-runtime' version: 0.0.0 dependencies: @@ -21956,7 +21816,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 ts-node: 10.9.2(@types/node@18.19.11)(typescript@5.3.3) @@ -21989,7 +21849,7 @@ packages: dev: false file:projects/web-pubsub-client-protobuf.tgz: - resolution: {integrity: sha512-bqASNsKP+gzUPxkCP/Rkk0R6rrun7AZMb364W4sRhDNnF5VjBGTRcHxEg8lGh47ez3C2tN2EI6oIgF8a65nIAA==, tarball: file:projects/web-pubsub-client-protobuf.tgz} + resolution: {integrity: sha512-z8cEZjzlf4fY/6+XuRY/92PNuVg71xdvY7Q+AW0FaLQBatGb7/qyEIJlWkUYi4vg5Z88o5/aoYDfhRWS8O1hbg==, tarball: file:projects/web-pubsub-client-protobuf.tgz} name: '@rush-temp/web-pubsub-client-protobuf' version: 0.0.0 dependencies: @@ -22030,7 +21890,7 @@ packages: mock-socket: 9.3.1 protobufjs: 7.2.6 protobufjs-cli: 1.1.2(protobufjs@7.2.6) - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 rollup: 4.9.6 sinon: 17.0.1 @@ -22050,7 +21910,7 @@ packages: dev: false file:projects/web-pubsub-client.tgz: - resolution: {integrity: sha512-SlWmcPJ9rIN5M5urPMr3j3j4iJvccqhFcGGf4aMe36DZnboK6YVsieJ2DR1uE3SnaMV/ud2t0QC3YlwjeTzZpQ==, tarball: file:projects/web-pubsub-client.tgz} + resolution: {integrity: sha512-vhFPAd5S9Nvd3vjO218swHI2I5LsC2T9CxE5FSdrTmdKjh4H3pbbnFoqLVJ+zZTm/rpI2n6DzioPFzHocNGRpw==, tarball: file:projects/web-pubsub-client.tgz} name: '@rush-temp/web-pubsub-client' version: 0.0.0 dependencies: @@ -22086,7 +21946,7 @@ packages: karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 mock-socket: 9.3.1 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -22106,7 +21966,7 @@ packages: dev: false file:projects/web-pubsub-express.tgz: - resolution: {integrity: sha512-i062iIdG07Pv1PRNpb5q3npLSCEHC37N+mMK73zTiCGXgivocnfGXjDOKIhb9gvAVVhcZ5ZxADKaMw/cOe8Cqg==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-anOJbt1t8jMsS3aYnHouZV564WxWBo35LAEwsUQqxlHpuSJGJvKx1+kdRD0Jb+llxefb2lefEu0VvjgSs6nzDg==, tarball: file:projects/web-pubsub-express.tgz} name: '@rush-temp/web-pubsub-express' version: 0.0.0 dependencies: @@ -22126,7 +21986,7 @@ packages: esm: 3.2.25 express: 4.18.2 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 @@ -22143,7 +22003,7 @@ packages: dev: false file:projects/web-pubsub.tgz: - resolution: {integrity: sha512-gmBO+MTNS9Jv3yJO+FAOzjiDD0ht39yqPendnnVmfJdFweyTWXX1cIOBDHdlq5Kp0mKzWY9TlAe3ckGLPxryxA==, tarball: file:projects/web-pubsub.tgz} + resolution: {integrity: sha512-tHjnlqSaMewH6Bkt/Fqu1CVh23vBr/7hshCpXkIqRj23ZCNJVMiE+aLgKjIUNYkLY391DIHlxPEwTnwjTEMqww==, tarball: file:projects/web-pubsub.tgz} name: '@rush-temp/web-pubsub' version: 0.0.0 dependencies: @@ -22171,7 +22031,7 @@ packages: karma-mocha-reporter: 2.2.5(karma@6.4.2) karma-sourcemap-loader: 0.3.8 mocha: 10.2.0 - puppeteer: 19.11.1(typescript@5.3.3) + puppeteer: 22.0.0(typescript@5.3.3) rimraf: 3.0.2 sinon: 17.0.1 source-map-support: 0.5.21 diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index 41f12595da57..833c525a9afa 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -94,7 +94,7 @@ "karma-mocha": "^2.0.1", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "ts-node": "^10.0.0", diff --git a/sdk/core/core-sse/package.json b/sdk/core/core-sse/package.json index 8f45e4b9afa2..ef072e63a265 100644 --- a/sdk/core/core-sse/package.json +++ b/sdk/core/core-sse/package.json @@ -82,7 +82,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.2", "ts-node": "^10.0.0", "typescript": "~5.3.3" diff --git a/sdk/core/core-xml/test/xml.spec.ts b/sdk/core/core-xml/test/xml.spec.ts index 93e928090402..d46b5479d53d 100644 --- a/sdk/core/core-xml/test/xml.spec.ts +++ b/sdk/core/core-xml/test/xml.spec.ts @@ -11,11 +11,14 @@ describe("XML serializer", function () { // @ts-expect-error - intentional error for test await parseXML(undefined); assert.fail("Expected error"); - } catch (error: any) { + } catch (err) { + assert.ok(err instanceof Error); + const error = err as Error; assert.ok( - error.message.indexOf("Document is empty") !== -1 || // Chrome + error.message.includes("Document is empty") || // NodeJS v8 + error.message.includes("This page contains the following errors") || // Chrome (error.message.startsWith("XML Parsing Error: syntax error") && - error.message.indexOf("undefined") !== -1), // Firefox + error.message.includes("undefined")), // Firefox `error.message ("${error.message}") should have contained "Document is empty" or "undefined"`, ); } @@ -26,11 +29,14 @@ describe("XML serializer", function () { // @ts-expect-error - intentional error for test await parseXML(null); assert.fail("Expected error"); - } catch (error: any) { + } catch (err) { + assert.ok(err instanceof Error); + const error = err as Error; assert.ok( - error.message.indexOf("Document is empty") !== -1 || // Chrome + error.message.includes("Document is empty") || // NodeJS v8 + error.message.includes("This page contains the following errors") || // Chrome (error.message.startsWith("XML Parsing Error: syntax error") && - error.message.indexOf("null") !== -1), // Firefox + error.message.includes("null")), // Firefox `error.message ("${error.message}") should have contained "Document is empty" or "null"`, ); } @@ -442,24 +448,6 @@ describe("XML serializer", function () { ); }); - it("with element with attribute and value", async function () { - const xml = stringifyXML( - { - fruit: { - $: { - healthy: "true", - }, - _: "yum", - }, - }, - { rootName: "fruits" }, - ); - assert.deepStrictEqual( - xml, - `yum`, - ); - }); - it("with element with child empty element", async function () { const xml = stringifyXML( { diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 6878f5262b15..83ac9aca4aad 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -91,7 +91,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "ts-node": "^10.0.0", diff --git a/sdk/core/ts-http-runtime/package.json b/sdk/core/ts-http-runtime/package.json index 1e6503b48fbd..74a2d153b8e6 100644 --- a/sdk/core/ts-http-runtime/package.json +++ b/sdk/core/ts-http-runtime/package.json @@ -118,7 +118,7 @@ "karma-sourcemap-loader": "^0.3.8", "karma": "^6.3.0", "mocha": "^10.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "typescript": "~5.3.3", diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index cfc90206fc1e..cf5bc303596d 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -151,7 +151,7 @@ "mocha": "^10.0.0", "moment": "^2.24.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "ts-node": "^10.0.0", diff --git a/sdk/identity/identity-broker/package.json b/sdk/identity/identity-broker/package.json index 5f49337ca2a6..3912769bdc12 100644 --- a/sdk/identity/identity-broker/package.json +++ b/sdk/identity/identity-broker/package.json @@ -79,7 +79,7 @@ "cross-env": "^7.0.2", "eslint": "^8.0.0", "mocha": "^10.0.0", - "puppeteer": "^20.5.0", + "puppeteer": "^22.0.0", "rimraf": "^5.0.1", "typescript": "~5.3.3", "sinon": "^17.0.0", diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index 624c5f278c76..068fb055328a 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -82,7 +82,7 @@ "eslint": "^8.0.0", "inherits": "^2.0.3", "mocha": "^10.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "typescript": "~5.3.3", "util": "^0.12.1", diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index 9925df007a2f..524f1efcd6f1 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -80,7 +80,7 @@ "eslint": "^8.0.0", "inherits": "^2.0.3", "mocha": "^10.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "typescript": "~5.3.3", diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index ae56d0809a8c..c62da3ee16a8 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -154,7 +154,7 @@ "mocha": "^10.0.0", "ms": "^2.1.3", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "ts-node": "^10.0.0", diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 2f44f2debc89..edab3514cb84 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -145,7 +145,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/keyvault/keyvault-common/package.json b/sdk/keyvault/keyvault-common/package.json index b4857cc84ce8..75f4c4efb9b0 100644 --- a/sdk/keyvault/keyvault-common/package.json +++ b/sdk/keyvault/keyvault-common/package.json @@ -72,7 +72,7 @@ "esm": "^3.2.18", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", "typescript": "~5.3.3", diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 769fa3bd8195..e20e90391a6e 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -143,7 +143,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts b/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts index 7b366f321369..8d9662b1e041 100644 --- a/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts @@ -17,6 +17,7 @@ import { testPollerProperties } from "./utils/recorderUtils"; import { authenticate, envSetupForPlayback } from "./utils/testAuthentication"; import TestClient from "./utils/testClient"; import { stringToUint8Array, uint8ArrayToString } from "./utils/crypto"; +import { isBrowser } from "@azure/core-util"; describe("Keys client - create, read, update and delete operations", () => { const keyPrefix = `CRUD${env.KEY_NAME || "KeyName"}`; @@ -30,7 +31,7 @@ describe("Keys client - create, read, update and delete operations", () => { // These tests rely on the attestation URI inside the Release Policy, which is sanitized by the test recorder. // Using a bodiless matcher to ignore the differences that this causes. - recorder.setMatcher("BodilessMatcher"); + await recorder.setMatcher("BodilessMatcher"); await recorder.start(envSetupForPlayback); const authentication = await authenticate(getServiceVersion(), recorder); @@ -263,7 +264,7 @@ describe("Keys client - create, read, update and delete operations", () => { "Unexpected key name in result from beginDeleteKey().", ); await poller.pollUntilDone(); - let getResult = await poller.getResult(); + let getResult = poller.getResult(); assert.equal( getResult!.name, keyName, @@ -452,7 +453,12 @@ describe("Keys client - create, read, update and delete operations", () => { } }); - it("can create an exportable key and release it", async () => { + it("can create an exportable key and release it", async function (this: Context) { + // Recorder sanitizer issue + // https://github.com/Azure/azure-sdk-for-js/issues/28455 + if (isPlaybackMode() && isBrowser) { + this.skip(); + } const keyName = recorder.variable( "exportkey", `exportkey-${Math.floor(Math.random() * 1000)}`, @@ -499,7 +505,12 @@ describe("Keys client - create, read, update and delete operations", () => { ); }); - it("errors when updating an immutable release policy", async () => { + it("errors when updating an immutable release policy", async function (this: Context) { + // Recorder sanitizer issue + // https://github.com/Azure/azure-sdk-for-js/issues/28455 + if (isPlaybackMode() && isBrowser) { + this.skip(); + } const keyName = recorder.variable( "immutablerelease", `immutablerelease-${Math.floor(Math.random() * 1000)}`, diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 70342ac34940..4c2bd748b0e0 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -138,7 +138,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/notificationhubs/notification-hubs/package.json b/sdk/notificationhubs/notification-hubs/package.json index b9bc5d5e9ae3..25597fb5b863 100644 --- a/sdk/notificationhubs/notification-hubs/package.json +++ b/sdk/notificationhubs/notification-hubs/package.json @@ -111,7 +111,7 @@ "karma-mocha-reporter": "^2.2.5", "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^5.0.5", "ts-node": "^10.9.1", "typescript": "~5.3.3", diff --git a/sdk/openai/openai/package.json b/sdk/openai/openai/package.json index c3d4c7b71811..9678f0203ebd 100644 --- a/sdk/openai/openai/package.json +++ b/sdk/openai/openai/package.json @@ -127,7 +127,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.2", "ts-node": "^10.0.0", "typescript": "~5.3.3" diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index 1d35a0e6e858..40cb78ec11b7 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -157,7 +157,7 @@ "moment": "^2.24.0", "c8": "^8.0.0", "promise": "^8.0.3", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "ts-node": "^10.0.0", "typescript": "~5.3.3", diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index d6324bfc2f27..29e84173996e 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -124,7 +124,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 0a789a880fd8..2c25efd0efd8 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -167,7 +167,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 6b04e01f32d0..2cf75fe98078 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -154,7 +154,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index 2ede7372ff45..628c6ff90a62 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -159,7 +159,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/storage/storage-internal-avro/package.json b/sdk/storage/storage-internal-avro/package.json index e28bebc947f2..c41c6ac06aa3 100644 --- a/sdk/storage/storage-internal-avro/package.json +++ b/sdk/storage/storage-internal-avro/package.json @@ -91,7 +91,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 49ee65e04fa5..dd7d665d0f91 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -150,7 +150,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", diff --git a/sdk/template/template-dpg/package.json b/sdk/template/template-dpg/package.json index 188bdb2eebd0..1f360cdea70b 100644 --- a/sdk/template/template-dpg/package.json +++ b/sdk/template/template-dpg/package.json @@ -104,7 +104,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.2", "ts-node": "^10.0.0", "typescript": "~5.3.3", diff --git a/sdk/test-utils/recorder/CHANGELOG.md b/sdk/test-utils/recorder/CHANGELOG.md index 6b5349e08ccc..381f7c7be42d 100644 --- a/sdk/test-utils/recorder/CHANGELOG.md +++ b/sdk/test-utils/recorder/CHANGELOG.md @@ -19,7 +19,7 @@ - Clarify error when attempting to redirect a request but the recorder has not been started - Forward mismatch error when recording file cannot be found during `start` call in playback mode - Add more descriptive message in the case that the test proxy has not been started before running the tests - +- Ignore `Accept-Language` header for browsers in Playback mode. ## 3.0.0 (2023-03-07) ### Features Added diff --git a/sdk/test-utils/recorder/src/recorder.ts b/sdk/test-utils/recorder/src/recorder.ts index 96b06cd9e8f1..f94374f7278a 100644 --- a/sdk/test-utils/recorder/src/recorder.ts +++ b/sdk/test-utils/recorder/src/recorder.ts @@ -31,7 +31,7 @@ import { addTransform, Transform } from "./transform"; import { createRecordingRequest } from "./utils/createRecordingRequest"; import { logger } from "./log"; import { setRecordingOptions } from "./options"; -import { isNode } from "@azure/core-util"; +import { isBrowser, isNode } from "@azure/core-util"; import { env } from "./utils/env"; import { decodeBase64 } from "./utils/encoding"; import { AdditionalPolicyConfig } from "@azure/core-client"; @@ -52,6 +52,7 @@ export class Recorder { private sessionFile?: string; private assetsJson?: string; private variables: Record; + private matcherSet = false; constructor(private testContext?: Test | undefined) { logger.info(`[Recorder#constructor] Creating a recorder instance in ${getTestMode()} mode`); @@ -205,6 +206,15 @@ export class Recorder { } } + private async preStart(): Promise { + if (isBrowser && isPlaybackMode()) { + if (!this.matcherSet) { + await this.setMatcher("CustomDefaultMatcher"); + this.matcherSet = true; + } + } + } + /** * Call this method to ping the proxy-tool with a start request * signalling to start recording in the record mode @@ -216,6 +226,8 @@ export class Recorder { * - sanitizerOptions - Generated recordings are updated by the "proxy-tool" based on the sanitizer options provided, these santizers are applied only in "record" mode. */ async start(options: RecorderStartOptions): Promise { + await this.preStart(); + if (isLiveMode()) return; logger.info(`[Recorder#start] Starting the recorder in ${getTestMode()} mode`); this.stateManager.state = "started"; @@ -379,13 +391,37 @@ export class Recorder { /** * Sets the matcher for the current recording to the matcher specified. */ - async setMatcher(matcher: Matcher, options?: CustomMatcherOptions): Promise { + async setMatcher(matcher: Matcher, options: CustomMatcherOptions = {}): Promise { if (isPlaybackMode()) { if (!this.httpClient) { throw new RecorderError("httpClient should be defined in playback mode"); } - await setMatcher(Recorder.url, this.httpClient, matcher, this.recordingId, options); + // See discussion in https://github.com/Azure/azure-sdk-tools/pull/6152 + // Ideally this should be handled by the test-proxy. However, it was suggested that + // there may be scenarios where it is desired to include this header. + // Thus we are ignoring Accept-Language header in recorder for browser. + const excludedHeaders = isBrowser + ? (options.excludedHeaders ?? []).concat("Accept-Language") + : options.excludedHeaders; + + const updatedOptions = { + ...options, + excludedHeaders, + }; + if (matcher === "BodilessMatcher") { + updatedOptions.compareBodies = false; + await setMatcher( + Recorder.url, + this.httpClient, + "CustomDefaultMatcher", + this.recordingId, + updatedOptions, + ); + } else { + await setMatcher(Recorder.url, this.httpClient, matcher, this.recordingId, updatedOptions); + } + this.matcherSet = true; } } diff --git a/sdk/test-utils/recorder/test/testProxyClient.spec.ts b/sdk/test-utils/recorder/test/testProxyClient.spec.ts index dd417f7a0795..963c82bb282b 100644 --- a/sdk/test-utils/recorder/test/testProxyClient.spec.ts +++ b/sdk/test-utils/recorder/test/testProxyClient.spec.ts @@ -133,7 +133,7 @@ describe("TestProxyClient functions", () => { env.TEST_MODE = testMode; const recordingId = "dummy-recording-id"; clientHttpClient.sendRequest = (req): Promise => { - if (req.url.endsWith(paths.setRecordingOptions)) { + if (req.url.endsWith(paths.setRecordingOptions) || req.url.endsWith(paths.setMatcher)) { return Promise.resolve({ headers: createHttpHeaders(), status: 200, diff --git a/sdk/web-pubsub/web-pubsub-client-protobuf/package.json b/sdk/web-pubsub/web-pubsub-client-protobuf/package.json index 100c2278e668..f04ed4f3216c 100644 --- a/sdk/web-pubsub/web-pubsub-client-protobuf/package.json +++ b/sdk/web-pubsub/web-pubsub-client-protobuf/package.json @@ -99,7 +99,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/web-pubsub/web-pubsub-client/package.json b/sdk/web-pubsub/web-pubsub-client/package.json index 60b0ce62b78e..a7961afbc721 100644 --- a/sdk/web-pubsub/web-pubsub-client/package.json +++ b/sdk/web-pubsub/web-pubsub-client/package.json @@ -104,7 +104,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index a128da72d28b..2713dae8e472 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -77,7 +77,7 @@ "express": "^4.16.3", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9", diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index 7ca36156dc1f..472495b91ad7 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -106,7 +106,7 @@ "karma-sourcemap-loader": "^0.3.8", "mocha": "^10.0.0", "c8": "^8.0.0", - "puppeteer": "^19.2.2", + "puppeteer": "^22.0.0", "rimraf": "^3.0.0", "sinon": "^17.0.0", "source-map-support": "^0.5.9",