diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 7e6421b1568b..ba111a643924 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -2530,8 +2530,8 @@ packages: engines: {node: '>=14'} dev: false - /@grpc/grpc-js@1.12.2: - resolution: {integrity: sha512-bgxdZmgTrJZX50OjyVwz3+mNEnCTNkh3cIqGPWVNeW9jX6bn1ZkU80uPd+67/ZpIJIjRQ9qaHCjhavyoWYxumg==} + /@grpc/grpc-js@1.12.3: + resolution: {integrity: sha512-iaxAZnANdCwMNpJlyhkI1W1jQZIDZKFNtU2OpQDdgd+pBcU3t7G+PT7svobkW4WSZTdis+CVV6y8KIwu83HDYQ==} engines: {node: '>=12.10.0'} dependencies: '@grpc/proto-loader': 0.7.13 @@ -2780,8 +2780,8 @@ packages: resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==} dev: false - /@mswjs/interceptors@0.37.2: - resolution: {integrity: sha512-xydNw0hOYO5lFa2qn+dnj33FE8IlHipRdsQxnZrsN5ejbQLj6B5wFS5ChGNfRSaFMnfbwRGWw4iRVDXu1G7Umg==} + /@mswjs/interceptors@0.37.3: + resolution: {integrity: sha512-USvgCL/uOGFtVa6SVyRrC8kIAedzRohxIXN5LISlg5C5vLZCn7dgMFVSNhSF9cuBEFrm/O2spDWEZeMnw4ZXYg==} engines: {node: '>=18'} dependencies: '@open-draft/deferred-promise': 2.2.0 @@ -2865,7 +2865,7 @@ packages: peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@grpc/grpc-js': 1.12.2 + '@grpc/grpc-js': 1.12.3 '@opentelemetry/api': 1.9.0 '@opentelemetry/core': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/otlp-grpc-exporter-base': 0.55.0(@opentelemetry/api@1.9.0) @@ -2909,7 +2909,7 @@ packages: peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@grpc/grpc-js': 1.12.2 + '@grpc/grpc-js': 1.12.3 '@opentelemetry/api': 1.9.0 '@opentelemetry/core': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/otlp-grpc-exporter-base': 0.55.0(@opentelemetry/api@1.9.0) @@ -3108,7 +3108,7 @@ packages: peerDependencies: '@opentelemetry/api': ^1.3.0 dependencies: - '@grpc/grpc-js': 1.12.2 + '@grpc/grpc-js': 1.12.3 '@opentelemetry/api': 1.9.0 '@opentelemetry/core': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/otlp-exporter-base': 0.55.0(@opentelemetry/api@1.9.0) @@ -4313,12 +4313,12 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: false - /@vitest/browser@2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7): - resolution: {integrity: sha512-jR5rNWDH8v50tzcwM7R1DGYu/3MNmXFW/BaNJkhkOee3GJ0MfT1KNWNAFWyjSExPUPnFqlijBPWobG3rTLdPeg==} + /@vitest/browser@2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8): + resolution: {integrity: sha512-OWVvEJThRgxlNMYNVLEK/9qVkpRcLvyuKLngIV3Hob01P56NjPHprVBYn+rx4xAJudbM9yrCrywPIEuA3Xyo8A==} peerDependencies: playwright: '*' safaridriver: '*' - vitest: 2.1.7 + vitest: 2.1.8 webdriverio: '*' peerDependenciesMeta: playwright: @@ -4330,14 +4330,14 @@ packages: dependencies: '@testing-library/dom': 10.4.0 '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) - '@vitest/mocker': 2.1.7(msw@2.6.6) - '@vitest/utils': 2.1.7 + '@vitest/mocker': 2.1.8(msw@2.6.6) + '@vitest/utils': 2.1.8 magic-string: 0.30.14 msw: 2.6.6(@types/node@18.19.67)(typescript@5.6.3) playwright: 1.49.0 sirv: 3.0.0 tinyrainbow: 1.2.0 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) ws: 8.18.0 transitivePeerDependencies: - '@types/node' @@ -4366,10 +4366,10 @@ packages: - supports-color dev: false - /@vitest/coverage-istanbul@2.1.7(vitest@2.1.7): - resolution: {integrity: sha512-WCz10/rvpHdjEkVJsM/c3OdsEYWLkE7VO9q4OOV1j2UsmzoSEmuh+7FJEvrQTbg7wblfvJHAWHfn+G3wM/CKAw==} + /@vitest/coverage-istanbul@2.1.8(vitest@2.1.8): + resolution: {integrity: sha512-cSaCd8KcWWvgDwEJSXm0NEWZ1YTiJzjicKHy+zOEbUm0gjbbkz+qJf1p8q71uBzSlS7vdnZA8wRLeiwVE3fFTA==} peerDependencies: - vitest: 2.1.7 + vitest: 2.1.8 dependencies: '@istanbuljs/schema': 0.1.3 debug: 4.3.7(supports-color@8.1.1) @@ -4381,7 +4381,7 @@ packages: magicast: 0.3.5 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - supports-color dev: false @@ -4394,17 +4394,17 @@ packages: chai: 4.3.10 dev: false - /@vitest/expect@2.1.7: - resolution: {integrity: sha512-folWk4qQDEedgUyvaZw94LIJuNLoDtY+rhKhhNy0csdwifn/pQz8EWVRnyrW3j0wMpy+xwJT8WiwiYxk+i+s7w==} + /@vitest/expect@2.1.8: + resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} dependencies: - '@vitest/spy': 2.1.7 - '@vitest/utils': 2.1.7 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 chai: 5.1.2 tinyrainbow: 1.2.0 dev: false - /@vitest/mocker@2.1.7(msw@2.6.6): - resolution: {integrity: sha512-nKMTnuJrarFH+7llWxeLmYRldIwTY3OM1DzdytHj0f2+fah6Cyk4XbswhjOiTCnAvXsZAEoo1OaD6rneSSU+3Q==} + /@vitest/mocker@2.1.8(msw@2.6.6): + resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 @@ -4414,14 +4414,14 @@ packages: vite: optional: true dependencies: - '@vitest/spy': 2.1.7 + '@vitest/spy': 2.1.8 estree-walker: 3.0.3 magic-string: 0.30.14 msw: 2.6.6(@types/node@18.19.67)(typescript@5.6.3) dev: false - /@vitest/mocker@2.1.7(vite@5.4.11): - resolution: {integrity: sha512-nKMTnuJrarFH+7llWxeLmYRldIwTY3OM1DzdytHj0f2+fah6Cyk4XbswhjOiTCnAvXsZAEoo1OaD6rneSSU+3Q==} + /@vitest/mocker@2.1.8(vite@5.4.11): + resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 @@ -4431,14 +4431,14 @@ packages: vite: optional: true dependencies: - '@vitest/spy': 2.1.7 + '@vitest/spy': 2.1.8 estree-walker: 3.0.3 magic-string: 0.30.14 vite: 5.4.11(@types/node@18.19.67) dev: false - /@vitest/pretty-format@2.1.7: - resolution: {integrity: sha512-HoqRIyfQlXPrRDB43h0lC8eHPUDPwFweMaD6t+psOvwClCC+oZZim6wPMjuoMnRdiFxXqbybg/QbuewgTwK1vA==} + /@vitest/pretty-format@2.1.8: + resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} dependencies: tinyrainbow: 1.2.0 dev: false @@ -4451,10 +4451,10 @@ packages: pathe: 1.1.2 dev: false - /@vitest/runner@2.1.7: - resolution: {integrity: sha512-MrDNpXUIXksR57qipYh068SOX4N1hVw6oVILlTlfeTyA1rp0asuljyp15IZwKqhjpWLObFj+tiNrOM4R8UnSqg==} + /@vitest/runner@2.1.8: + resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} dependencies: - '@vitest/utils': 2.1.7 + '@vitest/utils': 2.1.8 pathe: 1.1.2 dev: false @@ -4466,10 +4466,10 @@ packages: pretty-format: 29.7.0 dev: false - /@vitest/snapshot@2.1.7: - resolution: {integrity: sha512-OioIxV/xS393DKdlkRNhmtY0K37qVdCv8w1M2SlLTBSX+fNK6zgcd01VlT1nXdbKVDaB8Zb6BOfQYYoGeGTEGg==} + /@vitest/snapshot@2.1.8: + resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} dependencies: - '@vitest/pretty-format': 2.1.7 + '@vitest/pretty-format': 2.1.8 magic-string: 0.30.14 pathe: 1.1.2 dev: false @@ -4480,8 +4480,8 @@ packages: tinyspy: 2.2.1 dev: false - /@vitest/spy@2.1.7: - resolution: {integrity: sha512-e5pzIaIC0LBrb/j1FaF7HXlPJLGtltiAkwXTMqNEHALJc7USSLEwziJ+aIWTmjsWNg89zazg37h7oZITnublsQ==} + /@vitest/spy@2.1.8: + resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} dependencies: tinyspy: 3.0.2 dev: false @@ -4495,10 +4495,10 @@ packages: pretty-format: 29.7.0 dev: false - /@vitest/utils@2.1.7: - resolution: {integrity: sha512-7gUdvIzCCuIrMZu0WHTvDJo8C1NsUtOqmwmcS3bRHUcfHemj29wmkzLVNuWQD7WHoBD/+I7WIgrnzt7kxR54ow==} + /@vitest/utils@2.1.8: + resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} dependencies: - '@vitest/pretty-format': 2.1.7 + '@vitest/pretty-format': 2.1.8 loupe: 3.1.2 tinyrainbow: 1.2.0 dev: false @@ -4923,7 +4923,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001685 - electron-to-chromium: 1.5.67 + electron-to-chromium: 1.5.68 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) dev: false @@ -5807,8 +5807,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.5.67: - resolution: {integrity: sha512-nz88NNBsD7kQSAGGJyp8hS6xSPtWwqNogA0mjtc2nUYeEf3nURK9qpV18TuBdDmEDgVWotS8Wkzf+V52dSQ/LQ==} + /electron-to-chromium@1.5.68: + resolution: {integrity: sha512-FgMdJlma0OzUYlbrtZ4AeXjKxKPk6KT8WOP8BjcqxWtlg8qyJQjRzPJzUtUn5GBg1oQ26hFs7HOOHJMYiJRnvQ==} dev: false /emoji-regex@8.0.0: @@ -6783,7 +6783,7 @@ packages: es-errors: 1.3.0 function-bind: 1.1.2 has-proto: 1.1.0 - has-symbols: 1.0.3 + has-symbols: 1.1.0 hasown: 2.0.2 dev: false @@ -6984,8 +6984,8 @@ packages: call-bind: 1.0.7 dev: false - /has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + /has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} engines: {node: '>= 0.4'} dev: false @@ -6993,7 +6993,7 @@ packages: resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} dependencies: - has-symbols: 1.0.3 + has-symbols: 1.1.0 dev: false /hasha@5.2.2: @@ -8446,7 +8446,7 @@ packages: '@bundled-es-modules/statuses': 1.0.1 '@bundled-es-modules/tough-cookie': 0.1.6 '@inquirer/confirm': 5.0.2(@types/node@18.19.67) - '@mswjs/interceptors': 0.37.2 + '@mswjs/interceptors': 0.37.3 '@open-draft/deferred-promise': 2.2.0 '@open-draft/until': 2.1.0 '@types/cookie': 0.6.0 @@ -8458,7 +8458,7 @@ packages: outvariant: 1.4.3 path-to-regexp: 6.3.0 strict-event-emitter: 0.5.1 - type-fest: 4.29.1 + type-fest: 4.30.0 typescript: 5.6.3 yargs: 17.7.2 transitivePeerDependencies: @@ -8721,8 +8721,8 @@ packages: is-wsl: 2.2.0 dev: false - /openai@4.73.1: - resolution: {integrity: sha512-nWImDJBcUsqrhy7yJScXB4+iqjzbUEgzfA3un/6UnHFdwWhjX24oztj69Ped/njABfOdLcO/F7CeWTI5dt8Xmg==} + /openai@4.74.0: + resolution: {integrity: sha512-pQ8t1jchUymw5WB5jZPchuBtWvxul7RyVxa+9RWfiCQyzvzUyI2sKvUYfpEDI/ouaRLcik3K6psj15ByCefeNA==} hasBin: true peerDependencies: zod: ^3.23.8 @@ -10698,8 +10698,8 @@ packages: engines: {node: '>=10'} dev: false - /type-fest@4.29.1: - resolution: {integrity: sha512-Y1zUveI92UYM/vo1EFlQSsNf74+hfKH+7saZJslF0Fw92FRaiTAnHPIvo9d7SLxXt/gAYqA4RXyDTioMQCCp0A==} + /type-fest@4.30.0: + resolution: {integrity: sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==} engines: {node: '>=16'} dev: false @@ -10975,9 +10975,9 @@ packages: - terser dev: false - /vite-node@2.1.7(@types/node@18.19.67): - resolution: {integrity: sha512-b/5MxSWd0ftWt1B1LHfzCw0ASzaxHztUwP0rcsBhkDSGy9ZDEDieSIjFG3I78nI9dUN0eSeD6LtuKPZGjwwpZQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + /vite-node@2.1.8(@types/node@18.19.67): + resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 @@ -10997,9 +10997,9 @@ packages: - terser dev: false - /vite-node@2.1.7(@types/node@20.17.9): - resolution: {integrity: sha512-b/5MxSWd0ftWt1B1LHfzCw0ASzaxHztUwP0rcsBhkDSGy9ZDEDieSIjFG3I78nI9dUN0eSeD6LtuKPZGjwwpZQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + /vite-node@2.1.8(@types/node@20.17.9): + resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 @@ -11154,15 +11154,15 @@ packages: - terser dev: false - /vitest@2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7): - resolution: {integrity: sha512-wzJ7Wri44ufkzTZbI1lHsdHfiGdFRmnJ9qIudDQ6tknjJeHhF5QgNSSjk7KRZUU535qEiEXFJ7tSHqyzyIv0jQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + /vitest@2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8): + resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 2.1.7 - '@vitest/ui': 2.1.7 + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.1.8 + '@vitest/ui': 2.1.8 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -11180,14 +11180,14 @@ packages: optional: true dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/expect': 2.1.7 - '@vitest/mocker': 2.1.7(vite@5.4.11) - '@vitest/pretty-format': 2.1.7 - '@vitest/runner': 2.1.7 - '@vitest/snapshot': 2.1.7 - '@vitest/spy': 2.1.7 - '@vitest/utils': 2.1.7 + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/expect': 2.1.8 + '@vitest/mocker': 2.1.8(vite@5.4.11) + '@vitest/pretty-format': 2.1.8 + '@vitest/runner': 2.1.8 + '@vitest/snapshot': 2.1.8 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 chai: 5.1.2 debug: 4.3.7(supports-color@8.1.1) expect-type: 1.1.0 @@ -11199,7 +11199,7 @@ packages: tinypool: 1.0.2 tinyrainbow: 1.2.0 vite: 5.4.11(@types/node@18.19.67) - vite-node: 2.1.7(@types/node@18.19.67) + vite-node: 2.1.8(@types/node@18.19.67) why-is-node-running: 2.3.0 transitivePeerDependencies: - less @@ -11213,15 +11213,15 @@ packages: - terser dev: false - /vitest@2.1.7(@types/node@20.17.9): - resolution: {integrity: sha512-wzJ7Wri44ufkzTZbI1lHsdHfiGdFRmnJ9qIudDQ6tknjJeHhF5QgNSSjk7KRZUU535qEiEXFJ7tSHqyzyIv0jQ==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + /vitest@2.1.8(@types/node@20.17.9): + resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 2.1.7 - '@vitest/ui': 2.1.7 + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': 2.1.8 + '@vitest/ui': 2.1.8 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -11239,13 +11239,13 @@ packages: optional: true dependencies: '@types/node': 20.17.9 - '@vitest/expect': 2.1.7 - '@vitest/mocker': 2.1.7(vite@5.4.11) - '@vitest/pretty-format': 2.1.7 - '@vitest/runner': 2.1.7 - '@vitest/snapshot': 2.1.7 - '@vitest/spy': 2.1.7 - '@vitest/utils': 2.1.7 + '@vitest/expect': 2.1.8 + '@vitest/mocker': 2.1.8(vite@5.4.11) + '@vitest/pretty-format': 2.1.8 + '@vitest/runner': 2.1.8 + '@vitest/snapshot': 2.1.8 + '@vitest/spy': 2.1.8 + '@vitest/utils': 2.1.8 chai: 5.1.2 debug: 4.3.7(supports-color@8.1.1) expect-type: 1.1.0 @@ -11257,7 +11257,7 @@ packages: tinypool: 1.0.2 tinyrainbow: 1.2.0 vite: 5.4.11(@types/node@20.17.9) - vite-node: 2.1.7(@types/node@20.17.9) + vite-node: 2.1.8(@types/node@20.17.9) why-is-node-running: 2.3.0 transitivePeerDependencies: - less @@ -11591,13 +11591,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -11712,8 +11712,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 @@ -11721,7 +11721,7 @@ packages: rollup-plugin-copy: 3.5.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -11750,15 +11750,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 prettier: 3.4.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -11787,14 +11787,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -11818,48 +11818,44 @@ packages: dev: false file:projects/ai-form-recognizer.tgz: - resolution: {integrity: sha512-EBXzinBP+gU+pPWHZxAyHwbHVnUEwNUtT5zKziC9PBpBJAhN+If2ydDfSzm60VgY0m6xVuiq68UZB8bF7+TE1Q==, tarball: file:projects/ai-form-recognizer.tgz} + resolution: {integrity: sha512-ZiQoRK272m3Q5fM4MGB22td80/epACHLgCUtVzhpRcB5V4+pNKR+UGoSeASRrg1HRI3KJBqJwveLkeuLlcO4gA==, tarball: file:projects/ai-form-recognizer.tgz} name: '@rush-temp/ai-form-recognizer' version: 0.0.0 dependencies: - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 '@azure/core-lro': 2.7.2 '@rollup/plugin-node-resolve': 15.3.0(rollup@4.28.0) - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.67 - '@types/sinon': 17.0.3 - chai: 4.3.10 - chai-as-promised: 7.1.2(chai@4.3.10) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-sourcemap-loader: 0.3.8 magic-string: 0.30.14 - mocha: 10.8.2 - nyc: 17.1.0 + playwright: 1.49.0 prettier: 3.4.1 rollup: 4.28.0 - sinon: 17.0.1 - ts-node: 10.9.2(@types/node@18.19.67)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@edge-runtime/vm' + - '@vitest/ui' - bufferutil - - debug + - happy-dom - jiti + - jsdom + - less + - lightningcss + - msw + - safaridriver + - sass + - sass-embedded + - stylus + - sugarss - supports-color + - terser - utf-8-validate + - vite + - webdriverio dev: false file:projects/ai-inference.tgz: @@ -11871,8 +11867,8 @@ packages: '@azure/core-lro': 2.7.2 '@opentelemetry/api': 1.9.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 @@ -11880,7 +11876,7 @@ packages: source-map-support: 0.5.21 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -12150,15 +12146,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -12187,8 +12183,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 @@ -12196,7 +12192,7 @@ packages: tshy: 1.18.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -12225,15 +12221,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -12267,7 +12263,7 @@ packages: '@types/node': 18.19.67 '@types/yargs': 17.0.33 '@types/yargs-parser': 21.0.3 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) chalk: 4.1.2 eslint: 9.16.0 glob: 10.4.5 @@ -12278,7 +12274,7 @@ packages: rollup: 4.28.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) yargs: 17.7.2 yargs-parser: 21.1.1 transitivePeerDependencies: @@ -12306,14 +12302,14 @@ packages: dependencies: '@azure-rest/core-client': 1.4.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 mime: 4.0.4 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -12343,15 +12339,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 nock: 13.5.6 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -13356,14 +13352,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -13392,15 +13388,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 prettier: 3.4.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -13479,15 +13475,15 @@ packages: dependencies: '@microsoft/api-extractor': 7.48.0(@types/node@18.19.67) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tshy: 2.0.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -13586,14 +13582,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -14309,15 +14305,15 @@ packages: dependencies: '@microsoft/api-extractor': 7.48.0(@types/node@18.19.67) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 8.57.1 playwright: 1.49.0 tshy: 2.0.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -14535,15 +14531,15 @@ packages: dependencies: '@microsoft/api-extractor': 7.48.0(@types/node@18.19.67) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tshy: 2.0.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -14740,15 +14736,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 prettier: 3.4.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -15040,15 +15036,15 @@ packages: dependencies: '@microsoft/api-extractor': 7.48.0(@types/node@18.19.67) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 8.57.1 playwright: 1.49.0 tshy: 2.0.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -15338,14 +15334,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -15998,15 +15994,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 prettier: 3.4.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -17807,15 +17803,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 prettier: 3.4.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18195,15 +18191,15 @@ packages: dependencies: '@microsoft/api-extractor': 7.48.0(@types/node@18.19.67) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tshy: 2.0.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18278,14 +18274,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18501,8 +18497,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 dotenv: 16.4.5 eslint: 9.16.0 @@ -18513,7 +18509,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 util: 0.12.5 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18542,15 +18538,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 moment: 2.30.1 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18580,14 +18576,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18617,8 +18613,8 @@ packages: dependencies: '@azure/communication-phone-numbers': 1.2.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 @@ -18626,7 +18622,7 @@ packages: playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18656,15 +18652,15 @@ packages: dependencies: '@azure/communication-signaling': 1.0.0-beta.29 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18693,8 +18689,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 events: 3.3.0 inherits: 2.0.4 @@ -18704,7 +18700,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 util: 0.12.5 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18734,14 +18730,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18772,15 +18768,15 @@ packages: '@azure/core-lro': 2.7.2 '@azure/msal-node': 2.16.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18810,8 +18806,8 @@ packages: dependencies: '@types/node': 18.19.67 '@types/uuid': 8.3.4 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 @@ -18821,7 +18817,7 @@ packages: typescript: 5.6.3 util: 0.12.5 uuid: 8.3.2 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18850,15 +18846,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18887,8 +18883,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 @@ -18896,7 +18892,7 @@ packages: playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18926,15 +18922,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -18964,15 +18960,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19001,14 +18997,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19038,15 +19034,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19075,15 +19071,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19114,8 +19110,8 @@ packages: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 '@types/uuid': 8.3.4 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 @@ -19124,7 +19120,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 uuid: 8.3.2 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19154,15 +19150,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 inherits: 2.0.4 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19191,12 +19187,12 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -19264,8 +19260,8 @@ packages: '@types/debug': 4.1.12 '@types/node': 18.19.67 '@types/ws': 8.5.13 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 debug: 4.3.7(supports-color@8.1.1) eslint: 9.16.0 @@ -19276,7 +19272,7 @@ packages: rhea-promise: 3.0.3 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) ws: 8.18.0 transitivePeerDependencies: - '@edge-runtime/vm' @@ -19307,13 +19303,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19342,13 +19338,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19377,13 +19373,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19412,12 +19408,12 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19446,13 +19442,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19481,13 +19477,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19516,15 +19512,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.5 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19554,8 +19550,8 @@ packages: dependencies: '@types/express': 4.17.21 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 express: 4.21.1 @@ -19563,7 +19559,7 @@ packages: tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19592,13 +19588,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19627,13 +19623,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19663,14 +19659,14 @@ packages: dependencies: '@types/node': 18.19.67 '@types/trusted-types': 2.0.7 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 fast-xml-parser: 4.5.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19738,12 +19734,12 @@ packages: dependencies: '@types/node': 20.17.9 '@types/prompts': 2.4.9 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 prompts: 2.4.2 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@20.17.9) + vitest: 2.1.8(@types/node@20.17.9) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -19768,14 +19764,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19803,38 +19799,16 @@ packages: name: '@rush-temp/defender-easm' version: 0.0.0 dependencies: - '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 '@azure/core-lro': 2.7.2 - '@types/chai': 4.3.20 - '@types/mocha': 10.0.10 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) - chai: 4.3.10 + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-json-preprocessor: 0.3.3(karma@6.4.4) - karma-json-to-file-reporter: 1.0.1 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-source-map-support: 1.4.0 - karma-sourcemap-loader: 0.3.8 - mocha: 10.8.2 - nyc: 17.1.0 playwright: 1.49.0 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.67)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -19882,7 +19856,7 @@ packages: '@types/minimist': 1.2.5 '@types/node': 18.19.67 '@types/semver': 7.5.8 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 builtin-modules: 3.3.0 chalk: 4.1.2 @@ -19911,7 +19885,7 @@ packages: typescript: 5.6.3 typescript-eslint: 8.16.0(eslint@9.16.0)(typescript@5.6.3) uglify-js: 3.19.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) yaml: 2.6.1 transitivePeerDependencies: - '@edge-runtime/vm' @@ -19940,14 +19914,14 @@ packages: dependencies: '@azure/core-lro': 3.0.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20074,8 +20048,8 @@ packages: '@types/debug': 4.1.12 '@types/node': 18.19.67 '@types/ws': 7.4.7 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 chai: 5.1.2 chai-as-promised: 8.0.1(chai@5.1.2) @@ -20092,7 +20066,7 @@ packages: tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) ws: 8.18.0 transitivePeerDependencies: - '@edge-runtime/vm' @@ -20118,44 +20092,20 @@ packages: dev: false file:projects/eventgrid-namespaces.tgz: - resolution: {integrity: sha512-OmB6m/JuPn29AEB/+j2nIzQ45u9gys+CT9eXmxsU3ZztIEQFBf7lGxAmpzs6RzGzBA2ZYAj1Q/wJfB4utApm2A==, tarball: file:projects/eventgrid-namespaces.tgz} + resolution: {integrity: sha512-31t8p/MJncx5h2r4hTfU+RD+pLoChbFxxot6xQdioVpsJyH1Wyrl1A26yV4uAyzO0ooKushRrIUj2GbVpb5Rig==, tarball: file:projects/eventgrid-namespaces.tgz} name: '@rush-temp/eventgrid-namespaces' version: 0.0.0 dependencies: - '@azure-rest/core-client': 1.4.0 - '@azure-tools/test-credential': 1.3.1 - '@azure-tools/test-recorder': 3.5.2 - '@types/chai': 4.3.20 - '@types/chai-as-promised': 7.1.8 - '@types/mocha': 10.0.10 '@types/node': 18.19.67 - '@types/sinon': 17.0.3 - '@types/uuid': 8.3.4 - '@vitest/browser': 2.1.6(@types/node@18.19.66)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.6) - '@vitest/coverage-istanbul': 2.1.6(vitest@2.1.6) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 - chai: 4.3.10 - chai-as-promised: 7.1.2(chai@4.3.10) dotenv: 16.4.5 eslint: 9.16.0 - karma: 6.4.4 - karma-chrome-launcher: 3.2.0 - karma-coverage: 2.2.1 - karma-env-preprocessor: 0.1.1 - karma-firefox-launcher: 2.1.3 - karma-junit-reporter: 2.0.1(karma@6.4.4) - karma-mocha: 2.0.1 - karma-mocha-reporter: 2.2.5(karma@6.4.4) - karma-sourcemap-loader: 0.3.8 - mocha: 10.8.2 - nyc: 17.1.0 playwright: 1.49.0 - sinon: 17.0.1 - source-map-support: 0.5.21 - ts-node: 10.9.2(@types/node@18.19.67)(typescript@5.6.3) tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.6(@types/node@18.19.66)(@vitest/browser@2.1.6) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20173,11 +20123,9 @@ packages: - sugarss - supports-color - terser - - tsx - utf-8-validate - vite - webdriverio - - yaml dev: false file:projects/eventgrid-system-events.tgz: @@ -20186,13 +20134,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20221,14 +20169,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20261,8 +20209,8 @@ packages: '@types/chai-as-promised': 7.1.8 '@types/debug': 4.1.12 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 chai-as-promised: 8.0.1(chai@4.3.10) debug: 4.3.7(supports-color@8.1.1) @@ -20274,7 +20222,7 @@ packages: tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20309,8 +20257,8 @@ packages: '@types/chai-as-promised': 7.1.8 '@types/debug': 4.1.12 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 chai-as-promised: 8.0.1(chai@4.3.10) debug: 4.3.7(supports-color@8.1.1) @@ -20321,7 +20269,7 @@ packages: stream: 0.0.3 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20394,15 +20342,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 loupe: 3.1.2 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20432,15 +20380,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20470,15 +20418,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20508,15 +20456,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20548,13 +20496,13 @@ packages: '@azure/msal-node': 2.16.2 '@azure/msal-node-extensions': 1.5.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20655,8 +20603,8 @@ packages: '@types/ms': 0.7.34 '@types/node': 18.19.67 '@types/stoppable': 1.1.3 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 events: 3.3.0 @@ -20670,7 +20618,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 util: 0.12.5 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20742,14 +20690,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 events: 3.3.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20779,14 +20727,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20816,14 +20764,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20852,13 +20800,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20888,15 +20836,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dayjs: 1.11.13 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20926,13 +20874,13 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -20958,15 +20906,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -20995,14 +20943,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21032,13 +20980,13 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21068,15 +21016,15 @@ packages: dependencies: '@azure/maps-common': 1.0.0-beta.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21106,15 +21054,15 @@ packages: dependencies: '@azure/maps-common': 1.0.0-beta.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21145,15 +21093,15 @@ packages: '@azure-rest/core-client': 1.4.0 '@azure/maps-common': 1.0.0-beta.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21184,15 +21132,15 @@ packages: '@azure/core-lro': 2.7.2 '@azure/maps-common': 1.0.0-beta.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21326,14 +21274,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 rhea: 3.0.3 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -21359,15 +21307,15 @@ packages: dependencies: '@types/node': 18.19.67 '@types/pako': 2.0.3 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 pako: 2.1.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21407,15 +21355,15 @@ packages: '@opentelemetry/sdk-trace-node': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/semantic-conventions': 1.28.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 nock: 13.5.6 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21493,14 +21441,14 @@ packages: '@opentelemetry/sdk-trace-base': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/sdk-trace-node': 1.28.0(@opentelemetry/api@1.9.0) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21529,15 +21477,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21566,15 +21514,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 - openai: 4.73.1 + openai: 4.74.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -21610,14 +21558,14 @@ packages: '@opentelemetry/sdk-trace-base': 1.28.0(@opentelemetry/api@1.9.0) '@opentelemetry/sdk-trace-node': 1.28.0(@opentelemetry/api@1.9.0) '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22096,14 +22044,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22133,14 +22081,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22169,15 +22117,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22206,14 +22154,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22243,15 +22191,15 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22280,15 +22228,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) autorest: 3.7.1 dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22362,8 +22310,8 @@ packages: '@rollup/plugin-inject': 5.0.5(rollup@4.28.0) '@types/node': 18.19.67 '@types/uuid': 8.3.4 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) avsc: 5.7.7 buffer: 6.0.3 dotenv: 16.4.5 @@ -22375,7 +22323,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 uuid: 8.3.2 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22533,8 +22481,8 @@ packages: '@types/node': 18.19.67 '@types/uuid': 8.3.4 '@types/ws': 7.4.7 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) buffer: 6.0.3 chai: 5.1.2 chai-as-promised: 8.0.1(chai@5.1.2) @@ -22553,7 +22501,7 @@ packages: tslib: 2.8.1 typescript: 5.6.3 uuid: 8.3.2 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) ws: 8.18.0 transitivePeerDependencies: - '@edge-runtime/vm' @@ -22849,14 +22797,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22885,14 +22833,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22922,14 +22870,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22958,14 +22906,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -22994,13 +22942,13 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23029,14 +22977,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23065,14 +23013,14 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23102,14 +23050,14 @@ packages: dependencies: '@azure/core-lro': 2.7.2 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23183,15 +23131,15 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) concurrently: 8.2.2 eslint: 9.16.0 express: 4.21.1 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23221,14 +23169,14 @@ packages: dependencies: '@opentelemetry/api': 1.9.0 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) - '@vitest/expect': 2.1.7 + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) + '@vitest/expect': 2.1.8 eslint: 9.16.0 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23292,8 +23240,8 @@ packages: version: 0.0.0 dependencies: '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) eslint: 9.16.0 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.5 @@ -23301,7 +23249,7 @@ packages: tslib: 2.8.1 tsx: 4.19.2 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23349,7 +23297,7 @@ packages: dependencies: '@azure/web-pubsub-client': 1.0.0-beta.2 '@types/node': 18.19.67 - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) cpy-cli: 5.0.0 dotenv: 16.4.5 eslint: 9.16.0 @@ -23359,7 +23307,7 @@ packages: protobufjs-cli: 1.1.3(protobufjs@7.4.0) tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/browser' @@ -23440,14 +23388,14 @@ packages: '@types/express-serve-static-core': 4.19.6 '@types/jsonwebtoken': 9.0.7 '@types/node': 18.19.67 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 express: 4.21.1 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) transitivePeerDependencies: - '@edge-runtime/vm' - '@vitest/ui' @@ -23479,15 +23427,15 @@ packages: '@types/jsonwebtoken': 9.0.7 '@types/node': 18.19.67 '@types/ws': 8.5.13 - '@vitest/browser': 2.1.7(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.7) - '@vitest/coverage-istanbul': 2.1.7(vitest@2.1.7) + '@vitest/browser': 2.1.8(@types/node@18.19.67)(playwright@1.49.0)(typescript@5.6.3)(vitest@2.1.8) + '@vitest/coverage-istanbul': 2.1.8(vitest@2.1.8) dotenv: 16.4.5 eslint: 9.16.0 jsonwebtoken: 9.0.2 playwright: 1.49.0 tslib: 2.8.1 typescript: 5.6.3 - vitest: 2.1.7(@types/node@18.19.67)(@vitest/browser@2.1.7) + vitest: 2.1.8(@types/node@18.19.67)(@vitest/browser@2.1.8) ws: 8.18.0 transitivePeerDependencies: - '@edge-runtime/vm' diff --git a/sdk/formrecognizer/ai-form-recognizer/.nycrc b/sdk/formrecognizer/ai-form-recognizer/.nycrc deleted file mode 100644 index 0ae05d8dba5c..000000000000 --- a/sdk/formrecognizer/ai-form-recognizer/.nycrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "include": [ - "dist-esm/src/**/*.js" - ], - "exclude": [ - "**/*.d.ts", - "dist-esm/src/utils/utils.browser.js", - "dist-esm/src/generated/src/**/*.js" - ], - "reporter": [ - "text-summary", - "html", - "cobertura" - ], - "exclude-after-remap":false, - "sourceMap": true, - "instrument": true, - "all": true -} diff --git a/sdk/formrecognizer/ai-form-recognizer/api-extractor.json b/sdk/formrecognizer/ai-form-recognizer/api-extractor.json index 9b1e9378da09..8384f8dd6796 100644 --- a/sdk/formrecognizer/ai-form-recognizer/api-extractor.json +++ b/sdk/formrecognizer/ai-form-recognizer/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "types/src/index.d.ts", + "mainEntryPointFilePath": "dist/esm/index.d.ts", "docModel": { "enabled": true }, @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/ai-form-recognizer.d.ts" + "publicTrimmedFilePath": "dist/ai-form-recognizer.d.ts" }, "messages": { "tsdocMessageReporting": { diff --git a/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs b/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs new file mode 100644 index 000000000000..7161799fbe77 --- /dev/null +++ b/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs @@ -0,0 +1,14 @@ +import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; + +export default [ + ...azsdkEslint.configs.recommended, + { + // shebang needs to come first + files: ["src/bin/gen-model.ts"], + rules: { + "n/no-process-exit": "off", + "n/hashbang": "off", + "@azure/azure-sdk/github-source-headers": "off", + }, + }, +]; diff --git a/sdk/formrecognizer/ai-form-recognizer/karma.conf.js b/sdk/formrecognizer/ai-form-recognizer/karma.conf.js deleted file mode 100644 index 2c19070e050f..000000000000 --- a/sdk/formrecognizer/ai-form-recognizer/karma.conf.js +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// https://github.com/karma-runner/karma-chrome-launcher -process.env.CHROME_BIN = require("puppeteer").executablePath(); -const { relativeRecordingsPath } = require("@azure-tools/test-recorder"); -require("dotenv").config(); - -process.env.RECORDINGS_RELATIVE_PATH = relativeRecordingsPath(); - -module.exports = function (config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: "./", - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ["mocha"], - - plugins: [ - "karma-mocha", - "karma-mocha-reporter", - "karma-chrome-launcher", - "karma-firefox-launcher", - "karma-env-preprocessor", - "karma-coverage", - "karma-sourcemap-loader", - "karma-junit-reporter", - ], - - // list of files / patterns to load in the browser - files: [ - "dist-test/index.browser.js", - { pattern: "dist-test/index.browser.js.map", type: "html", included: false, served: true }, - ], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - "**/*.js": ["sourcemap", "env"], - // 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 - //"dist-test/index.browser.js": ["coverage"] - }, - - envPreprocessor: [ - "TEST_MODE", - "FORM_RECOGNIZER_ENDPOINT", - "FORM_RECOGNIZER_API_KEY", - "FORM_RECOGNIZER_TRAINING_CONTAINER_SAS_URL", - "FORM_RECOGNIZER_TESTING_CONTAINER_SAS_URL", - "FORM_RECOGNIZER_SELECTION_MARK_STORAGE_CONTAINER_SAS_URL", - "FORM_RECOGNIZER_TARGET_RESOURCE_ID", - "FORM_RECOGNIZER_TARGET_RESOURCE_REGION", - "AZURE_CLIENT_ID", - "AZURE_CLIENT_SECRET", - "AZURE_TENANT_ID", - "RECORDINGS_RELATIVE_PATH", - ], - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ["mocha", "coverage", "junit"], - - coverageReporter: { - // specify a common output directory - dir: "coverage-browser/", - 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: { - outputDir: "", // results will be saved as $outputDir/$browserName.xml - outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile - suite: "", // suite will become the package name attribute in xml testsuite element - useBrowserName: false, // add browser name to report and classes names - nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element - classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element - properties: {}, // key value pair of properties to add to the section of the report - }, - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // --no-sandbox allows our tests to run in Linux without having to change the system. - // --disable-web-security allows us to authenticate from the browser without having to write tests using interactive auth, which would be far more complex. - browsers: ["ChromeHeadlessNoSandbox"], - customLaunchers: { - ChromeHeadlessNoSandbox: { - base: "ChromeHeadless", - flags: ["--no-sandbox", "--disable-web-security"], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: true, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: 1, - - browserNoActivityTimeout: 600000, - browserDisconnectTimeout: 10000, - browserDisconnectTolerance: 3, - - client: { - mocha: { - // change Karma's debug.html to the mocha web reporter - reporter: "html", - timeout: "600000", - }, - }, - }); -}; diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index 9d0de3133dfa..e0b433daa569 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -13,9 +13,9 @@ "cloud" ], "license": "MIT", - "main": "./dist/index.js", - "module": "./dist-esm/src/index.js", - "types": "./types/ai-form-recognizer.d.ts", + "main": "./dist/commonjs/index.js", + "module": "./dist/esm/index.js", + "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { @@ -23,9 +23,6 @@ }, "files": [ "dist/", - "dist-esm/src/", - "dom-shims.d.ts", - "types/ai-form-recognizer.d.ts", "README.md", "LICENSE" ], @@ -49,21 +46,19 @@ "node": ">=18.0.0" }, "scripts": { - "build": "npm run clean && tsc -p . && dev-tool run bundle && npm run bundle:bin && dev-tool run extract-api", - "build:browser": "tsc -p . && dev-tool run bundle", - "build:node": "tsc -p . && dev-tool run bundle", + "build": "npm run clean && dev-tool run build-package && npm run bundle:bin && dev-tool run extract-api", "build:samples": "echo Obsolete.", - "build:test": "tsc -p . && dev-tool run bundle", + "build:test": "echo Obsolete.", "bundle:bin": "rollup -c rollup.config.bin.mjs 2>&1", - "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"bin/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", + "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-* temp types *.tgz *.log test-results.*xml", "execute:samples": "dev-tool samples run samples-dev/", - "extract-api": "tsc -p . && dev-tool run extract-api", - "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"bin/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", + "extract-api": "dev-tool run build-package && dev-tool run extract-api", + "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md", "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "dev-tool run test:browser", - "integration-test:node": "dev-tool run test:node-js-input -- --timeout 1200000 --exclude 'dist-esm/**/browser/*.spec.js' \"dist-esm/test/**/*.spec.js\" \"dist-esm/test/**/node/*.spec.js\"", + "integration-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "integration-test:node": "dev-tool run test:vitest", "lint": "eslint package.json api-extractor.json README.md src test", "lint:fix": "eslint package.json api-extractor.json README.md src test --fix --fix-type [problem,suggestion]", "pack": "npm pack 2>&1", @@ -71,8 +66,8 @@ "test:browser": "npm run build:test && npm run unit-test:browser", "test:node": "npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "dev-tool run test:browser", - "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' \"test/**/*.spec.ts\" \"test/**/node/*.spec.ts\"", + "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", + "unit-test:node": "dev-tool run test:vitest", "update-snippets": "echo skipped" }, "sideEffects": false, @@ -90,38 +85,24 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@azure-tools/test-credential": "^1.0.0", - "@azure-tools/test-recorder": "^3.0.0", - "@azure-tools/test-utils": "^1.0.1", + "@azure-tools/test-credential": "^2.0.0", + "@azure-tools/test-recorder": "^4.1.0", + "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", "@rollup/plugin-node-resolve": "^15.0.0", - "@types/chai": "^4.1.6", - "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", - "@types/sinon": "^17.0.0", - "chai": "^4.2.0", - "chai-as-promised": "^7.1.1", + "@vitest/browser": "^2.1.6", + "@vitest/coverage-istanbul": "^2.1.6", "dotenv": "^16.0.0", "eslint": "^9.9.0", - "karma": "^6.2.0", - "karma-chrome-launcher": "^3.0.0", - "karma-coverage": "^2.0.0", - "karma-env-preprocessor": "^0.1.1", - "karma-firefox-launcher": "^2.1.3", - "karma-junit-reporter": "^2.0.1", - "karma-mocha": "^2.0.1", - "karma-mocha-reporter": "^2.2.5", - "karma-sourcemap-loader": "^0.3.8", "magic-string": "~0.30.10", - "mocha": "^10.0.0", - "nyc": "^17.0.0", + "playwright": "^1.49.0", "prettier": "^3.3.3", "rollup": "^4.0.0", - "sinon": "^17.0.0", - "ts-node": "^10.0.0", - "typescript": "~5.6.2" + "typescript": "~5.6.2", + "vitest": "^2.1.6" }, "//sampleConfiguration": { "skip": [ @@ -173,5 +154,43 @@ "javascript/assets/w2/w2-single.png" ] } + }, + "type": "module", + "tshy": { + "exports": { + "./package.json": "./package.json", + ".": "./src/index.ts" + }, + "dialects": [ + "esm", + "commonjs" + ], + "esmDialects": [ + "browser", + "react-native" + ], + "selfLink": false + }, + "browser": "./dist/browser/index.js", + "exports": { + "./package.json": "./package.json", + ".": { + "browser": { + "types": "./dist/browser/index.d.ts", + "default": "./dist/browser/index.js" + }, + "react-native": { + "types": "./dist/react-native/index.d.ts", + "default": "./dist/react-native/index.js" + }, + "import": { + "types": "./dist/esm/index.d.ts", + "default": "./dist/esm/index.js" + }, + "require": { + "types": "./dist/commonjs/index.d.ts", + "default": "./dist/commonjs/index.js" + } + } } } diff --git a/sdk/formrecognizer/ai-form-recognizer/rollup.config.bin.mjs b/sdk/formrecognizer/ai-form-recognizer/rollup.config.bin.mjs index c06a709cf7c9..6026bd6e9185 100644 --- a/sdk/formrecognizer/ai-form-recognizer/rollup.config.bin.mjs +++ b/sdk/formrecognizer/ai-form-recognizer/rollup.config.bin.mjs @@ -1,8 +1,10 @@ -import fs from "fs"; -import MagicString from "magic-string"; +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +import { chmodSync, statSync } from "node:fs"; +import MagicString from "magic-string"; import nodeResolve from "@rollup/plugin-node-resolve"; -import { readFile } from "fs/promises"; +import { readFile } from "node:fs/promises"; // Some magic code to preserve the shebang and set the executable bit on the generated bundle. const executable = (options = {}) => { @@ -32,10 +34,10 @@ const executable = (options = {}) => { }, writeBundle() { if (fileName && process.platform !== "win32") { - const stat = fs.statSync(fileName); + const stat = statSync(fileName); // chmod a+x -> 0o111 - fs.chmodSync(fileName, stat.mode | 0o111); + chmodSync(fileName, stat.mode | 0o111); } }, }; @@ -45,7 +47,7 @@ const pkg = JSON.parse(await readFile("./package.json", { encoding: "utf-8" })); /** @type {import('rollup').RollupOptions} */ const config = { - input: ["dist-esm/bin/gen-model.js"], + input: ["dist/esm/bin/gen-model.js"], output: { format: "cjs", file: "dist-bin/gen-model.js", diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeBusinessCard.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeBusinessCard.ts index cf1b909cb260..2b45da39ff91 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeBusinessCard.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeBusinessCard.ts @@ -16,7 +16,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltBusinessCardModel } from "./prebuilt/prebuilt-businessCard"; +import { PrebuiltBusinessCardModel } from "./prebuilt/prebuilt-businessCard.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeIdentityDocument.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeIdentityDocument.ts index f648588d2534..ba9f29a29d4d 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeIdentityDocument.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeIdentityDocument.ts @@ -16,7 +16,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltIdDocumentModel } from "./prebuilt/prebuilt-idDocument"; +import { PrebuiltIdDocumentModel } from "./prebuilt/prebuilt-idDocument.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeInvoice.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeInvoice.ts index 8126f7626485..754686e4e0dd 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeInvoice.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeInvoice.ts @@ -15,7 +15,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltInvoiceModel } from "./prebuilt/prebuilt-invoice"; +import { PrebuiltInvoiceModel } from "./prebuilt/prebuilt-invoice.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeReceipt.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeReceipt.ts index 6593bfe518b6..e6a72098b7b7 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeReceipt.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeReceipt.ts @@ -15,7 +15,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltReceiptModel } from "./prebuilt/prebuilt-receipt"; +import { PrebuiltReceiptModel } from "./prebuilt/prebuilt-receipt.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeW2TaxForm.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeW2TaxForm.ts index 669e3c688ced..5db4d78cdbfd 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeW2TaxForm.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/analyzeW2TaxForm.ts @@ -15,10 +15,10 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltTaxUsW2Model } from "./prebuilt/prebuilt-tax.us.w2"; +import { PrebuiltTaxUsW2Model } from "./prebuilt/prebuilt-tax.us.w2.js"; -import fs from "fs"; -import path from "path"; +import fs from "node:fs"; +import path from "node:path"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractGeneralDocument.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractGeneralDocument.ts index afd3ae423c55..9adc4fec26ca 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractGeneralDocument.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractGeneralDocument.ts @@ -11,7 +11,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltDocumentModel } from "./prebuilt/prebuilt-document"; +import { PrebuiltDocumentModel } from "./prebuilt/prebuilt-document.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractLayout.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractLayout.ts index 29477d27d2ca..026453a226c1 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractLayout.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/extractLayout.ts @@ -12,7 +12,7 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltLayoutModel } from "./prebuilt/prebuilt-layout"; +import { PrebuiltLayoutModel } from "./prebuilt/prebuilt-layout.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/samples-dev/readDocument.ts b/sdk/formrecognizer/ai-form-recognizer/samples-dev/readDocument.ts index 9a673094c1bb..34e1ff415280 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples-dev/readDocument.ts +++ b/sdk/formrecognizer/ai-form-recognizer/samples-dev/readDocument.ts @@ -9,8 +9,8 @@ import { AzureKeyCredential, DocumentAnalysisClient } from "@azure/ai-form-recognizer"; -import { PrebuiltReadModel } from "./prebuilt/prebuilt-read"; -import { getTextOfSpans } from "./utils"; +import { PrebuiltReadModel } from "./prebuilt/prebuilt-read.js"; +import { getTextOfSpans } from "./utils.js"; import * as dotenv from "dotenv"; dotenv.config(); diff --git a/sdk/formrecognizer/ai-form-recognizer/bin/defaultFields.ts b/sdk/formrecognizer/ai-form-recognizer/src/bin/defaultFields.ts similarity index 96% rename from sdk/formrecognizer/ai-form-recognizer/bin/defaultFields.ts rename to sdk/formrecognizer/ai-form-recognizer/src/bin/defaultFields.ts index f831e751900b..5cbbb1afb6c9 100644 --- a/sdk/formrecognizer/ai-form-recognizer/bin/defaultFields.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/bin/defaultFields.ts @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { DocumentModelDetails } from "../src"; -import { Field } from "./utils"; +import type { DocumentModelDetails } from "../index.js"; +import type { Field } from "./utils.js"; /** * @internal diff --git a/sdk/formrecognizer/ai-form-recognizer/bin/gen-model.ts b/sdk/formrecognizer/ai-form-recognizer/src/bin/gen-model.ts similarity index 85% rename from sdk/formrecognizer/ai-form-recognizer/bin/gen-model.ts rename to sdk/formrecognizer/ai-form-recognizer/src/bin/gen-model.ts index af5c5d166878..06e46b74ee7a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/bin/gen-model.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/bin/gen-model.ts @@ -5,21 +5,19 @@ // This file is ignored by the linter because it is impossible to move the copyright header above the shebang line. -import { AzureKeyCredential, KeyCredential, TokenCredential } from "@azure/core-auth"; -import type { DefaultAzureCredential } from "@azure/identity"; - -import { writeFile } from "fs"; - -import { DocumentModelAdministrationClient } from "../src/documentModelAdministrationClient"; -import { writeModelCode } from "./writeModelCode"; - +import type { KeyCredential, TokenCredential } from "@azure/core-auth"; +import { AzureKeyCredential } from "@azure/core-auth"; +import { DefaultAzureCredential } from "@azure/identity"; +import { writeFile } from "node:fs/promises"; +import { DocumentModelAdministrationClient } from "../documentModelAdministrationClient.js"; +import { writeModelCode } from "./writeModelCode.js"; import { format } from "prettier"; /** * @internal * Prints a help message for the gen-model command. */ -function printHelp() { +function printHelp(): void { console.error(` Usage: gen-model [options] @@ -51,9 +49,9 @@ from that package will be used. One of these methods must be available to authenticate with the service.`); } -async function tryAad(): Promise { +function tryAad(): DefaultAzureCredential { try { - return new (await import("@azure/identity")).DefaultAzureCredential(); + return new DefaultAzureCredential(); } catch { throw new Error(); } @@ -122,7 +120,7 @@ async function main(): Promise { credential = new AzureKeyCredential(apiKey); } else { try { - credential = await tryAad(); + credential = tryAad(); console.error("Using Azure Active Directory authentication (DefaultAzureCredential)."); } catch { throw new Error( @@ -149,12 +147,7 @@ async function main(): Promise { // output is only refined in this context, so assigning it to "path" preserves that const path = output; - await new Promise((resolve, reject) => { - writeFile(path, data, null, (error) => { - if (error) reject(error); - else resolve(); - }); - }); + await writeFile(path, data); } else { process.stdout.write(data); } diff --git a/sdk/formrecognizer/ai-form-recognizer/bin/utils.ts b/sdk/formrecognizer/ai-form-recognizer/src/bin/utils.ts similarity index 100% rename from sdk/formrecognizer/ai-form-recognizer/bin/utils.ts rename to sdk/formrecognizer/ai-form-recognizer/src/bin/utils.ts diff --git a/sdk/formrecognizer/ai-form-recognizer/bin/writeModelCode.ts b/sdk/formrecognizer/ai-form-recognizer/src/bin/writeModelCode.ts similarity index 97% rename from sdk/formrecognizer/ai-form-recognizer/bin/writeModelCode.ts rename to sdk/formrecognizer/ai-form-recognizer/src/bin/writeModelCode.ts index 8dccb16cf15d..bd08034ed025 100644 --- a/sdk/formrecognizer/ai-form-recognizer/bin/writeModelCode.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/bin/writeModelCode.ts @@ -1,12 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { EOL } from "os"; -import { DocumentTypeDetails, DocumentModelDetails } from "../src"; -import { DocumentFieldSchema } from "../src/generated"; -import { DocumentField } from "../src/models"; -import { defaultResultFields, getFeatures } from "./defaultFields"; -import { camelCase, capitalize, uncapitalize, Field } from "./utils"; +import { EOL } from "node:os"; +import type { DocumentTypeDetails, DocumentModelDetails } from "../index.js"; +import type { DocumentFieldSchema } from "../generated/index.js"; +import type { DocumentField } from "../models/index.js"; +import { defaultResultFields, getFeatures } from "./defaultFields.js"; +import type { Field } from "./utils.js"; +import { camelCase, capitalize, uncapitalize } from "./utils.js"; // NOTE: currently, this command is set up to generate sample files for the SDK itself. If we want to expose this // functionality outside of samples, then we'll need to change the way the headers are generated for external use. @@ -287,7 +288,7 @@ function* writeFieldsInterfaces(docType: DocType): Iterable { interfaceName: string, description: string | undefined, fields: Record, - ) { + ): Generator { yield "/**"; yield ` * Describes the fields of \`${interfaceName}\`.`; if (description) { diff --git a/sdk/formrecognizer/ai-form-recognizer/src/documentAnalysisClient.ts b/sdk/formrecognizer/ai-form-recognizer/src/documentAnalysisClient.ts index 882dfff3598d..232c87ae0dcb 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/documentAnalysisClient.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/documentAnalysisClient.ts @@ -4,25 +4,32 @@ import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import { createTracingClient } from "@azure/core-tracing"; import type { TracingClient } from "@azure/core-tracing"; -import { FORM_RECOGNIZER_API_VERSION, SDK_VERSION } from "./constants"; -import type { AnalyzeDocumentRequest, AnalyzeResultOperation, GeneratedClient } from "./generated"; -import { accept1 } from "./generated/models/parameters"; +import { FORM_RECOGNIZER_API_VERSION, SDK_VERSION } from "./constants.js"; +import type { + AnalyzeDocumentRequest, + AnalyzeResultOperation, + GeneratedClient, +} from "./generated/index.js"; +import { accept1 } from "./generated/models/parameters.js"; import type { AnalysisOperationDefinition, AnalysisPoller, AnalyzeResult, DocumentAnalysisPollOperationState, FormRecognizerRequestBody, -} from "./lro/analysis"; -import { toAnalyzeResultFromGenerated, toDocumentAnalysisPollOperationState } from "./lro/analysis"; -import type { OperationContext } from "./lro/util/poller"; -import { lro } from "./lro/util/poller"; -import type { AnalyzeDocumentOptions } from "./options/AnalyzeDocumentOptions"; -import type { DocumentAnalysisClientOptions } from "./options/FormRecognizerClientOptions"; -import type { DocumentModel } from "./documentModel"; -import { makeServiceClient, Mappers, SERIALIZER } from "./util"; +} from "./lro/analysis.js"; +import { + toAnalyzeResultFromGenerated, + toDocumentAnalysisPollOperationState, +} from "./lro/analysis.js"; +import type { OperationContext } from "./lro/util/poller.js"; +import { lro } from "./lro/util/poller.js"; +import type { AnalyzeDocumentOptions } from "./options/AnalyzeDocumentOptions.js"; +import type { DocumentAnalysisClientOptions } from "./options/FormRecognizerClientOptions.js"; +import type { DocumentModel } from "./documentModel.js"; +import { makeServiceClient, Mappers, SERIALIZER } from "./util.js"; import type { AbortSignalLike } from "@azure/abort-controller"; -import type { ClassifyDocumentOptions } from "./options/ClassifyDocumentOptions"; +import type { ClassifyDocumentOptions } from "./options/ClassifyDocumentOptions.js"; /** * A client for interacting with the Form Recognizer service's analysis features. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/documentModel.ts b/sdk/formrecognizer/ai-form-recognizer/src/documentModel.ts index f7b567d6fec5..f68c39b772ce 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/documentModel.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/documentModel.ts @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { DocumentFieldSchema, DocumentModelDetails } from "./generated"; -import type { AnalyzedDocument, AnalyzeResult } from "./lro/analysis"; -import type { DocumentField } from "./models/fields"; -import { isAcronymic, uncapitalize } from "./util"; +import type { DocumentFieldSchema, DocumentModelDetails } from "./generated/index.js"; +import type { AnalyzedDocument, AnalyzeResult } from "./lro/analysis.js"; +import type { DocumentField } from "./models/fields.js"; +import { isAcronymic, uncapitalize } from "./util.js"; /** * A well-known model specification that supports extracting structured documents. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/documentModelAdministrationClient.ts b/sdk/formrecognizer/ai-form-recognizer/src/documentModelAdministrationClient.ts index 1e5e0f1ee8e0..a8d5d49e8d70 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/documentModelAdministrationClient.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/documentModelAdministrationClient.ts @@ -5,7 +5,7 @@ import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { TracingClient } from "@azure/core-tracing"; import { createTracingClient } from "@azure/core-tracing"; -import { SDK_VERSION } from "./constants"; +import { SDK_VERSION } from "./constants.js"; import type { CopyAuthorization, GeneratedClient, @@ -15,8 +15,8 @@ import type { OperationSummary, OperationDetails, DocumentClassifierDetails, -} from "./generated"; -import { accept1 } from "./generated/models/parameters"; +} from "./generated/index.js"; +import { accept1 } from "./generated/models/parameters.js"; import type { TrainingOperationDefinition, DocumentModelOperationState, @@ -25,10 +25,10 @@ import type { AdministrationOperationState, DocumentClassifierPoller, DocumentClassifierOperationState, -} from "./lro/administration"; -import { toTrainingPollOperationState } from "./lro/administration"; -import type { OperationContext } from "./lro/util/poller"; -import { lro } from "./lro/util/poller"; +} from "./lro/administration.js"; +import { toTrainingPollOperationState } from "./lro/administration.js"; +import type { OperationContext } from "./lro/util/poller.js"; +import { lro } from "./lro/util/poller.js"; import type { BeginCopyModelOptions, DeleteDocumentModelOptions, @@ -40,20 +40,20 @@ import type { ListModelsOptions, ListOperationsOptions, PollerOptions, -} from "./options"; -import type { BeginBuildDocumentClassifierOptions } from "./options/BuildDocumentClassifierOptions"; +} from "./options/index.js"; +import type { BeginBuildDocumentClassifierOptions } from "./options/BuildDocumentClassifierOptions.js"; import type { BeginBuildDocumentModelOptions, BeginComposeDocumentModelOptions, DocumentModelBuildMode, -} from "./options/BuildModelOptions"; -import { Mappers, SERIALIZER, makeServiceClient } from "./util"; +} from "./options/BuildModelOptions.js"; +import { Mappers, SERIALIZER, makeServiceClient } from "./util.js"; import type { FullOperationResponse, OperationOptions } from "@azure/core-client"; import type { DocumentModelSource, DocumentClassifierDocumentTypeSources, AzureBlobSource, -} from "./models"; +} from "./models/index.js"; /** * A client for interacting with the Form Recognizer service's model management features, such as creating, reading, diff --git a/sdk/formrecognizer/ai-form-recognizer/src/error.ts b/sdk/formrecognizer/ai-form-recognizer/src/error.ts index 1143e129d9c7..5a8ebc616c30 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/error.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/error.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { ErrorModel, InnerError } from "./generated"; +import type { ErrorModel, InnerError } from "./generated/index.js"; /** * Returns the innermost error that has a message field. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClient.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClient.ts index 79d1822544c8..e359e7b4452e 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClient.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClient.ts @@ -17,13 +17,13 @@ import { DocumentModelsImpl, MiscellaneousImpl, DocumentClassifiersImpl -} from "./operations"; +} from "./operations/index.js"; import { DocumentModels, Miscellaneous, DocumentClassifiers -} from "./operationsInterfaces"; -import { StringIndexType, GeneratedClientOptionalParams } from "./models"; +} from "./operationsInterfaces/index.js"; +import { StringIndexType, GeneratedClientOptionalParams } from "./models/index.js"; export class GeneratedClient extends coreClient.ServiceClient { endpoint: string; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/index.ts index d556e1eec901..42ac97fed509 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/index.ts @@ -7,6 +7,6 @@ */ /// -export * from "./models"; -export { GeneratedClient } from "./generatedClient"; -export * from "./operationsInterfaces"; +export * from "./models/index.js"; +export { GeneratedClient } from "./generatedClient.js"; +export * from "./operationsInterfaces/index.js"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/models/parameters.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/models/parameters.ts index 9e7b216d0a0e..23fadaec0e73 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/models/parameters.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/models/parameters.ts @@ -19,7 +19,7 @@ import { CopyAuthorization as CopyAuthorizationMapper, BuildDocumentClassifierRequest as BuildDocumentClassifierRequestMapper, ClassifyDocumentRequest as ClassifyDocumentRequestMapper -} from "../models/mappers"; +} from "../models/mappers.js"; export const contentType: OperationParameter = { parameterPath: "contentType", diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentClassifiers.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentClassifiers.ts index a65595c4d12c..dfb189cd889c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentClassifiers.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentClassifiers.ts @@ -7,11 +7,11 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { DocumentClassifiers } from "../operationsInterfaces"; +import { DocumentClassifiers } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { GeneratedClient } from "../generatedClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { GeneratedClient } from "../generatedClient.js"; import { DocumentClassifierDetails, DocumentClassifiersListClassifiersNextOptionalParams, @@ -31,7 +31,7 @@ import { DocumentClassifiersGetClassifyResultOptionalParams, DocumentClassifiersGetClassifyResultResponse, DocumentClassifiersListClassifiersNextResponse -} from "../models"; +} from "../models/index.js"; /// /** Class containing DocumentClassifiers operations. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentModels.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentModels.ts index 88a6fbb6e1e4..399032086379 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentModels.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/documentModels.ts @@ -7,11 +7,11 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { DocumentModels } from "../operationsInterfaces"; +import { DocumentModels } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { GeneratedClient } from "../generatedClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { GeneratedClient } from "../generatedClient.js"; import { DocumentModelSummary, DocumentModelsListModelsNextOptionalParams, @@ -40,7 +40,7 @@ import { DocumentModelsGetModelResponse, DocumentModelsDeleteModelOptionalParams, DocumentModelsListModelsNextResponse -} from "../models"; +} from "../models/index.js"; /// /** Class containing DocumentModels operations. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/index.ts index 4c1c670af64a..3498bca323aa 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/index.ts @@ -6,6 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./documentModels"; -export * from "./miscellaneous"; -export * from "./documentClassifiers"; +export * from "./documentModels.js"; +export * from "./miscellaneous.js"; +export * from "./documentClassifiers.js"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/miscellaneous.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/miscellaneous.ts index df38150c6497..cbe2cea0290b 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/miscellaneous.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operations/miscellaneous.ts @@ -7,11 +7,11 @@ */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { Miscellaneous } from "../operationsInterfaces"; +import { Miscellaneous } from "../operationsInterfaces/index.js"; import * as coreClient from "@azure/core-client"; -import * as Mappers from "../models/mappers"; -import * as Parameters from "../models/parameters"; -import { GeneratedClient } from "../generatedClient"; +import * as Mappers from "../models/mappers.js"; +import * as Parameters from "../models/parameters.js"; +import { GeneratedClient } from "../generatedClient.js"; import { OperationSummary, MiscellaneousListOperationsNextOptionalParams, @@ -22,7 +22,7 @@ import { MiscellaneousGetResourceInfoOptionalParams, MiscellaneousGetResourceInfoResponse, MiscellaneousListOperationsNextResponse -} from "../models"; +} from "../models/index.js"; /// /** Class containing Miscellaneous operations. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentClassifiers.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentClassifiers.ts index c8c2bca8fde6..e87fa870386e 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentClassifiers.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentClassifiers.ts @@ -23,7 +23,7 @@ import { DocumentClassifiersClassifyDocumentResponse, DocumentClassifiersGetClassifyResultOptionalParams, DocumentClassifiersGetClassifyResultResponse -} from "../models"; +} from "../models/index.js"; /// /** Interface representing a DocumentClassifiers. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentModels.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentModels.ts index 441a10fc75f0..883fa54a165e 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentModels.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/documentModels.ts @@ -32,7 +32,7 @@ import { DocumentModelsGetModelOptionalParams, DocumentModelsGetModelResponse, DocumentModelsDeleteModelOptionalParams -} from "../models"; +} from "../models/index.js"; /// /** Interface representing a DocumentModels. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/index.ts index 4c1c670af64a..3498bca323aa 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/index.ts @@ -6,6 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export * from "./documentModels"; -export * from "./miscellaneous"; -export * from "./documentClassifiers"; +export * from "./documentModels.js"; +export * from "./miscellaneous.js"; +export * from "./documentClassifiers.js"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/miscellaneous.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/miscellaneous.ts index 93f3ecf523dc..ba90de9a59f2 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/miscellaneous.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/operationsInterfaces/miscellaneous.ts @@ -14,7 +14,7 @@ import { MiscellaneousGetOperationResponse, MiscellaneousGetResourceInfoOptionalParams, MiscellaneousGetResourceInfoResponse -} from "../models"; +} from "../models/index.js"; /// /** Interface representing a Miscellaneous. */ diff --git a/sdk/formrecognizer/ai-form-recognizer/src/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/index.ts index 5ab8e7e3c2ed..c93e1d887f95 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/index.ts @@ -9,8 +9,8 @@ */ export { AzureKeyCredential } from "@azure/core-auth"; -export { DocumentAnalysisClient } from "./documentAnalysisClient"; -export { DocumentModelAdministrationClient } from "./documentModelAdministrationClient"; +export { DocumentAnalysisClient } from "./documentAnalysisClient.js"; +export { DocumentModelAdministrationClient } from "./documentModelAdministrationClient.js"; export { // Generated types used verbatim AddressValue, @@ -64,7 +64,7 @@ export { KnownOperationKind, KnownParagraphRole, KnownSelectionMarkState, -} from "./generated"; +} from "./generated/index.js"; export { AnalysisPoller, AnalyzeResult, @@ -72,15 +72,15 @@ export { DocumentAnalysisPollOperationState, AnalyzedDocument, FormRecognizerRequestBody, -} from "./lro/analysis"; +} from "./lro/analysis.js"; export { DocumentModelPoller, DocumentClassifierPoller, DocumentModelOperationState, DocumentClassifierOperationState, ModelAdministrationOperationStateCommon, -} from "./lro/administration"; -export * from "./models"; -export * from "./options"; -export * from "./documentModel"; -export { Point2D } from "./transforms/polygon"; +} from "./lro/administration.js"; +export * from "./models/index.js"; +export * from "./options/index.js"; +export * from "./documentModel.js"; +export { Point2D } from "./transforms/polygon.js"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/lro/administration.ts b/sdk/formrecognizer/ai-form-recognizer/src/lro/administration.ts index 4559c1023ce8..b9528fa48bfa 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/lro/administration.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/lro/administration.ts @@ -3,7 +3,7 @@ import type { PollOperationState, PollerLike } from "@azure/core-lro"; import type { OperationOptions } from "@azure/core-client"; -import { FormRecognizerError } from "../error"; +import { FormRecognizerError } from "../error.js"; import type { DocumentModelDetails, OperationStatus, @@ -12,9 +12,9 @@ import type { DocumentModelComposeOperationDetails, DocumentClassifierDetails, DocumentClassifierBuildOperationDetails, -} from "../generated"; -import type { PollerOptions } from "../options/PollerOptions"; -import type { OperationContext } from "./util/poller"; +} from "../generated/index.js"; +import type { PollerOptions } from "../options/PollerOptions.js"; +import type { OperationContext } from "./util/poller.js"; /** * The possible types of all administration operation states. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/lro/analysis.ts b/sdk/formrecognizer/ai-form-recognizer/src/lro/analysis.ts index 972a9100bbc2..34195059ed57 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/lro/analysis.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/lro/analysis.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import type { PollOperationState, PollerLike } from "@azure/core-lro"; -import { FormRecognizerError } from "../error"; +import { FormRecognizerError } from "../error.js"; import type { AnalyzeResult as GeneratedAnalyzeResult, AnalyzeResultOperation, @@ -10,17 +10,17 @@ import type { DocumentLanguage, DocumentSpan, DocumentStyle, -} from "../generated"; -import type { DocumentField } from "../models/fields"; -import { toAnalyzedDocumentFieldsFromGenerated } from "../models/fields"; -import type { PollerOptions } from "../options"; -import type { AnalyzeDocumentOptions } from "../options/AnalyzeDocumentOptions"; +} from "../generated/index.js"; +import type { DocumentField } from "../models/fields.js"; +import { toAnalyzedDocumentFieldsFromGenerated } from "../models/fields.js"; +import type { PollerOptions } from "../options/index.js"; +import type { AnalyzeDocumentOptions } from "../options/AnalyzeDocumentOptions.js"; import { toBoundingPolygon, toBoundingRegions, toDocumentTableFromGenerated, toKeyValuePairFromGenerated, -} from "../transforms/polygon"; +} from "../transforms/polygon.js"; import type { BoundingRegion, DocumentTable, @@ -29,12 +29,12 @@ import type { DocumentLine, DocumentParagraph, DocumentFormula, -} from "../models/documentElements"; +} from "../models/documentElements.js"; import type { Document as GeneratedDocument, DocumentPage as GeneratedDocumentPage, DocumentLine as GeneratedDocumentLine, -} from "../generated"; +} from "../generated/index.js"; /** * A request input that can be uploaded as binary data to the Form Recognizer service. Form Recognizer treats `string` diff --git a/sdk/formrecognizer/ai-form-recognizer/src/lro/util/delayMs.ts b/sdk/formrecognizer/ai-form-recognizer/src/lro/util/delayMs.ts index b9a7c716607e..7dc4794f3a0f 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/lro/util/delayMs.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/lro/util/delayMs.ts @@ -3,7 +3,7 @@ import type { AbortSignalLike } from "@azure/abort-controller"; import { AbortError } from "@azure/abort-controller"; -import { maybemap } from "../../util"; +import { maybemap } from "../../util.js"; type CancellationToken = Parameters[0]; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/lro/util/poller.ts b/sdk/formrecognizer/ai-form-recognizer/src/lro/util/poller.ts index d7eae754eee6..bb50f7b84613 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/lro/util/poller.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/lro/util/poller.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import type { PollOperationState, PollerLike } from "@azure/core-lro"; -import { delayMs } from "./delayMs"; +import { delayMs } from "./delayMs.js"; import type { AbortSignalLike } from "@azure/abort-controller"; import { AbortError } from "@azure/abort-controller"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/models/contentSource.ts b/sdk/formrecognizer/ai-form-recognizer/src/models/contentSource.ts index 85b5f5607f49..21413292f942 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/models/contentSource.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/models/contentSource.ts @@ -4,7 +4,7 @@ import { AzureBlobContentSource as AzureBlobSourceDetails, AzureBlobFileListContentSource as AzureBlobFileListSourceDetails, -} from "../generated"; +} from "../generated/index.js"; export { AzureBlobSourceDetails, AzureBlobFileListSourceDetails }; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/models/documentElements.ts b/sdk/formrecognizer/ai-form-recognizer/src/models/documentElements.ts index 1c3e1517efcb..0ebd6ac7c8a9 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/models/documentElements.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/models/documentElements.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { Point2D } from "../transforms/polygon"; +import type { Point2D } from "../transforms/polygon.js"; import type { DocumentSpan, DocumentTableCellKind, @@ -11,8 +11,8 @@ import type { SelectionMarkState, DocumentBarcodeKind, DocumentFormulaKind, -} from "../generated"; -import { AnalyzeDocumentOptions } from "../options"; +} from "../generated/index.js"; +import { AnalyzeDocumentOptions } from "../options/index.js"; /** Simple document elements such as words, selection marks and lines are bounded by the polygon. */ export interface HasBoundingPolygon { diff --git a/sdk/formrecognizer/ai-form-recognizer/src/models/fields.ts b/sdk/formrecognizer/ai-form-recognizer/src/models/fields.ts index dd77afe92eba..c9d749b7092c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/models/fields.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/models/fields.ts @@ -1,16 +1,16 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { DocumentSpan } from ".."; +import type { DocumentSpan } from "../index.js"; import type { AddressValue, CurrencyValue, DocumentField as GeneratedDocumentField, -} from "../generated"; -import { toBoundingRegions } from "../transforms/polygon"; -import { capitalize } from "../util"; -import type { BoundingRegion } from "./documentElements"; +} from "../generated/index.js"; +import { toBoundingRegions } from "../transforms/polygon.js"; +import { capitalize } from "../util.js"; +import type { BoundingRegion } from "./documentElements.js"; /** * Fields that are common to all DocumentField variants. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/models/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/models/index.ts index 1aff623e8f09..e53500cf340e 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/models/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/models/index.ts @@ -19,7 +19,7 @@ export { DocumentCurrencyField, DocumentAddressField, DocumentField, -} from "./fields"; +} from "./fields.js"; export { BoundingRegion, DocumentKeyValueElement, @@ -37,7 +37,7 @@ export { DocumentAnnotation, DocumentBarcode, DocumentFormula, -} from "./documentElements"; +} from "./documentElements.js"; export { DocumentModelSource, @@ -47,4 +47,4 @@ export { AzureBlobSourceDetails, AzureBlobFileListSource, AzureBlobFileListSourceDetails, -} from "./contentSource"; +} from "./contentSource.js"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/AnalyzeDocumentOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/AnalyzeDocumentOptions.ts index a62d30a203cf..4a36729f57a5 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/AnalyzeDocumentOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/AnalyzeDocumentOptions.ts @@ -6,8 +6,8 @@ import type { AnalyzeResult, AnalyzedDocument, DocumentAnalysisPollOperationState, -} from "../lro/analysis"; -import type { PollerOptions } from "./PollerOptions"; +} from "../lro/analysis.js"; +import type { PollerOptions } from "./PollerOptions.js"; /** * Add-on capabilities (features) that can be enabled for the request. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/BeginCopyModelOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/BeginCopyModelOptions.ts index 5504f2b570c6..64d6a35fd97f 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/BeginCopyModelOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/BeginCopyModelOptions.ts @@ -2,8 +2,8 @@ // Licensed under the MIT License. import type { OperationOptions } from "@azure/core-client"; -import type { DocumentModelOperationState } from "../lro/administration"; -import type { PollerOptions } from "./PollerOptions"; +import type { DocumentModelOperationState } from "../lro/administration.js"; +import type { PollerOptions } from "./PollerOptions.js"; /** * Options for the copy model operation. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/BuildDocumentClassifierOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/BuildDocumentClassifierOptions.ts index de1af5714dd5..fd4f7e7d83e1 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/BuildDocumentClassifierOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/BuildDocumentClassifierOptions.ts @@ -2,8 +2,8 @@ // Licensed under the MIT License. import type { OperationOptions } from "@azure/core-client"; -import type { DocumentClassifierOperationState } from "../lro/administration"; -import type { PollerOptions } from "./PollerOptions"; +import type { DocumentClassifierOperationState } from "../lro/administration.js"; +import type { PollerOptions } from "./PollerOptions.js"; /** * Options for the document classifier build operation. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/BuildModelOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/BuildModelOptions.ts index e1e3829559e7..191327eacd7c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/BuildModelOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/BuildModelOptions.ts @@ -2,8 +2,8 @@ // Licensed under the MIT License. import type { OperationOptions } from "@azure/core-client"; -import type { DocumentModelOperationState } from "../lro/administration"; -import type { PollerOptions } from "./PollerOptions"; +import type { DocumentModelOperationState } from "../lro/administration.js"; +import type { PollerOptions } from "./PollerOptions.js"; /** * Supported model build modes. The model build mode selects the engine that the service uses to train the model based diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/ClassifyDocumentOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/ClassifyDocumentOptions.ts index ee15d025ea3d..1a14d056d77c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/ClassifyDocumentOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/ClassifyDocumentOptions.ts @@ -2,8 +2,8 @@ // Licensed under the MIT License. import type { OperationOptions } from "@azure/core-client"; -import type { DocumentAnalysisPollOperationState } from "../lro/analysis"; -import type { PollerOptions } from "./PollerOptions"; +import type { DocumentAnalysisPollOperationState } from "../lro/analysis.js"; +import type { PollerOptions } from "./PollerOptions.js"; /** * Options for the document classification operation. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/GetCopyAuthorizationOptions.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/GetCopyAuthorizationOptions.ts index 49c6d3291f46..9ecf51183683 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/GetCopyAuthorizationOptions.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/GetCopyAuthorizationOptions.ts @@ -2,7 +2,7 @@ // Licensed under the MIT License. import type { OperationOptions } from "@azure/core-client"; -import type { CommonModelCreationOptions } from "./BuildModelOptions"; +import type { CommonModelCreationOptions } from "./BuildModelOptions.js"; /** * Options for the get copy authorization method. diff --git a/sdk/formrecognizer/ai-form-recognizer/src/options/index.ts b/sdk/formrecognizer/ai-form-recognizer/src/options/index.ts index 9f48a34392b2..d698a871b5fa 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/options/index.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/options/index.ts @@ -1,32 +1,32 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { AnalyzeDocumentOptions, FormRecognizerFeature } from "./AnalyzeDocumentOptions"; +import { AnalyzeDocumentOptions, FormRecognizerFeature } from "./AnalyzeDocumentOptions.js"; import { CreateDocumentModelOptions, CommonModelCreationOptions, DocumentModelBuildMode, BeginBuildDocumentModelOptions, BeginComposeDocumentModelOptions, -} from "./BuildModelOptions"; -import { BeginCopyModelOptions } from "./BeginCopyModelOptions"; -import { DeleteDocumentModelOptions } from "./DeleteModelOptions"; +} from "./BuildModelOptions.js"; +import { BeginCopyModelOptions } from "./BeginCopyModelOptions.js"; +import { DeleteDocumentModelOptions } from "./DeleteModelOptions.js"; import { DocumentAnalysisClientOptions, DocumentModelAdministrationClientOptions, StringIndexType, -} from "./FormRecognizerClientOptions"; -import { GetCopyAuthorizationOptions } from "./GetCopyAuthorizationOptions"; -import { GetResourceDetailsOptions } from "./GetResourceDetailsOptions"; -import { GetModelOptions } from "./GetModelOptions"; -import { GetOperationOptions } from "./GetOperationOptions"; -import { ListModelsOptions } from "./ListModelsOptions"; -import { ListOperationsOptions } from "./ListOperationsOptions"; -import { PollerOptions } from "./PollerOptions"; +} from "./FormRecognizerClientOptions.js"; +import { GetCopyAuthorizationOptions } from "./GetCopyAuthorizationOptions.js"; +import { GetResourceDetailsOptions } from "./GetResourceDetailsOptions.js"; +import { GetModelOptions } from "./GetModelOptions.js"; +import { GetOperationOptions } from "./GetOperationOptions.js"; +import { ListModelsOptions } from "./ListModelsOptions.js"; +import { ListOperationsOptions } from "./ListOperationsOptions.js"; +import { PollerOptions } from "./PollerOptions.js"; -import { BeginBuildDocumentClassifierOptions } from "./BuildDocumentClassifierOptions"; +import { BeginBuildDocumentClassifierOptions } from "./BuildDocumentClassifierOptions.js"; -import { ClassifyDocumentOptions } from "./ClassifyDocumentOptions"; +import { ClassifyDocumentOptions } from "./ClassifyDocumentOptions.js"; export { AnalyzeDocumentOptions, diff --git a/sdk/formrecognizer/ai-form-recognizer/src/transforms/polygon.ts b/sdk/formrecognizer/ai-form-recognizer/src/transforms/polygon.ts index b09104a9704a..5b2367143f95 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/transforms/polygon.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/transforms/polygon.ts @@ -5,12 +5,12 @@ import type { BoundingRegion as GeneratedBoundingRegion, DocumentKeyValuePair as GeneratedDocumentKeyValuePair, DocumentTable as GeneratedDocumentTable, -} from "../generated"; +} from "../generated/index.js"; import type { BoundingRegion, DocumentKeyValuePair, DocumentTable, -} from "../models/documentElements"; +} from "../models/documentElements.js"; /** * Represents a point used to define bounding polygons. The unit is either 'pixel' or 'inch' (See {@link LengthUnit}). diff --git a/sdk/formrecognizer/ai-form-recognizer/src/util.ts b/sdk/formrecognizer/ai-form-recognizer/src/util.ts index 13a55f434c79..dc5443c98b2a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/util.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/util.ts @@ -4,13 +4,13 @@ import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import { isTokenCredential } from "@azure/core-auth"; import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline"; -import { createFormRecognizerAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy"; -import { DEFAULT_COGNITIVE_SCOPE, FORM_RECOGNIZER_API_VERSION } from "./constants"; -import type { GeneratedClientOptionalParams } from "./generated"; -import { GeneratedClient } from "./generated"; -import { DEFAULT_GENERATED_CLIENT_OPTIONS } from "./options/FormRecognizerClientOptions"; +import { createFormRecognizerAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy.js"; +import { DEFAULT_COGNITIVE_SCOPE, FORM_RECOGNIZER_API_VERSION } from "./constants.js"; +import type { GeneratedClientOptionalParams } from "./generated/index.js"; +import { GeneratedClient } from "./generated/index.js"; +import { DEFAULT_GENERATED_CLIENT_OPTIONS } from "./options/FormRecognizerClientOptions.js"; -import * as Mappers from "./generated/models/mappers"; +import * as Mappers from "./generated/models/mappers.js"; import { createSerializer } from "@azure/core-client"; export { Mappers }; diff --git a/sdk/formrecognizer/ai-form-recognizer/test/internal/convenienceModelAssignability.ts b/sdk/formrecognizer/ai-form-recognizer/test/internal/convenienceModelAssignability.ts index 8e3c99e02f41..f78c390351dc 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/internal/convenienceModelAssignability.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/internal/convenienceModelAssignability.ts @@ -13,7 +13,7 @@ import type { DocumentWord as GeneratedDocumentWord, DocumentBarcode as GeneratedDocumentBarcode, DocumentFormula as GeneratedDocumentFormula, -} from "../../src/generated"; +} from "../../src/generated/index.js"; import type { Document, DocumentKeyValueElement, @@ -27,11 +27,11 @@ import type { DocumentAnnotation, DocumentBarcode, DocumentFormula, -} from "../../src/models/documentElements"; +} from "../../src/models/documentElements.js"; // To avoid going out-of-sync with the generated types, we test the re-constructed interfaces are following the shapes in the generated interfaces in this test file. -function checkAssign(_model: T) { +function checkAssign(_model: T): void { /* intentionally empty */ } diff --git a/sdk/formrecognizer/ai-form-recognizer/test/private/getChildren.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/private/getChildren.spec.ts index 16b61b60a1d9..0b419b00f881 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/private/getChildren.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/private/getChildren.spec.ts @@ -1,14 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { DocumentSpan } from "../../src"; +import type { DocumentSpan } from "../../src/index.js"; import { contains, fastGetChildren, iteratorFromFirstMatchBinarySearch, -} from "../../src/lro/analysis"; - -import { assert } from "chai"; +} from "../../src/lro/analysis.js"; +import { describe, it, assert } from "vitest"; interface TestData { id: number; diff --git a/sdk/formrecognizer/ai-form-recognizer/test/private/poller.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/private/poller.spec.ts index 43909d52c219..997f31f8899c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/private/poller.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/private/poller.spec.ts @@ -1,10 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { assert } from "@azure-tools/test-utils"; -import { lro } from "../../src/lro/util/poller"; -import type { PollOperationState } from "@azure/core-lro"; +import { lro } from "../../src/lro/util/poller.js"; +import type { PollerLike, PollOperationState } from "@azure/core-lro"; import { AbortError } from "@azure/abort-controller"; +import { describe, it, expect } from "vitest"; describe("custom poller", function () { it("abort signal correctly cancels polling", async function () { @@ -18,7 +18,7 @@ describe("custom poller", function () { }, 250); // Expect that awaiting result throws an error - await assert.isRejected(result, AbortError, "The operation was aborted (poll)."); + await expect(result).rejects.toThrow(AbortError); }); it("abort signal correctly cancels instantiation", async function () { @@ -29,7 +29,7 @@ describe("custom poller", function () { const operation = createOperation(abortController); // Expect that awaiting operation throws an error - await assert.isRejected(operation, AbortError, "The operation was aborted."); + await expect(operation).rejects.toThrow(AbortError); }); it("stop poller after calling pollUntilDone", async function () { @@ -41,11 +41,13 @@ describe("custom poller", function () { operation.stopPolling(); }, 750); - await assert.isRejected(result, Error, "The operation was cancelled."); + await expect(result).rejects.toThrow(Error); }); }); -function createOperation(abortController?: AbortController) { +function createOperation( + abortController?: AbortController, +): Promise, number>> { let counter = 0; return lro>( { diff --git a/sdk/formrecognizer/ai-form-recognizer/test/private/tracing.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/private/tracing.spec.ts index b29ad1d9385f..8d94fecc2cb1 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/private/tracing.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/private/tracing.spec.ts @@ -2,14 +2,16 @@ // Licensed under the MIT License. import { AzureKeyCredential } from "@azure/core-auth"; -import { DocumentAnalysisClient } from "../../src/documentAnalysisClient"; -import { DocumentModelAdministrationClient } from "../../src/documentModelAdministrationClient"; - -import { assert } from "@azure-tools/test-utils"; +import { DocumentAnalysisClient } from "../../src/documentAnalysisClient.js"; +import { DocumentModelAdministrationClient } from "../../src/documentModelAdministrationClient.js"; import type { HttpClient, PipelineRequest } from "@azure/core-rest-pipeline"; import type { OperationTracingOptions } from "@azure/core-tracing"; -import type { CopyAuthorization } from "../../src/generated"; -import type { FormRecognizerRequestBody } from "../../src/lro/analysis"; +import type { CopyAuthorization } from "../../src/generated/index.js"; +import type { FormRecognizerRequestBody } from "../../src/lro/analysis.js"; +import { describe, it, expect, beforeEach } from "vitest"; +import { toSupportTracing } from "@azure-tools/test-utils-vitest"; + +expect.extend({ toSupportTracing }); // #region FakeClient @@ -48,18 +50,18 @@ function fakeIt( /** * Check that method spans are created correctly. */ -describe("supports tracing", function () { - describe("DocumentAnalysisClient", function () { +describe("supports tracing", () => { + describe("DocumentAnalysisClient", () => { let dac: DocumentAnalysisClient; - beforeEach(function () { + beforeEach(() => { dac = new DocumentAnalysisClient("https://example.com", new AzureKeyCredential("fake"), { httpClient: fakeHttpClient, }); }); - it("beginAnalyzeDocument", () => - assert.supportsTracing( + it("beginAnalyzeDocument", () => { + expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dac.beginAnalyzeDocument( "test", @@ -67,14 +69,14 @@ describe("supports tracing", function () { options, ); }), - ["DocumentAnalysisClient.beginAnalyzeDocument"], - )); + ).toSupportTracing(["DocumentAnalysisClient.beginAnalyzeDocument"]); + }); }); - describe("DocumentModelAdministrationClient", function () { + describe("DocumentModelAdministrationClient", () => { let dmac: DocumentModelAdministrationClient; - beforeEach(function () { + beforeEach(() => { dmac = new DocumentModelAdministrationClient( "https://example.com", new AzureKeyCredential("fake"), @@ -84,64 +86,64 @@ describe("supports tracing", function () { ); }); - it("getModel", () => - assert.supportsTracing( + it("getModel", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.getDocumentModel("test", options); }), - ["DocumentModelAdministrationClient.getDocumentModel"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.getDocumentModel"]); + }); - it("getOperation", () => - assert.supportsTracing( + it("getOperation", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.getOperation("test", options); }), - ["DocumentModelAdministrationClient.getOperation"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.getOperation"]); + }); - it("getInfo", () => - assert.supportsTracing( + it("getInfo", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.getResourceDetails(options); }), - ["DocumentModelAdministrationClient.getResourceDetails"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.getResourceDetails"]); + }); - it("deleteModel", () => - assert.supportsTracing( + it("deleteModel", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.deleteDocumentModel("test", options); }), - ["DocumentModelAdministrationClient.deleteDocumentModel"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.deleteDocumentModel"]); + }); - it("beginBuildDocumentModel", () => - assert.supportsTracing( + it("beginBuildDocumentModel", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await (await dmac.beginBuildDocumentModel("test", "test", "neural", options)).poll(); }), - ["DocumentModelAdministrationClient.beginBuildDocumentModel"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.beginBuildDocumentModel"]); + }); - it("beginComposeDocumentModel", () => - assert.supportsTracing( + it("beginComposeDocumentModel", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.beginComposeDocumentModel("test", [], options); }), - ["DocumentModelAdministrationClient.beginComposeDocumentModel"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.beginComposeDocumentModel"]); + }); - it("getCopyAuthorization", () => - assert.supportsTracing( + it("getCopyAuthorization", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.getCopyAuthorization("test", options); }), - ["DocumentModelAdministrationClient.getCopyAuthorization"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.getCopyAuthorization"]); + }); - it("beginCopyModel", () => - assert.supportsTracing( + it("beginCopyModel", async () => { + await expect( fakeIt(async (options: { tracingOptions?: OperationTracingOptions }) => { await dmac.beginCopyModelTo( "test", @@ -156,7 +158,7 @@ describe("supports tracing", function () { options, ); }), - ["DocumentModelAdministrationClient.beginCopyModel"], - )); + ).toSupportTracing(["DocumentModelAdministrationClient.beginCopyModel"]); + }); }); }); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/browser/analysis.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/browser/analysis.spec.ts index c5849519150b..477fa90f322b 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/browser/analysis.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/browser/analysis.spec.ts @@ -1,27 +1,20 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -import { assert } from "chai"; -import type { Context } from "mocha"; - -import { DocumentAnalysisClient } from "../../../src"; +import { DocumentAnalysisClient } from "../../../src/index.js"; import type { Recorder } from "@azure-tools/test-recorder"; import { assertEnvironmentVariable } from "@azure-tools/test-recorder"; -import { createRecordedClient, testPollingOptions } from "../../utils/recordedClients"; +import { createRecordedClient, testPollingOptions } from "../../utils/recordedClients.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; -describe("analysis (browser)", () => { +describe("analysis (browser)", { timeout: 60000 }, () => { let client: DocumentAnalysisClient; let recorder: Recorder; - beforeEach(async function (this: Context) { - ({ recorder, client } = await createRecordedClient( - this.currentTest, - DocumentAnalysisClient, - true, - )); + beforeEach(async (ctx) => { + ({ recorder, client } = await createRecordedClient(ctx, DocumentAnalysisClient, true)); }); - afterEach(async function () { + afterEach(async () => { if (recorder) { await recorder.stop(); } @@ -48,4 +41,4 @@ describe("analysis (browser)", () => { const receipt = receipts![0]; assert.equal(receipt.docType, "receipt.retailMeal"); }); -}).timeout(60000); +}); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/node/analysis.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/node/analysis.spec.ts index 18db664c9109..ccf9ada0de2a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/node/analysis.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/node/analysis.spec.ts @@ -3,35 +3,33 @@ import type { Recorder } from "@azure-tools/test-recorder"; import { assertEnvironmentVariable } from "@azure-tools/test-recorder"; -import { matrix } from "@azure-tools/test-utils"; -import { assert } from "chai"; -import fs from "fs"; -import type { Context } from "mocha"; -import path from "path"; +import { matrix } from "@azure-tools/test-utils-vitest"; +import { createReadStream } from "node:fs"; +import { join } from "node:path"; import type { AnalyzedDocument, DocumentTable, DocumentModelDetails, DocumentBarcode, -} from "../../../src"; +} from "../../../src/index.js"; import { DocumentAnalysisClient, DocumentModelAdministrationClient, FormRecognizerFeature, -} from "../../../src"; -import type { DocumentSelectionMarkField } from "../../../src/models/fields"; +} from "../../../src/index.js"; +import type { DocumentSelectionMarkField } from "../../../src/models/fields.js"; import { createRecorder, getRandomNumber, makeCredential, testPollingOptions, -} from "../../utils/recordedClients"; -import { DocumentModelBuildMode } from "../../../src/options/BuildModelOptions"; -import { createValidator } from "../../utils/fieldValidator"; - -import { PrebuiltModels } from "../../utils/prebuilts"; -import type { PrebuiltIdDocumentDocument } from "../../../samples-dev/prebuilt/prebuilt-idDocument"; -import { ASSET_PATH, makeTestUrl } from "../../utils/etc"; +} from "../../utils/recordedClients.js"; +import { DocumentModelBuildMode } from "../../../src/options/BuildModelOptions.js"; +import { createValidator } from "../../utils/fieldValidator.js"; +import { PrebuiltModels } from "../../utils/prebuilts.js"; +import type { PrebuiltIdDocumentDocument } from "../../../samples-dev/prebuilt/prebuilt-idDocument.js"; +import { ASSET_PATH, makeTestUrl } from "../../utils/etc.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; const endpoint = (): string => assertEnvironmentVariable("FORM_RECOGNIZER_ENDPOINT"); @@ -44,8 +42,8 @@ matrix([[true, false]] as const, async (useAad) => { let client: DocumentAnalysisClient; let recorder: Recorder; - beforeEach(async function (this: Context) { - recorder = await createRecorder(this.currentTest); + beforeEach(async function (ctx) { + recorder = await createRecorder(ctx); await recorder.setMatcher("BodilessMatcher"); client = new DocumentAnalysisClient( endpoint(), @@ -54,7 +52,7 @@ matrix([[true, false]] as const, async (useAad) => { ); }); - afterEach(async function () { + afterEach(async () => { if (recorder) { await recorder.stop(); } @@ -62,8 +60,8 @@ matrix([[true, false]] as const, async (useAad) => { describe("content analysis", () => { it("pdf file stream", async () => { - const filePath = path.join(ASSET_PATH, "forms", "Invoice_1.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "Invoice_1.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Layout, @@ -82,8 +80,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("png file stream", async () => { - const filePath = path.join(ASSET_PATH, "receipt", "contoso-receipt.png"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "receipt", "contoso-receipt.png"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( "prebuilt-layout", @@ -101,8 +99,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("jpeg file stream", async () => { - const filePath = path.join(ASSET_PATH, "forms", "Form_1.jpg"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "Form_1.jpg"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Layout, @@ -120,8 +118,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("tiff file stream", async () => { - const filePath = path.join(ASSET_PATH, "forms", "Invoice_1.tiff"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "Invoice_1.tiff"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Layout, @@ -139,8 +137,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("pdf file stream without passing content type", async () => { - const filePath = path.join(ASSET_PATH, "forms", "Invoice_1.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "Invoice_1.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Layout, @@ -176,8 +174,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("with selection marks", async () => { - const filePath = path.join(ASSET_PATH, "forms", "selection_mark_form.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "selection_mark_form.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Layout, @@ -258,7 +256,7 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("barcode", async function () { + it("barcode", async () => { const url = makeTestUrl("/barcode2.tif"); const poller = await client.beginAnalyzeDocumentFromUrl("prebuilt-read", url, { @@ -281,7 +279,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.equal(barcode2.value, "SYN121720213429"); }); - it("annotations", async function () { + it("annotations", async () => { const url = makeTestUrl("/annotations.jpg"); const poller = await client.beginAnalyzeDocumentFromUrl( @@ -295,7 +293,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.isNotEmpty(pages); }); - it("formula", async function () { + it("formula", async () => { const url = makeTestUrl("/formula1.jpg"); const poller = await client.beginAnalyzeDocumentFromUrl("prebuilt-document", url, { @@ -386,8 +384,8 @@ matrix([[true, false]] as const, async (useAad) => { it("with selection marks", async () => { const { modelId } = await requireModel(); - const filePath = path.join(ASSET_PATH, "forms", "selection_mark_form.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "selection_mark_form.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument(modelId, stream, testPollingOptions); const { pages, documents } = await poller.pollUntilDone(); @@ -412,8 +410,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("png file stream", async () => { - const filePath = path.join(ASSET_PATH, "forms", "Invoice_1.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "forms", "Invoice_1.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Invoice, @@ -463,8 +461,8 @@ matrix([[true, false]] as const, async (useAad) => { ], }); - const filePath = path.join(ASSET_PATH, "receipt", "contoso-receipt.png"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "receipt", "contoso-receipt.png"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Receipt, @@ -510,8 +508,8 @@ matrix([[true, false]] as const, async (useAad) => { }, ], }); - const filePath = path.join(ASSET_PATH, "receipt", "contoso-allinone.jpg"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "receipt", "contoso-allinone.jpg"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Receipt, @@ -614,8 +612,8 @@ matrix([[true, false]] as const, async (useAad) => { }, ], }); - const filePath = path.join(ASSET_PATH, "receipt", "multipage_invoice1.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "receipt", "multipage_invoice1.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Receipt, @@ -688,8 +686,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("jpg file stream", async () => { - const filePath = path.join(ASSET_PATH, "businessCard", "business-card-english.jpg"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "businessCard", "business-card-english.jpg"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.BusinessCard, @@ -830,8 +828,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("pdf file stream", async () => { - const filePath = path.join(ASSET_PATH, "invoice", "Invoice_1.pdf"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "invoice", "Invoice_1.pdf"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.Invoice, @@ -918,8 +916,8 @@ matrix([[true, false]] as const, async (useAad) => { }); it("png file stream", async () => { - const filePath = path.join(ASSET_PATH, "identityDocument", "license.png"); - const stream = fs.createReadStream(filePath); + const filePath = join(ASSET_PATH, "identityDocument", "license.png"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.IdentityDocument, @@ -1098,9 +1096,9 @@ matrix([[true, false]] as const, async (useAad) => { ], }); - it("png file stream", async function (this: Mocha.Context) { - const filePath = path.join(ASSET_PATH, "w2", "w2-single.png"); - const stream = fs.createReadStream(filePath); + it("png file stream", async () => { + const filePath = join(ASSET_PATH, "w2", "w2-single.png"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.TaxUsW2, @@ -1119,7 +1117,7 @@ matrix([[true, false]] as const, async (useAad) => { }); }); - describe("healthInsuranceCard - US", function () { + describe("healthInsuranceCard - US", { timeout: 600000 }, () => { const validator = createValidator({ insurer: "PREMERA BLUE CROSS", member: { @@ -1150,9 +1148,9 @@ matrix([[true, false]] as const, async (useAad) => { }, }); - it("png file stream", async function (this: Mocha.Context) { - const filePath = path.join(ASSET_PATH, "healthInsuranceCard", "insurance.png"); - const stream = fs.createReadStream(filePath); + it("png file stream", async () => { + const filePath = join(ASSET_PATH, "healthInsuranceCard", "insurance.png"); + const stream = createReadStream(filePath); const poller = await client.beginAnalyzeDocument( PrebuiltModels.HealthInsuranceCardUs, @@ -1168,5 +1166,5 @@ matrix([[true, false]] as const, async (useAad) => { validator(healthInsuranceCard as AnalyzedDocument); }); }); - }).timeout(60000); + }); }); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/node/classifiers.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/node/classifiers.spec.ts index 3db5daa222ef..3ba815ee69de 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/node/classifiers.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/node/classifiers.spec.ts @@ -1,26 +1,22 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { assert } from "chai"; -import type { Context } from "mocha"; - -import { matrix } from "@azure-tools/test-utils"; - +import { matrix } from "@azure-tools/test-utils-vitest"; import type { Recorder } from "@azure-tools/test-recorder"; import { assertEnvironmentVariable } from "@azure-tools/test-recorder"; - import { createRecorder, getRandomNumber, makeCredential, testPollingOptions, -} from "../../utils/recordedClients"; -import type { DocumentClassifierDetails } from "../../../src/generated"; -import { DocumentModelAdministrationClient } from "../../../src/documentModelAdministrationClient"; -import { DocumentAnalysisClient } from "../../../src/documentAnalysisClient"; -import path from "path"; -import fs from "fs"; -import { ASSET_PATH, makeTestUrl } from "../../utils/etc"; +} from "../../utils/recordedClients.js"; +import type { DocumentClassifierDetails } from "../../../src/generated/index.js"; +import { DocumentModelAdministrationClient } from "../../../src/documentModelAdministrationClient.js"; +import { DocumentAnalysisClient } from "../../../src/documentAnalysisClient.js"; +import path from "node:path"; +import fs from "node:fs"; +import { ASSET_PATH, makeTestUrl } from "../../utils/etc.js"; +import { describe, it, assert, expect, beforeEach, afterEach } from "vitest"; const endpoint = (): string => assertEnvironmentVariable("FORM_RECOGNIZER_ENDPOINT"); const containerSasUrl = (): string => @@ -37,8 +33,8 @@ matrix([[true, false]] as const, async (useAad) => { let recorder: Recorder; let client: DocumentAnalysisClient; - beforeEach(async function (this: Context) { - recorder = await createRecorder(this.currentTest); + beforeEach(async (ctx) => { + recorder = await createRecorder(ctx); await recorder.setMatcher("BodilessMatcher"); client = new DocumentAnalysisClient( endpoint(), @@ -47,7 +43,7 @@ matrix([[true, false]] as const, async (useAad) => { ); }); - afterEach(async function () { + afterEach(async () => { await recorder.stop(); }); @@ -98,7 +94,7 @@ matrix([[true, false]] as const, async (useAad) => { return _classifier; } - it("build classifier", async function (this: Context) { + it("build classifier", async () => { const classifier = await requireClassifier(); assert.containsAllKeys(classifier.docTypes, ["foo", "bar"]); @@ -106,7 +102,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.equal(classifier.description, customClassifierDescription); }); - it("analyze from PNG file stream", async function (this: Context) { + it("analyze from PNG file stream", async () => { const filePath = path.join(ASSET_PATH, "forms", "Invoice_1.pdf"); const stream = fs.createReadStream(filePath); @@ -128,7 +124,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.ok(result.pages![0].unit); }); - it("analyze from PNG file URL", async function (this: Context) { + it("analyze from PNG file URL", async () => { const url = makeTestUrl("/Invoice_1.pdf"); const { classifierId } = await requireClassifier(); @@ -144,13 +140,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.oneOf(result.documents?.[0].docType, ["foo", "bar"]); }); - it("get & delete classifiers from the account", async function () { - if (useAad) { - // TODO: AAD is not implemented for this operation in the service. - this.skip(); - return; - } - + it("get & delete classifiers from the account", { skip: useAad }, async () => { const trainingClient = new DocumentModelAdministrationClient( endpoint(), makeCredential(useAad), @@ -164,11 +154,11 @@ matrix([[true, false]] as const, async (useAad) => { } // Try to get the classifier and assert that it's gone - await assert.isRejected( + await expect( (async function () { await trainingClient.getDocumentClassifier(_classifierId); })(), - ); + ).rejects.toThrow(); }); }); }); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/public/training.spec.ts b/sdk/formrecognizer/ai-form-recognizer/test/public/training.spec.ts index e788c56b7a62..5d938509b70b 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/public/training.spec.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/public/training.spec.ts @@ -1,24 +1,19 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { assert } from "chai"; -import type { Context } from "mocha"; - -import { getYieldedValue, matrix } from "@azure-tools/test-utils"; - +import { getYieldedValue, matrix } from "@azure-tools/test-utils-vitest"; import type { Recorder } from "@azure-tools/test-recorder"; import { assertEnvironmentVariable } from "@azure-tools/test-recorder"; - import { createRecorder, getRandomNumber, makeCredential, testPollingOptions, -} from "../utils/recordedClients"; - -import type { DocumentModelDetails } from "../../src"; -import { DocumentAnalysisClient, DocumentModelAdministrationClient } from "../../src"; -import { DocumentModelBuildMode } from "../../src/options/BuildModelOptions"; +} from "../utils/recordedClients.js"; +import type { DocumentModelDetails } from "../../src/index.js"; +import { DocumentAnalysisClient, DocumentModelAdministrationClient } from "../../src/index.js"; +import { DocumentModelBuildMode } from "../../src/options/BuildModelOptions.js"; +import { describe, it, assert, beforeEach, afterEach } from "vitest"; const endpoint = (): string => assertEnvironmentVariable("FORM_RECOGNIZER_ENDPOINT"); const containerSasUrl = (): string => @@ -36,11 +31,11 @@ matrix( describe(`[${useAad ? "AAD" : "API Key"}] model management`, () => { let recorder: Recorder; - beforeEach(async function (this: Context) { - recorder = await createRecorder(this.currentTest); + beforeEach(async function (ctx) { + recorder = await createRecorder(ctx); }); - afterEach(async function () { + afterEach(async () => { await recorder.stop(); }); @@ -52,7 +47,7 @@ matrix( * "describe" block */ - describe("model build", async function () { + describe("model build", async () => { const allModels: string[] = []; let client: DocumentModelAdministrationClient; @@ -242,7 +237,7 @@ matrix( // #endregion - it(`compose model (${buildMode})`, async function () { + it(`compose model (${buildMode})`, async () => { const client = new DocumentModelAdministrationClient( endpoint(), makeCredential(useAad), @@ -288,7 +283,7 @@ matrix( assert.equal(Object.entries(composedModel.docTypes ?? {}).length, 2); }); - it(`copy model (${buildMode})`, async function () { + it(`copy model (${buildMode})`, { timeout: 60000 }, async () => { // Since this test is isolated, we'll create a fresh set of resources for it const trainingClient = new DocumentModelAdministrationClient( @@ -339,6 +334,6 @@ matrix( assert.equal(targetModel.modelId, targetAuth.targetModelId); assert.equal(targetModel.modelId, copyResult.modelId); }); - }).timeout(60000); + }); }, ); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/etc.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/etc.ts index 261506cbc1d6..87945d29422a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/etc.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/etc.ts @@ -2,8 +2,7 @@ // Licensed under the MIT License. import { assertEnvironmentVariable } from "@azure-tools/test-recorder"; - -import path from "path"; +import path from "node:path"; export const ASSET_PATH = path.resolve(path.join(process.cwd(), "assets")); diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/fieldValidator.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/fieldValidator.ts index 6473dda9049d..0ae44b5b1029 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/fieldValidator.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/fieldValidator.ts @@ -1,22 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - -/** - * This is a utility module for validating the contents of objects returned by document analysis methods using a simple - * declarative "spec" format. - */ - -import { assert } from "chai"; - -import type { AnalyzedDocument } from "../../src/lro/analysis"; +import type { AnalyzedDocument } from "../../src/lro/analysis.js"; import type { DocumentArrayField, DocumentDateField, DocumentField, DocumentObjectField, DocumentValueField, -} from "../../src/models"; -import { logger } from "./recordedClients"; +} from "../../src/models/index.js"; +import { logger } from "./recordedClients.js"; +import { assert } from "vitest"; /** * Similar to python's built-in `zip` function. @@ -24,7 +17,7 @@ import { logger } from "./recordedClients"; * @param arrays - the arrays to zip * @returns - an array that is "inverted" i.e. each result array contains an element from each input array in order. */ -const zip = (...arrays: unknown[][]) => +const zip = (...arrays: unknown[][]): unknown[][] => arrays.length < 2 ? arrays : arrays[0].map((_, idx) => arrays.map((row) => row[idx])); /** @@ -58,7 +51,7 @@ export type Validator = (document: AnalyzedDocument) => void; * @param field - the actual result field to validate * @returns void, throws if the field does not satisfy the spec */ -function validateSpec(spec: FieldSpec, field: DocumentField | undefined) { +function validateSpec(spec: FieldSpec, field: DocumentField | undefined): void { if (field === undefined || spec === undefined) { assert.strictEqual((field as DocumentValueField)?.value, spec as undefined); } else if (typeof spec === "function") { diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/prebuilts.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/prebuilts.ts index adac616049de..089b246bf3e9 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/prebuilts.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/prebuilts.ts @@ -1,15 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { PrebuiltBusinessCardModel } from "./schemas/prebuilt-businessCard"; -import { PrebuiltDocumentModel } from "./schemas/prebuilt-document"; -import { PrebuiltHealthInsuranceCardUsModel } from "./schemas/prebuilt-healthInsuranceCard.us"; -import { PrebuiltIdDocumentModel } from "./schemas/prebuilt-idDocument"; -import { PrebuiltInvoiceModel } from "./schemas/prebuilt-invoice"; -import { PrebuiltLayoutModel } from "./schemas/prebuilt-layout"; -import { PrebuiltReadModel } from "./schemas/prebuilt-read"; -import { PrebuiltReceiptModel } from "./schemas/prebuilt-receipt"; -import { PrebuiltTaxUsW2Model } from "./schemas/prebuilt-tax.us.w2"; +import { PrebuiltBusinessCardModel } from "./schemas/prebuilt-businessCard.js"; +import { PrebuiltDocumentModel } from "./schemas/prebuilt-document.js"; +import { PrebuiltHealthInsuranceCardUsModel } from "./schemas/prebuilt-healthInsuranceCard.us.js"; +import { PrebuiltIdDocumentModel } from "./schemas/prebuilt-idDocument.js"; +import { PrebuiltInvoiceModel } from "./schemas/prebuilt-invoice.js"; +import { PrebuiltLayoutModel } from "./schemas/prebuilt-layout.js"; +import { PrebuiltReadModel } from "./schemas/prebuilt-read.js"; +import { PrebuiltReceiptModel } from "./schemas/prebuilt-receipt.js"; +import { PrebuiltTaxUsW2Model } from "./schemas/prebuilt-tax.us.w2.js"; /** * Prebuilt models used for testing. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts index c37b640c64c2..9aab41422700 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/recordedClients.ts @@ -1,18 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import type { Test } from "mocha"; - -import type { RecorderStartOptions } from "@azure-tools/test-recorder"; +import type { RecorderStartOptions, TestInfo } from "@azure-tools/test-recorder"; import { Recorder, assertEnvironmentVariable, env, isPlaybackMode, } from "@azure-tools/test-recorder"; - -import type { PollerOptions } from "../../src"; -import { AzureKeyCredential } from "../../src"; +import type { PollerOptions } from "../../src/index.js"; +import { AzureKeyCredential } from "../../src/index.js"; import type { KeyCredential, TokenCredential } from "@azure/core-auth"; import { createClientLogger } from "@azure/logger"; import { createTestCredential } from "@azure-tools/test-credential"; @@ -93,6 +90,7 @@ export const recorderOptions: RecorderStartOptions = { }, ], }, + removeCentralSanitizers: ["AZSDK3402", "AZSDK4001", "AZSDK2030"], }; /** @@ -104,14 +102,14 @@ export function makeCredential(useAad: boolean): TokenCredential | AzureKeyCrede : new AzureKeyCredential(assertEnvironmentVariable("FORM_RECOGNIZER_API_KEY")); } -export async function createRecorder(currentTest?: Test): Promise { +export async function createRecorder(currentTest?: TestInfo): Promise { const recorder = new Recorder(currentTest); await recorder.start(recorderOptions); return recorder; } export async function createRecordedClient( - currentTest: Test | undefined, + currentTest: TestInfo | undefined, ctor: { new ( endpoint: string, diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-businessCard.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-businessCard.ts index 2674d2edb018..e95bb908fd3a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-businessCard.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-businessCard.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from business cards. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-document.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-document.ts index 586146a08454..c291c2269e6c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-document.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-document.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Thu Apr 06 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract text, layout, entities, and general key-value pairs from documents. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-healthInsuranceCard.us.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-healthInsuranceCard.us.ts index b0796b05b05d..e636e1c917a6 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-healthInsuranceCard.us.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-healthInsuranceCard.us.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from US health insurance cards. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-idDocument.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-idDocument.ts index 152f81802002..f67834147d46 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-idDocument.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-idDocument.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from passports and ID cards. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-invoice.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-invoice.ts index 53df8b848e6e..b55d8911841a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-invoice.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-invoice.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from invoices. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-layout.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-layout.ts index f8d3a6cfdd50..0faab204a526 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-layout.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-layout.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Wed Apr 05 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract text and layout information from documents. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-read.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-read.ts index 94c93050da60..0957d1a0b348 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-read.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-read.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Wed Apr 05 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract text from documents. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-receipt.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-receipt.ts index 78c343336a67..0ef0e6f8c650 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-receipt.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-receipt.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from receipts. diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098.ts index 63a72fc13bfb..0606e53b10ac 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from United States Internal Revenue Service Form 1098 (2021-current). diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098E.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098E.ts index 49d345cea20d..c26dfe590522 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098E.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098E.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from United States Internal Revenue Service Form 1098-E (2021-current). diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098T.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098T.ts index 8af5d860ef3c..ab9ceea6ed98 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098T.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.1098T.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from United States Internal Revenue Service Form 1098-T (2021-current). diff --git a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.w2.ts b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.w2.ts index d28dafb4fd2c..07df2e4533bf 100644 --- a/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.w2.ts +++ b/sdk/formrecognizer/ai-form-recognizer/test/utils/schemas/prebuilt-tax.us.w2.ts @@ -6,7 +6,7 @@ // API Version: 2023-07-31 // Created: Tue Aug 01 2023 -import * as fr from "../../../src"; +import * as fr from "../../../src/index.js"; /** * Extract key information from IRS US W2 tax forms (year 2018-current). diff --git a/sdk/formrecognizer/ai-form-recognizer/tsconfig.browser.config.json b/sdk/formrecognizer/ai-form-recognizer/tsconfig.browser.config.json new file mode 100644 index 000000000000..f772e6eb3b76 --- /dev/null +++ b/sdk/formrecognizer/ai-form-recognizer/tsconfig.browser.config.json @@ -0,0 +1,10 @@ +{ + "extends": "./.tshy/build.json", + "include": ["./src/**/*.ts", "./src/**/*.mts", "./test/**/*.spec.ts", "./test/**/*.mts"], + "exclude": ["./test/**/node/**/*.ts"], + "compilerOptions": { + "outDir": "./dist-test/browser", + "rootDir": ".", + "skipLibCheck": true + } +} diff --git a/sdk/formrecognizer/ai-form-recognizer/tsconfig.json b/sdk/formrecognizer/ai-form-recognizer/tsconfig.json index 2e7ac72bf6dc..6e8950800a65 100644 --- a/sdk/formrecognizer/ai-form-recognizer/tsconfig.json +++ b/sdk/formrecognizer/ai-form-recognizer/tsconfig.json @@ -1,14 +1,22 @@ { "extends": "../../../tsconfig", "compilerOptions": { - "outDir": "./dist-esm", - "declarationDir": "./types", "preserveConstEnums": true, - "module": "ES2020", + "module": "NodeNext", "paths": { "@azure/ai-form-recognizer": ["./src/index"] }, - "skipLibCheck": true + "skipLibCheck": true, + "moduleResolution": "NodeNext", + "rootDir": "." }, - "include": ["src/**/*.ts", "test/**/*.ts", "bin/**/*.ts", "samples-dev/**/*.ts"] + "include": [ + "src/**/*.ts", + "src/**/*.mts", + "src/**/*.cts", + "samples-dev/**/*.ts", + "test/**/*.ts", + "test/**/*.mts", + "test/**/*.cts" + ] } diff --git a/sdk/formrecognizer/ai-form-recognizer/vitest.browser.config.ts b/sdk/formrecognizer/ai-form-recognizer/vitest.browser.config.ts new file mode 100644 index 000000000000..5af9b4bcccf2 --- /dev/null +++ b/sdk/formrecognizer/ai-form-recognizer/vitest.browser.config.ts @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.browser.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: ["dist-test/browser/test/**/*.spec.js"], + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +); diff --git a/sdk/formrecognizer/ai-form-recognizer/vitest.config.ts b/sdk/formrecognizer/ai-form-recognizer/vitest.config.ts new file mode 100644 index 000000000000..56d97f1f9217 --- /dev/null +++ b/sdk/formrecognizer/ai-form-recognizer/vitest.config.ts @@ -0,0 +1,16 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + +import { defineConfig, mergeConfig } from "vitest/config"; +import viteConfig from "../../../vitest.shared.config.ts"; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + include: ["test/**/*.spec.ts"], + hookTimeout: 1200000, + testTimeout: 1200000, + }, + }), +);