From 71637261bb739e46a8c137d0eaf0a0694461a4d0 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Sun, 1 Oct 2023 15:38:12 -0400 Subject: [PATCH 01/18] udpate expect-type --- README.md | 1 + packages/vitest/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d039cf46703b..69f2ad2fbb90 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ Next generation testing framework powered by Vite. - Workers multi-threading via [Tinypool](https://github.com/tinylibs/tinypool) (a lightweight fork of [Piscina](https://github.com/piscinajs/piscina)) - Benchmarking support with [Tinybench](https://github.com/tinylibs/tinybench) - [Workspace](https://vitest.dev/guide/workspace) support +- [expect-type](https://github.com/mmkal/expect-type) for type-level testing - ESM first, top level await - Out-of-box TypeScript / JSX support - Filtering, timeouts, concurrent for suite and tests diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 7dbb71c46f78..0df780e87dc3 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -171,7 +171,7 @@ "birpc": "0.2.14", "chai-subset": "^1.6.0", "cli-truncate": "^4.0.0", - "expect-type": "^0.16.0", + "expect-type": "^0.17.3", "fast-glob": "^3.3.2", "find-up": "^6.3.0", "flatted": "^3.2.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46341e31791c..c03f5ca228cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1352,8 +1352,8 @@ importers: specifier: ^4.0.0 version: 4.0.0 expect-type: - specifier: ^0.16.0 - version: 0.16.0 + specifier: ^0.17.3 + version: 0.17.3 fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -15954,8 +15954,8 @@ packages: engines: {node: '>=6'} dev: true - /expect-type@0.16.0: - resolution: {integrity: sha512-wCpFeVBiAPGiYkQZzaqvGuuBnNCHbtnowMOBpBGY8a27XbG8VAit3lklWph1r8VmgsH61mOZqI3NuGm8bZnUlw==} + /expect-type@0.17.3: + resolution: {integrity: sha512-K0ZdZJ97jiAtaOwhEHHz/f0N6Xbj5reRz5g6+5BO7+OvqQ7PMQz0/c8bFSJs1zPotNJL5HJaC6t6lGPEAtGyOw==} engines: {node: '>=12.0.0'} dev: true From 933ff37dec3eb441c8c17c37fa01c31d1677bf49 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Sun, 1 Oct 2023 16:05:22 -0400 Subject: [PATCH 02/18] update test snapshot --- .../test/__snapshots__/runner.test.ts.snap | 63 ++++++++++--------- test/typescript/test/runner.test.ts | 2 +- 2 files changed, 36 insertions(+), 29 deletions(-) diff --git a/test/typescript/test/__snapshots__/runner.test.ts.snap b/test/typescript/test/__snapshots__/runner.test.ts.snap index 9932dbb649b2..e5e2731229d4 100644 --- a/test/typescript/test/__snapshots__/runner.test.ts.snap +++ b/test/typescript/test/__snapshots__/runner.test.ts.snap @@ -1,24 +1,31 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`should fail > typecheck files 1`] = ` -"TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. +"❯ only.test-d.ts:4:33 +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. + Type 'ExpectArray' has no call signatures. +TypeCheckError: This expression is not callable. + Type 'ExpectUndefined' has no call signatures. +TypeCheckError: This expression is not callable. + Type 'ExpectVoid' has no call signatures. +TypeCheckError: This expression is not callable. + ❯ fail.test-d.ts:4:33 +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. + ❯ expect-error.test-d.ts:4:3 TypeCheckError: Unused '@ts-expect-error' directive. -TypeCheckError: Expected 1 arguments, but got 0." + Type 'ExpectVoid' has no call signatures. +TypeCheckError: This expression is not callable." `; exports[`should fail > typecheck files 2`] = ` " FAIL fail.test-d.ts > nested suite -TypeCheckError: Expected 1 arguments, but got 0. +TypeCheckError: This expression is not callable. + Type 'ExpectVoid' has no call signatures. ❯ fail.test-d.ts:15:19 13| }) 14| 15| expectTypeOf(1).toBeVoid() - | ^ - 16| })" + | ^" `; exports[`should fail > typecheck files 3`] = ` @@ -34,56 +41,56 @@ TypeCheckError: Unused '@ts-expect-error' directive. exports[`should fail > typecheck files 4`] = ` " FAIL fail.test-d.ts > failing test -TypeCheckError: Expected 1 arguments, but got 0. - ❯ fail.test-d.ts:4:19 +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. + ❯ fail.test-d.ts:4:33 2| 3| test('failing test', () => { 4| expectTypeOf(1).toEqualTypeOf() - | ^ + | ^ 5| })" `; exports[`should fail > typecheck files 5`] = ` " FAIL fail.test-d.ts > nested suite > nested 2 > failing test 2 -TypeCheckError: Expected 1 arguments, but got 0. +TypeCheckError: This expression is not callable. + Type 'ExpectVoid' has no call signatures. ❯ fail.test-d.ts:10:23 8| describe('nested 2', () => { 9| test('failing test 2', () => { 10| expectTypeOf(1).toBeVoid() - | ^ - 11| expectTypeOf(1).toBeUndefined()" + | ^" `; exports[`should fail > typecheck files 6`] = ` " FAIL fail.test-d.ts > nested suite > nested 2 > failing test 2 -TypeCheckError: Expected 1 arguments, but got 0. +TypeCheckError: This expression is not callable. + Type 'ExpectUndefined' has no call signatures. ❯ fail.test-d.ts:11:23 9| test('failing test 2', () => { 10| expectTypeOf(1).toBeVoid() 11| expectTypeOf(1).toBeUndefined() - | ^ - 12| })" + | ^" `; exports[`should fail > typecheck files 7`] = ` " FAIL js-fail.test-d.js > js test fails -TypeCheckError: Expected 1 arguments, but got 0. +TypeCheckError: This expression is not callable. + Type 'ExpectArray' has no call signatures. ❯ js-fail.test-d.js:6:19 4| 5| test('js test fails', () => { 6| expectTypeOf(1).toBeArray() - | ^ - 7| })" + | ^" `; exports[`should fail > typecheck files 8`] = ` " FAIL only.test-d.ts > failing test -TypeCheckError: Expected 1 arguments, but got 0. - ❯ only.test-d.ts:4:19 +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. + ❯ only.test-d.ts:4:33 2| 3| test.only('failing test', () => { 4| expectTypeOf(1).toEqualTypeOf() - | ^ + | ^ 5| })" `; @@ -99,8 +106,8 @@ Error: error TS18003: No inputs were found in config file '/tsconfig.vites `; exports[`should fail > typecheks with custom tsconfig 1`] = ` -"TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0. -TypeCheckError: Expected 1 arguments, but got 0." +"TypeCheckError: This expression is not callable. +TypeCheckError: This expression is not callable. +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. +TypeCheckError: This expression is not callable." `; diff --git a/test/typescript/test/runner.test.ts b/test/typescript/test/runner.test.ts index 1a7a11e206ec..2b48c18491e7 100644 --- a/test/typescript/test/runner.test.ts +++ b/test/typescript/test/runner.test.ts @@ -22,7 +22,7 @@ describe('should fail', async () => { expect(stderr).toBeTruthy() const lines = String(stderr).split(/\n/g) const msg = lines - .filter(i => i.includes('TypeCheckError: ')) + .filter((line, i, arr) => line.includes('TypeCheckError: ') || arr[i - 1]?.includes('TypeCheckError: ')) .reverse() .join('\n') .trim() From 3100ff94daea3390f89295b505b43ccbf6b623b8 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Sun, 1 Oct 2023 20:56:53 -0400 Subject: [PATCH 03/18] another way of snapshotting? --- .../test/__snapshots__/runner.test.ts.snap | 21 +++++++------------ test/typescript/test/runner.test.ts | 2 +- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/test/typescript/test/__snapshots__/runner.test.ts.snap b/test/typescript/test/__snapshots__/runner.test.ts.snap index e5e2731229d4..fd73b05de2ab 100644 --- a/test/typescript/test/__snapshots__/runner.test.ts.snap +++ b/test/typescript/test/__snapshots__/runner.test.ts.snap @@ -1,20 +1,13 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`should fail > typecheck files 1`] = ` -"❯ only.test-d.ts:4:33 -TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. - Type 'ExpectArray' has no call signatures. -TypeCheckError: This expression is not callable. - Type 'ExpectUndefined' has no call signatures. -TypeCheckError: This expression is not callable. - Type 'ExpectVoid' has no call signatures. -TypeCheckError: This expression is not callable. - ❯ fail.test-d.ts:4:33 -TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. - ❯ expect-error.test-d.ts:4:3 -TypeCheckError: Unused '@ts-expect-error' directive. - Type 'ExpectVoid' has no call signatures. -TypeCheckError: This expression is not callable." +"TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. ❯ only.test-d.ts:4:33 +TypeCheckError: This expression is not callable. Type 'ExpectArray' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectUndefined' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. ❯ fail.test-d.ts:4:33 +TypeCheckError: Unused '@ts-expect-error' directive. ❯ expect-error.test-d.ts:4:3 +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures." `; exports[`should fail > typecheck files 2`] = ` diff --git a/test/typescript/test/runner.test.ts b/test/typescript/test/runner.test.ts index 2b48c18491e7..f0074f02fb9c 100644 --- a/test/typescript/test/runner.test.ts +++ b/test/typescript/test/runner.test.ts @@ -22,7 +22,7 @@ describe('should fail', async () => { expect(stderr).toBeTruthy() const lines = String(stderr).split(/\n/g) const msg = lines - .filter((line, i, arr) => line.includes('TypeCheckError: ') || arr[i - 1]?.includes('TypeCheckError: ')) + .flatMap((line, i, array) => line.includes('TypeCheckError: ') ? [[line + array[i + 1]].filter(Boolean).join('\n')] : []) .reverse() .join('\n') .trim() From 2ee38923941fa59a5d08c8337d54a809f2a2cc01 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 16:16:32 -0400 Subject: [PATCH 04/18] lockfile again --- pnpm-lock.yaml | 190 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 184 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c03f5ca228cf..2542799abc74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9100,9 +9100,14 @@ packages: resolution: {integrity: sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ==} dev: true + /@types/chai-subset@1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + dev: false + /@types/chai@4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm): resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} - dev: true patched: true /@types/codemirror@5.60.13: @@ -11666,7 +11671,6 @@ packages: /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - dev: true /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} @@ -12450,6 +12454,10 @@ packages: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true + /blueimp-md5@2.19.0: + resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} + dev: false + /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} dev: true @@ -14106,6 +14114,13 @@ packages: resolution: {integrity: sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA==} engines: {node: '>=0.11'} + /date-time@3.1.0: + resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} + engines: {node: '>=6'} + dependencies: + time-zone: 1.0.0 + dev: false + /dayjs@1.11.5: resolution: {integrity: sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==} dev: true @@ -15789,7 +15804,6 @@ packages: /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - dev: true /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} @@ -16098,6 +16112,10 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true + /fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + dev: false + /fast-equals@2.0.4: resolution: {integrity: sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==} dev: false @@ -19150,7 +19168,6 @@ packages: /js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} - dev: true /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -20054,6 +20071,13 @@ packages: remove-accents: 0.4.2 dev: false + /md5-hex@3.0.1: + resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} + engines: {node: '>=8'} + dependencies: + blueimp-md5: 2.19.0 + dev: false + /md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} dependencies: @@ -21997,7 +22021,6 @@ packages: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 - dev: true /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} @@ -22444,7 +22467,6 @@ packages: /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: true /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} @@ -25024,6 +25046,11 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true + /time-zone@1.0.0: + resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} + engines: {node: '>=4'} + dev: false + /timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} @@ -25051,6 +25078,16 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: false + /tinypool@0.4.0: + resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} + engines: {node: '>=14.0.0'} + dev: false + + /tinypool@0.7.0: + resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + engines: {node: '>=14.0.0'} + dev: false + /tinypool@0.8.1: resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} @@ -26386,6 +26423,142 @@ packages: vitest: link:packages/vitest dev: true + /vitest@0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): + resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + '@types/chai-subset': 1.3.3 + '@types/node': 18.16.19 + '@vitest/browser': link:packages/browser + '@vitest/expect': 0.30.1 + '@vitest/runner': 0.30.1 + '@vitest/snapshot': 0.30.1 + '@vitest/spy': 0.30.1 + '@vitest/ui': link:packages/ui + '@vitest/utils': 0.30.1 + acorn: 8.9.0 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.10 + concordance: 5.0.4 + debug: 4.3.4(supports-color@8.1.1) + local-pkg: 0.4.3 + magic-string: 0.30.4 + pathe: 1.1.1 + picocolors: 1.0.0 + source-map: 0.6.1 + std-env: 3.3.3 + strip-literal: 1.0.1 + tinybench: 2.5.0 + tinypool: 0.4.0 + vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) + vite-node: 0.30.1(@types/node@18.16.19) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + + /vitest@0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): + resolution: {integrity: sha512-8Pnc1fVt1P6uBncdUZ++hgiJGgxIRKuz4bmS/PQziaEcUj0D1g9cGiR1MbLrcsvFTC6fgrqDhYoTAdBG356WMA==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + '@types/chai-subset': 1.3.3 + '@types/node': 18.16.19 + '@vitest/browser': link:packages/browser + '@vitest/expect': 0.34.0 + '@vitest/runner': 0.34.0 + '@vitest/snapshot': 0.34.0 + '@vitest/spy': 0.34.0 + '@vitest/ui': link:packages/ui + '@vitest/utils': 0.34.0 + acorn: 8.9.0 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.10 + debug: 4.3.4(supports-color@8.1.1) + local-pkg: 0.4.3 + magic-string: 0.30.4 + pathe: 1.1.1 + picocolors: 1.0.0 + std-env: 3.3.3 + strip-literal: 1.0.1 + tinybench: 2.5.0 + tinypool: 0.7.0 + vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) + vite-node: 0.34.0(@types/node@18.16.19) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + /vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true @@ -26990,6 +27163,11 @@ packages: - uglify-js dev: true + /well-known-symbols@2.0.0: + resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} + engines: {node: '>=6'} + dev: false + /whatwg-encoding@1.0.5: resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} dependencies: From fc16b206cd2351efb0ee54938bb11af6da363c49 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 16:37:50 -0400 Subject: [PATCH 05/18] lockfile --- pnpm-lock.yaml | 85 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 67 insertions(+), 18 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2542799abc74..c5b8ddd9ebdf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2577,7 +2577,7 @@ packages: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.5 dev: true /@babel/helper-module-imports@7.22.15: @@ -2881,6 +2881,8 @@ packages: '@babel/core': 7.23.3 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) '@babel/helper-plugin-utils': 7.22.5 + transitivePeerDependencies: + - supports-color dev: true /@babel/plugin-proposal-class-static-block@7.18.6(@babel/core@7.23.3): @@ -3043,6 +3045,8 @@ packages: '@babel/core': 7.23.3 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) '@babel/helper-plugin-utils': 7.22.5 + transitivePeerDependencies: + - supports-color dev: true /@babel/plugin-proposal-private-property-in-object@7.18.6(@babel/core@7.23.3): @@ -3509,6 +3513,8 @@ packages: '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.3) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 + transitivePeerDependencies: + - supports-color dev: true /@babel/plugin-transform-computed-properties@7.18.9(@babel/core@7.23.3): @@ -3778,6 +3784,19 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): + resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.22.9 + '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + babel-plugin-dynamic-import-node: 2.3.3 + dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.23.0): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -4241,7 +4260,7 @@ packages: dependencies: '@babel/core': 7.23.3 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 dev: true /@babel/plugin-transform-spread@7.22.5(@babel/core@7.23.3): @@ -8062,7 +8081,7 @@ packages: globby: 11.1.0 ip: 2.0.0 lodash: 4.17.21 - node-fetch: 2.7.0 + node-fetch: 2.6.11 open: 8.4.0 pretty-hrtime: 1.0.3 prompts: 2.4.2 @@ -8236,7 +8255,7 @@ packages: find-up: 5.0.0 fs-extra: 9.1.0 html-webpack-plugin: 4.5.2(webpack@4.46.0) - node-fetch: 2.7.0 + node-fetch: 2.6.11 pnp-webpack-plugin: 1.6.4(typescript@4.8.4) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -9034,8 +9053,8 @@ packages: /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 + '@babel/parser': 7.22.16 + '@babel/types': 7.22.15 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -10449,8 +10468,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 + '@babel/traverse': 7.22.15 + '@babel/types': 7.22.15 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10514,7 +10533,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -14265,6 +14284,11 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true + /deepmerge-ts@5.0.0: + resolution: {integrity: sha512-esq9xUO8+CQCG63IlpkoOBNlpm1m4WBm0NRLFrGL/dcgzqWi1tmTLfG7QTvffqYt6T+dS+xaxrHxdexqGWkV1g==} + engines: {node: '>=16.0.0'} + dev: true + /deepmerge-ts@5.1.0: resolution: {integrity: sha512-eS8dRJOckyo9maw9Tu5O5RUi/4inFLrnoLkBe3cPfDMx3WZioXtmOew4TXQaxq7Rhl4xjDtR7c6x8nNTxOvbFw==} engines: {node: '>=16.0.0'} @@ -15499,7 +15523,7 @@ packages: peerDependencies: eslint: '>=8.38.0' dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.22.5 '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0) ci-info: 3.9.0 clean-regexp: 1.0.0 @@ -16541,7 +16565,7 @@ packages: vue-template-compiler: optional: true dependencies: - '@babel/code-frame': 7.22.13 + '@babel/code-frame': 7.22.5 '@types/json-schema': 7.0.11 chalk: 4.1.2 chokidar: 3.5.3 @@ -18864,7 +18888,7 @@ packages: resolution: {integrity: sha512-wRMAQt3HrLpxSubdnzOo68QoTfQ+NLXFzU0Heb18ZUzO2S9GgaXNEdQ4rpd0fI9dq2NXkpCk1IUWSqzYKji64A==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.22.13 + '@babel/code-frame': 7.22.5 '@jest/types': 29.0.1 '@types/stack-utils': 2.0.1 chalk: 4.1.2 @@ -20788,6 +20812,18 @@ packages: resolution: {integrity: sha512-F5kfEj95kX8tkDhUCYdV8dg3/8Olx/94zB8+ZNthFs6Bz31UpUi8Xh40TN3thLwXgrwXry1pEg9lJ++tLWTcqA==} dev: true + /node-fetch@2.6.11: + resolution: {integrity: sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: true + /node-fetch@2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -21466,7 +21502,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.22.13 + '@babel/code-frame': 7.22.5 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -21717,7 +21753,7 @@ packages: resolution: {integrity: sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==} dependencies: readable-stream: 4.1.0 - split2: 4.2.0 + split2: 4.1.0 dev: true /pino-std-serializers@6.0.0: @@ -24108,6 +24144,11 @@ packages: extend-shallow: 3.0.2 dev: true + /split2@4.1.0: + resolution: {integrity: sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==} + engines: {node: '>= 10.x'} + dev: true + /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -26456,7 +26497,7 @@ packages: dependencies: '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) '@types/chai-subset': 1.3.3 - '@types/node': 18.16.19 + '@types/node': 20.8.1 '@vitest/browser': link:packages/browser '@vitest/expect': 0.30.1 '@vitest/runner': 0.30.1 @@ -26480,7 +26521,7 @@ packages: tinybench: 2.5.0 tinypool: 0.4.0 vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.30.1(@types/node@18.16.19) + vite-node: 0.30.1(@types/node@20.8.1) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -26525,7 +26566,7 @@ packages: dependencies: '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) '@types/chai-subset': 1.3.3 - '@types/node': 18.16.19 + '@types/node': 20.8.1 '@vitest/browser': link:packages/browser '@vitest/expect': 0.34.0 '@vitest/runner': 0.34.0 @@ -26547,7 +26588,7 @@ packages: tinybench: 2.5.0 tinypool: 0.7.0 vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.34.0(@types/node@18.16.19) + vite-node: 0.34.0(@types/node@20.8.1) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -27285,6 +27326,14 @@ packages: dependencies: isexe: 2.0.0 + /which@3.0.0: + resolution: {integrity: sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + /which@3.0.1: resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} From df96e965ff5ee42ef76d878de037de43be06bcf3 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 19:02:42 -0400 Subject: [PATCH 06/18] copy expect-type docs --- docs/guide/testing-types.md | 57 +++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/docs/guide/testing-types.md b/docs/guide/testing-types.md index eb2f167dbf68..ba7e0bf5106a 100644 --- a/docs/guide/testing-types.md +++ b/docs/guide/testing-types.md @@ -31,17 +31,62 @@ You can see a list of possible matchers in [API section](/api/expect-typeof). ## Reading Errors -If you are using `expectTypeOf` API, you might notice hard to read errors or unexpected: +If you are using `expectTypeOf` API, refer to the [expect-type documentation on its error messages](https://github.com/mmkal/expect-type#error-messages). + +When types don't match, `.toEqualTypeOf` and `.toMatchTypeOf` use a special helper type to produce error messages that are as actionable as possible. But there's a bit of an nuance to understanding them. Since the assertions are written "fluently", the failure should be on the "expected" type, not the "actual" type (`expect().toEqualTypeOf()`). This means that type errors can be a little confusing - so this library produces a `MismatchInfo` type to try to make explicit what the expectation is. For example: + +```ts +expectTypeOf({ a: 1 }).toEqualTypeOf<{ a: string }>() +``` + +Is an assertion that will fail, since `{a: 1}` has type `{a: number}` and not `{a: string}`. The error message in this case will read something like this: + +``` +test/test.ts:999:999 - error TS2344: Type '{ a: string; }' does not satisfy the constraint '{ a: \\"Expected: string, Actual: number\\"; }'. + Types of property 'a' are incompatible. + Type 'string' is not assignable to type '\\"Expected: string, Actual: number\\"'. + +999 expectTypeOf({a: 1}).toEqualTypeOf<{a: string}>() +``` + +Note that the type constraint reported is a human-readable messaging specifying both the "expected" and "actual" types. Rather than taking the sentence `Types of property 'a' are incompatible // Type 'string' is not assignable to type "Expected: string, Actual: number"` literally - just look at the property name (`'a'`) and the message: `Expected: string, Actual: number`. This will tell you what's wrong, in most cases. Extremely complex types will of course be more effort to debug, and may require some experimentation. Please [raise an issue](https://github.com/mmkal/expect-type) if the error messages are actually misleading. + +The `toBe...` methods (like `toBeString`, `toBeNumber`, `toBeVoid` etc.) fail by resolving to a non-callable type when the `Actual` type under test doesn't match up. For example, the failure for an assertion like `expectTypeOf(1).toBeString()` will look something like this: + +``` +test/test.ts:999:999 - error TS2349: This expression is not callable. + Type 'ExpectString' has no call signatures. + +999 expectTypeOf(1).toBeString() + ~~~~~~~~~~ +``` + +The `This expression is not callable` part isn't all that helpful - the meaningful error is the next line, `Type 'ExpectString has no call signatures`. This essentially means you passed a number but asserted it should be a string. + +If TypeScript added support for ["throw" types](https://github.com/microsoft/TypeScript/pull/40468) these error messagess could be improved significantly. Until then they will take a certain amount of squinting. + +#### Concrete "expected" objects vs typeargs + +Error messages for an assertion like this: ```ts -expectTypeOf(1).toEqualTypeOf() -// ^^^^^^^^^^^^^^^^^^^^^^ -// index-c3943160.d.ts(90, 20): Arguments for the rest parameter 'MISMATCH' were not provided. +expectTypeOf({ a: 1 }).toEqualTypeOf({ a: '' }) ``` -This is due to how [`expect-type`](https://github.com/mmkal/expect-type) handles type errors. +Will be less helpful than for an assertion like this: -Unfortunately, TypeScript doesn't provide type metadata without patching, so we cannot provide useful error messages at this point, but there are works in TypeScript project to fix this. If you want better messages, please, ask TypeScript team to have a look at mentioned PR. +```ts +expectTypeOf({ a: 1 }).toEqualTypeOf<{ a: string }>() +``` + +This is because the TypeScript compiler needs to infer the typearg for the `.toEqualTypeOf({a: ''})` style, and this library can only mark it as a failure by comparing it against a generic `Mismatch` type. So, where possible, use a typearg rather than a concrete type for `.toEqualTypeOf` and `toMatchTypeOf`. If it's much more convenient to compare two concrete types, you can use `typeof`: + +```ts +const one = valueFromFunctionOne({ some: { complex: inputs } }) +const two = valueFromFunctionTwo({ some: { other: inputs } }) + +expectTypeOf(one).toEqualTypeof() +``` If you find it hard working with `expectTypeOf` API and figuring out errors, you can always use more simple `assertType` API: From 9d82bf1d86d0b17c5139cbada6ed268773959787 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 19:04:37 -0400 Subject: [PATCH 07/18] run pnpm i again --- pnpm-lock.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5b8ddd9ebdf..1612390f9211 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9053,8 +9053,8 @@ packages: /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: - '@babel/parser': 7.22.16 - '@babel/types': 7.22.15 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -10468,8 +10468,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.22.15 - '@babel/types': 7.22.15 + '@babel/traverse': 7.23.0 + '@babel/types': 7.23.0 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10533,7 +10533,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -26497,7 +26497,7 @@ packages: dependencies: '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) '@types/chai-subset': 1.3.3 - '@types/node': 20.8.1 + '@types/node': 18.16.19 '@vitest/browser': link:packages/browser '@vitest/expect': 0.30.1 '@vitest/runner': 0.30.1 @@ -26521,7 +26521,7 @@ packages: tinybench: 2.5.0 tinypool: 0.4.0 vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.30.1(@types/node@20.8.1) + vite-node: 0.30.1(@types/node@18.16.19) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -26566,7 +26566,7 @@ packages: dependencies: '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) '@types/chai-subset': 1.3.3 - '@types/node': 20.8.1 + '@types/node': 18.16.19 '@vitest/browser': link:packages/browser '@vitest/expect': 0.34.0 '@vitest/runner': 0.34.0 @@ -26588,7 +26588,7 @@ packages: tinybench: 2.5.0 tinypool: 0.7.0 vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.34.0(@types/node@20.8.1) + vite-node: 0.34.0(@types/node@18.16.19) why-is-node-running: 2.2.2 transitivePeerDependencies: - less From c1b2d81616854d9acd3a6b6a3f200e77612c8b98 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 19:04:46 -0400 Subject: [PATCH 08/18] git show main:pnpm-lock.yaml > pnpm-lock.yaml --- pnpm-lock.yaml | 310 +++++++++++-------------------------------------- 1 file changed, 69 insertions(+), 241 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1612390f9211..f9b54fe472e0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -320,7 +320,7 @@ importers: dependencies: next: specifier: 12.1.5 - version: 12.1.5(@babel/core@7.23.0)(react-dom@18.0.0)(react@18.0.0) + version: 12.1.5(@babel/core@7.22.15)(react-dom@18.0.0)(react@18.0.0) react: specifier: 18.0.0 version: 18.0.0 @@ -337,7 +337,6 @@ importers: '@types/react': specifier: latest version: 18.2.25 - '@vitejs/plugin-react': specifier: latest version: 4.1.0(vite@5.0.0-beta.17) jsdom: @@ -739,7 +738,7 @@ importers: version: 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.17) '@testing-library/svelte': specifier: ^4.0.3 - version: 4.0.3(svelte@4.2.1) + version: 4.0.3(svelte@4.2.0) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -748,7 +747,7 @@ importers: version: 22.1.0 svelte: specifier: latest - version: 4.2.1 + version: 4.2.0 vite: specifier: ^5.0.0-beta.15 version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) @@ -2406,7 +2405,7 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.18.9: @@ -2570,7 +2569,7 @@ packages: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-module-imports@7.18.6: @@ -2651,7 +2650,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-plugin-utils@7.10.4: @@ -2723,7 +2722,7 @@ packages: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-split-export-declaration@7.22.6: @@ -2759,7 +2758,6 @@ packages: '@babel/types': 7.23.0 transitivePeerDependencies: - supports-color - dev: true /@babel/helper-wrap-function@7.22.20: resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} @@ -3784,6 +3782,19 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.15): + resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.22.15 + '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.15) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + babel-plugin-dynamic-import-node: 2.3.3 + dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -4111,13 +4122,13 @@ packages: '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.23.3) dev: true - /@babel/plugin-transform-react-jsx-self@7.22.5(@babel/core@7.23.0): - resolution: {integrity: sha512-nTh2ogNUtxbiSbxaT4Ds6aXnXEipHweN9YRgOX/oNXdf0cCrGn/+2LozFa3lnPV5D90MkjhgckCPBrsoSc1a7g==} + /@babel/plugin-transform-react-jsx-source@7.22.5(@babel/core@7.22.15): + resolution: {integrity: sha512-yIiRO6yobeEIaI0RTbIr8iAK9FcBHLtZq0S89ZPjDLQXBA4xvghaKqI0etp/tF3htTM0sazJKKLz9oEiGRtu7w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.0 + '@babel/core': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -8989,7 +9000,7 @@ packages: svelte: ^3 || ^4 dependencies: '@testing-library/dom': 9.3.1 - svelte: 4.2.1 + svelte: 4.2.0 dev: true /@testing-library/user-event@13.5.0(@testing-library/dom@8.17.1): @@ -9050,11 +9061,11 @@ packages: resolution: {integrity: sha512-pkPtJUUY+Vwv6B1inAz55rQvivClHJxc9aVEPPmaq2cbyeMLCiDpbKpcKyX4LAwpNGi+SHBv0tHv6+0gXv0P2A==} dev: true - /@types/babel__core@7.20.2: - resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} + /@types/babel__core@7.20.0: + resolution: {integrity: sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ==} dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 + '@babel/parser': 7.22.16 + '@babel/types': 7.22.15 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -9073,7 +9084,7 @@ packages: /@types/babel__generator@7.6.4: resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@types/babel__generator@7.6.6: @@ -9085,8 +9096,8 @@ packages: /@types/babel__template@7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 + '@babel/parser': 7.22.16 + '@babel/types': 7.22.15 dev: true /@types/babel__template@7.4.3: @@ -9099,7 +9110,7 @@ packages: /@types/babel__traverse@7.18.3: resolution: {integrity: sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@types/babel__traverse@7.20.3: @@ -9119,14 +9130,9 @@ packages: resolution: {integrity: sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ==} dev: true - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - dev: false - /@types/chai@4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm): resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} + dev: true patched: true /@types/codemirror@5.60.13: @@ -10346,10 +10352,9 @@ packages: peerDependencies: vite: ^5.0.0-beta.15 dependencies: - '@babel/core': 7.23.0 - '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.0) - '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.0) - '@types/babel__core': 7.20.2 + '@babel/core': 7.22.15 + '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.15) + '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.15) react-refresh: 0.14.0 vite: 5.0.0-beta.17(@types/node@20.8.2) transitivePeerDependencies: @@ -10468,8 +10473,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 + '@babel/traverse': 7.22.15 + '@babel/types': 7.22.15 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10481,7 +10486,7 @@ packages: /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 @@ -10533,7 +10538,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -10596,7 +10601,7 @@ packages: /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 @@ -10911,9 +10916,9 @@ packages: resolution: {integrity: sha512-JFD7aYs3nGF2kNhc0eV03mWFQMJku42NCBl+aedb1jzP3z6tBWV3n1a0ETS4MTLps8lFXBDZWvWEnl+ZvVrHZw==} engines: {node: ^16.13 || >=18} dependencies: - '@wdio/logger': 8.16.17 - '@wdio/types': 8.16.12 - '@wdio/utils': 8.16.17 + '@wdio/logger': 8.11.0 + '@wdio/types': 8.16.3 + '@wdio/utils': 8.16.3 decamelize: 6.0.0 deepmerge-ts: 5.1.0 glob: 10.3.10 @@ -10967,8 +10972,8 @@ packages: '@types/node': 20.9.0 dev: true - /@wdio/types@8.16.12: - resolution: {integrity: sha512-TjCZJ3P9ual21G0dRv0lC9QgHGd3Igv+guEINevBKf/oD4/N84PvQ2eZG1nSbZ3xh8X/dvi+O64A6VEv43gx2w==} + /@wdio/types@8.16.3: + resolution: {integrity: sha512-cH6eKNKkx5ZVJxf7omwtqt88N/mI8Hn2qnXe4DHIYNC4wSDFPhSsuurRhH7s7fnk3biLEQfinuc3cxV0HefSVw==} engines: {node: ^16.13 || >=18} dependencies: '@types/node': 20.9.0 @@ -10981,13 +10986,13 @@ packages: '@types/node': 20.9.0 dev: true - /@wdio/utils@8.16.17: - resolution: {integrity: sha512-jDyOrxbQRDJO0OPt9UBgnwpUIKqtRn4+R0gR5VSDrIG/in5ZZg28yer8urrIVY4yY9ut5r/22VaMHZI9LEXF5w==} + /@wdio/utils@8.16.3: + resolution: {integrity: sha512-bX/sYOM+tI4hjMIcvSdL522c2xwkas6pII6AUhuBT2UIUkJnp7+OHijJ1l5kHAzRewCdcL3W4dm9exPH2URU+Q==} engines: {node: ^16.13 || >=18} dependencies: '@puppeteer/browsers': 1.7.0 - '@wdio/logger': 8.16.17 - '@wdio/types': 8.16.12 + '@wdio/logger': 8.11.0 + '@wdio/types': 8.16.3 decamelize: 6.0.0 deepmerge-ts: 5.1.0 edgedriver: 5.3.6 @@ -10997,7 +11002,6 @@ packages: import-meta-resolve: 3.0.0 locate-app: 2.1.0 safaridriver: 0.1.0 - split2: 4.2.0 wait-port: 1.0.4 transitivePeerDependencies: - supports-color @@ -11690,6 +11694,7 @@ packages: /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} + dev: true /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} @@ -12473,10 +12478,6 @@ packages: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true - /blueimp-md5@2.19.0: - resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} - dev: false - /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} dev: true @@ -13559,9 +13560,6 @@ packages: /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} - /convert-source-map@2.0.0: - resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - /cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} dev: true @@ -14133,13 +14131,6 @@ packages: resolution: {integrity: sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA==} engines: {node: '>=0.11'} - /date-time@3.1.0: - resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} - engines: {node: '>=6'} - dependencies: - time-zone: 1.0.0 - dev: false - /dayjs@1.11.5: resolution: {integrity: sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==} dev: true @@ -14717,7 +14708,7 @@ packages: hasBin: true requiresBuild: true dependencies: - '@wdio/logger': 8.16.17 + '@wdio/logger': 8.11.0 decamelize: 6.0.0 edge-paths: 3.0.5 node-fetch: 3.3.2 @@ -15828,6 +15819,7 @@ packages: /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} + dev: true /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} @@ -16136,10 +16128,6 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true - /fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} - dev: false - /fast-equals@2.0.4: resolution: {integrity: sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==} dev: false @@ -16807,7 +16795,7 @@ packages: hasBin: true requiresBuild: true dependencies: - '@wdio/logger': 8.16.17 + '@wdio/logger': 8.11.0 decamelize: 6.0.0 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 @@ -19192,6 +19180,7 @@ packages: /js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} + dev: true /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -20095,13 +20084,6 @@ packages: remove-accents: 0.4.2 dev: false - /md5-hex@3.0.1: - resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} - engines: {node: '>=8'} - dependencies: - blueimp-md5: 2.19.0 - dev: false - /md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} dependencies: @@ -20732,7 +20714,7 @@ packages: engines: {node: '>= 0.4.0'} dev: true - /next@12.1.5(@babel/core@7.23.0)(react-dom@18.0.0)(react@18.0.0): + /next@12.1.5(@babel/core@7.22.15)(react-dom@18.0.0)(react@18.0.0): resolution: {integrity: sha512-YGHDpyfgCfnT5GZObsKepmRnne7Kzp7nGrac07dikhutWQug7hHg85/+sPJ4ZW5Q2pDkb+n0FnmLkmd44htIJQ==} engines: {node: '>=12.22.0'} hasBin: true @@ -20755,7 +20737,7 @@ packages: postcss: 8.4.5 react: 18.0.0 react-dom: 18.0.0(react@18.0.0) - styled-jsx: 5.0.1(@babel/core@7.23.0)(react@18.0.0) + styled-jsx: 5.0.1(@babel/core@7.22.15)(react@18.0.0) optionalDependencies: '@next/swc-android-arm-eabi': 12.1.5 '@next/swc-android-arm64': 12.1.5 @@ -22057,6 +22039,7 @@ packages: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 + dev: true /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} @@ -22503,6 +22486,7 @@ packages: /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + dev: true /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} @@ -24554,7 +24538,7 @@ packages: inline-style-parser: 0.1.1 dev: true - /styled-jsx@5.0.1(@babel/core@7.23.0)(react@18.0.0): + /styled-jsx@5.0.1(@babel/core@7.22.15)(react@18.0.0): resolution: {integrity: sha512-+PIZ/6Uk40mphiQJJI1202b+/dYeTVd9ZnMPR80pgiWbjIwvN2zIp4r9et0BgqBuShh48I0gttPlAXA7WVvBxw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -24567,7 +24551,7 @@ packages: babel-plugin-macros: optional: true dependencies: - '@babel/core': 7.23.0 + '@babel/core': 7.22.15 react: 18.0.0 dev: false @@ -24679,13 +24663,13 @@ packages: svelte: 3.59.1 dev: true - /svelte-hmr@0.15.3(svelte@4.2.1): + /svelte-hmr@0.15.3(svelte@4.2.0): resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: ^3.19.0 || ^4.0.0 dependencies: - svelte: 4.2.1 + svelte: 4.2.0 dev: true /svelte-preprocess@5.0.4(svelte@3.59.1)(typescript@5.1.6): @@ -24740,8 +24724,8 @@ packages: engines: {node: '>= 8'} dev: true - /svelte@4.2.1: - resolution: {integrity: sha512-LpLqY2Jr7cRxkrTc796/AaaoMLF/1ax7cto8Ot76wrvKQhrPmZ0JgajiWPmg9mTSDqO16SSLiD17r9MsvAPTmw==} + /svelte@4.2.0: + resolution: {integrity: sha512-kVsdPjDbLrv74SmLSUzAsBGquMs4MPgWGkGLpH+PjOYnFOziAvENVzgJmyOCV2gntxE32aNm8/sqNKD6LbIpeQ==} engines: {node: '>=16'} dependencies: '@ampproject/remapping': 2.2.1 @@ -25087,11 +25071,6 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true - /time-zone@1.0.0: - resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} - engines: {node: '>=4'} - dev: false - /timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} @@ -25119,16 +25098,6 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: false - /tinypool@0.4.0: - resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} - engines: {node: '>=14.0.0'} - dev: false - - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} - engines: {node: '>=14.0.0'} - dev: false - /tinypool@0.8.1: resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} @@ -26464,142 +26433,6 @@ packages: vitest: link:packages/vitest dev: true - /vitest@0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): - resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==} - engines: {node: '>=v14.18.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - '@types/chai-subset': 1.3.3 - '@types/node': 18.16.19 - '@vitest/browser': link:packages/browser - '@vitest/expect': 0.30.1 - '@vitest/runner': 0.30.1 - '@vitest/snapshot': 0.30.1 - '@vitest/spy': 0.30.1 - '@vitest/ui': link:packages/ui - '@vitest/utils': 0.30.1 - acorn: 8.9.0 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.10 - concordance: 5.0.4 - debug: 4.3.4(supports-color@8.1.1) - local-pkg: 0.4.3 - magic-string: 0.30.4 - pathe: 1.1.1 - picocolors: 1.0.0 - source-map: 0.6.1 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.5.0 - tinypool: 0.4.0 - vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.30.1(@types/node@18.16.19) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - - /vitest@0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): - resolution: {integrity: sha512-8Pnc1fVt1P6uBncdUZ++hgiJGgxIRKuz4bmS/PQziaEcUj0D1g9cGiR1MbLrcsvFTC6fgrqDhYoTAdBG356WMA==} - engines: {node: '>=v14.18.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - '@types/chai-subset': 1.3.3 - '@types/node': 18.16.19 - '@vitest/browser': link:packages/browser - '@vitest/expect': 0.34.0 - '@vitest/runner': 0.34.0 - '@vitest/snapshot': 0.34.0 - '@vitest/spy': 0.34.0 - '@vitest/ui': link:packages/ui - '@vitest/utils': 0.34.0 - acorn: 8.9.0 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.10 - debug: 4.3.4(supports-color@8.1.1) - local-pkg: 0.4.3 - magic-string: 0.30.4 - pathe: 1.1.1 - picocolors: 1.0.0 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.5.0 - tinypool: 0.7.0 - vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.34.0(@types/node@18.16.19) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - /vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true @@ -26884,8 +26717,8 @@ packages: '@wdio/config': 8.16.20 '@wdio/logger': 8.16.17 '@wdio/protocols': 8.16.5 - '@wdio/types': 8.16.12 - '@wdio/utils': 8.16.17 + '@wdio/types': 8.16.3 + '@wdio/utils': 8.16.3 deepmerge-ts: 5.1.0 got: 12.6.1 ky: 0.33.3 @@ -26931,8 +26764,8 @@ packages: '@wdio/logger': 8.16.17 '@wdio/protocols': 8.16.5 '@wdio/repl': 8.10.1 - '@wdio/types': 8.16.12 - '@wdio/utils': 8.16.17 + '@wdio/types': 8.16.3 + '@wdio/utils': 8.16.3 archiver: 6.0.1 aria-query: 5.3.0 css-shorthand-properties: 1.1.1 @@ -27204,11 +27037,6 @@ packages: - uglify-js dev: true - /well-known-symbols@2.0.0: - resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} - engines: {node: '>=6'} - dev: false - /whatwg-encoding@1.0.5: resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} dependencies: From 641d2930636995ed268de2f4666da885d518e0b2 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 19:06:55 -0400 Subject: [PATCH 09/18] pnpm i again --- pnpm-lock.yaml | 394 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 320 insertions(+), 74 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9b54fe472e0..82ab19909081 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - overrides: vite: ^5.0.0-beta.15 vitest: workspace:* @@ -320,7 +316,7 @@ importers: dependencies: next: specifier: 12.1.5 - version: 12.1.5(@babel/core@7.22.15)(react-dom@18.0.0)(react@18.0.0) + version: 12.1.5(@babel/core@7.23.0)(react-dom@18.0.0)(react@18.0.0) react: specifier: 18.0.0 version: 18.0.0 @@ -340,7 +336,6 @@ importers: specifier: latest version: 4.1.0(vite@5.0.0-beta.17) jsdom: - specifier: latest version: 22.1.0 typescript: specifier: ^4.8.4 @@ -738,7 +733,7 @@ importers: version: 2.4.6(svelte@4.2.1)(vite@5.0.0-beta.17) '@testing-library/svelte': specifier: ^4.0.3 - version: 4.0.3(svelte@4.2.0) + version: 4.0.3(svelte@4.2.1) '@vitest/ui': specifier: latest version: link:../../packages/ui @@ -747,7 +742,7 @@ importers: version: 22.1.0 svelte: specifier: latest - version: 4.2.0 + version: 4.2.1 vite: specifier: ^5.0.0-beta.15 version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) @@ -1104,8 +1099,8 @@ importers: specifier: ^2.0.3 version: 2.0.3 vitest: - specifier: workspace:* - version: link:../vitest + specifier: '>=0.30.1 <1' + version: 0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui) devDependencies: '@faker-js/faker': specifier: ^8.2.0 @@ -1399,8 +1394,8 @@ importers: specifier: ^4.3.4 version: 4.3.4(supports-color@8.1.1) vitest: - specifier: workspace:* - version: link:../vitest + specifier: '>=0.34.0' + version: 0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui) devDependencies: '@types/debug': specifier: ^4.1.12 @@ -2405,7 +2400,7 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.18.9: @@ -2559,6 +2554,13 @@ packages: '@babel/template': 7.22.15 '@babel/types': 7.23.0 + /@babel/helper-function-name@7.23.0: + resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.22.15 + '@babel/types': 7.23.0 + /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} @@ -2569,7 +2571,7 @@ packages: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-module-imports@7.18.6: @@ -2650,7 +2652,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-plugin-utils@7.10.4: @@ -2722,7 +2724,7 @@ packages: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-split-export-declaration@7.22.6: @@ -2758,6 +2760,7 @@ packages: '@babel/types': 7.23.0 transitivePeerDependencies: - supports-color + dev: true /@babel/helper-wrap-function@7.22.20: resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} @@ -2986,6 +2989,17 @@ packages: '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.3) dev: true + /@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.23.0): + resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.0) + dev: true + /@babel/plugin-proposal-object-rest-spread@7.12.1(@babel/core@7.12.9): resolution: {integrity: sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==} peerDependencies: @@ -3213,6 +3227,15 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.0): + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + /@babel/plugin-syntax-jsx@7.12.1(@babel/core@7.12.9): resolution: {integrity: sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==} peerDependencies: @@ -3269,6 +3292,15 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.0): + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.12.9): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: @@ -3782,19 +3814,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.15): - resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.15 - '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.15) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-simple-access': 7.22.5 - babel-plugin-dynamic-import-node: 2.3.3 - dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -4018,6 +4037,19 @@ packages: '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.3) dev: true + /@babel/plugin-transform-object-super@7.18.6(@babel/core@7.23.0): + resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-replace-supers': 7.20.7 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/plugin-transform-parameters@7.18.8(@babel/core@7.12.9): resolution: {integrity: sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==} engines: {node: '>=6.9.0'} @@ -4122,13 +4154,13 @@ packages: '@babel/plugin-transform-react-jsx': 7.22.15(@babel/core@7.23.3) dev: true - /@babel/plugin-transform-react-jsx-source@7.22.5(@babel/core@7.22.15): - resolution: {integrity: sha512-yIiRO6yobeEIaI0RTbIr8iAK9FcBHLtZq0S89ZPjDLQXBA4xvghaKqI0etp/tF3htTM0sazJKKLz9oEiGRtu7w==} + /@babel/plugin-transform-react-jsx-self@7.22.5(@babel/core@7.23.0): + resolution: {integrity: sha512-nTh2ogNUtxbiSbxaT4Ds6aXnXEipHweN9YRgOX/oNXdf0cCrGn/+2LozFa3lnPV5D90MkjhgckCPBrsoSc1a7g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.22.15 + '@babel/core': 7.23.0 '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -4743,6 +4775,7 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: true /@babel/traverse@7.23.2: resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} @@ -9000,7 +9033,7 @@ packages: svelte: ^3 || ^4 dependencies: '@testing-library/dom': 9.3.1 - svelte: 4.2.0 + svelte: 4.2.1 dev: true /@testing-library/user-event@13.5.0(@testing-library/dom@8.17.1): @@ -9061,8 +9094,8 @@ packages: resolution: {integrity: sha512-pkPtJUUY+Vwv6B1inAz55rQvivClHJxc9aVEPPmaq2cbyeMLCiDpbKpcKyX4LAwpNGi+SHBv0tHv6+0gXv0P2A==} dev: true - /@types/babel__core@7.20.0: - resolution: {integrity: sha512-+n8dL/9GWblDO0iU6eZAwEIJVr5DWigtle+Q6HLOrh/pdbXOhOtqzq8VPPE2zvNJzSKY4vH/z3iT3tn0A3ypiQ==} + /@types/babel__core@7.20.2: + resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: '@babel/parser': 7.22.16 '@babel/types': 7.22.15 @@ -9084,7 +9117,7 @@ packages: /@types/babel__generator@7.6.4: resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@types/babel__generator@7.6.6: @@ -9096,8 +9129,8 @@ packages: /@types/babel__template@7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.22.16 - '@babel/types': 7.22.15 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 dev: true /@types/babel__template@7.4.3: @@ -9110,7 +9143,7 @@ packages: /@types/babel__traverse@7.18.3: resolution: {integrity: sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@types/babel__traverse@7.20.3: @@ -9130,9 +9163,14 @@ packages: resolution: {integrity: sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ==} dev: true + /@types/chai-subset@1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + dev: false + /@types/chai@4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm): resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} - dev: true patched: true /@types/codemirror@5.60.13: @@ -10352,9 +10390,10 @@ packages: peerDependencies: vite: ^5.0.0-beta.15 dependencies: - '@babel/core': 7.22.15 - '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.15) - '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.15) + '@babel/core': 7.23.0 + '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.23.0) + '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.0) + '@types/babel__core': 7.20.2 react-refresh: 0.14.0 vite: 5.0.0-beta.17(@types/node@20.8.2) transitivePeerDependencies: @@ -10486,7 +10525,7 @@ packages: /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 @@ -10601,7 +10640,7 @@ packages: /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 @@ -10916,9 +10955,9 @@ packages: resolution: {integrity: sha512-JFD7aYs3nGF2kNhc0eV03mWFQMJku42NCBl+aedb1jzP3z6tBWV3n1a0ETS4MTLps8lFXBDZWvWEnl+ZvVrHZw==} engines: {node: ^16.13 || >=18} dependencies: - '@wdio/logger': 8.11.0 - '@wdio/types': 8.16.3 - '@wdio/utils': 8.16.3 + '@wdio/logger': 8.16.17 + '@wdio/types': 8.16.12 + '@wdio/utils': 8.16.17 decamelize: 6.0.0 deepmerge-ts: 5.1.0 glob: 10.3.10 @@ -10972,8 +11011,8 @@ packages: '@types/node': 20.9.0 dev: true - /@wdio/types@8.16.3: - resolution: {integrity: sha512-cH6eKNKkx5ZVJxf7omwtqt88N/mI8Hn2qnXe4DHIYNC4wSDFPhSsuurRhH7s7fnk3biLEQfinuc3cxV0HefSVw==} + /@wdio/types@8.16.12: + resolution: {integrity: sha512-TjCZJ3P9ual21G0dRv0lC9QgHGd3Igv+guEINevBKf/oD4/N84PvQ2eZG1nSbZ3xh8X/dvi+O64A6VEv43gx2w==} engines: {node: ^16.13 || >=18} dependencies: '@types/node': 20.9.0 @@ -10986,13 +11025,13 @@ packages: '@types/node': 20.9.0 dev: true - /@wdio/utils@8.16.3: - resolution: {integrity: sha512-bX/sYOM+tI4hjMIcvSdL522c2xwkas6pII6AUhuBT2UIUkJnp7+OHijJ1l5kHAzRewCdcL3W4dm9exPH2URU+Q==} + /@wdio/utils@8.16.17: + resolution: {integrity: sha512-jDyOrxbQRDJO0OPt9UBgnwpUIKqtRn4+R0gR5VSDrIG/in5ZZg28yer8urrIVY4yY9ut5r/22VaMHZI9LEXF5w==} engines: {node: ^16.13 || >=18} dependencies: '@puppeteer/browsers': 1.7.0 - '@wdio/logger': 8.11.0 - '@wdio/types': 8.16.3 + '@wdio/logger': 8.16.17 + '@wdio/types': 8.16.12 decamelize: 6.0.0 deepmerge-ts: 5.1.0 edgedriver: 5.3.6 @@ -11002,6 +11041,7 @@ packages: import-meta-resolve: 3.0.0 locate-app: 2.1.0 safaridriver: 0.1.0 + split2: 4.2.0 wait-port: 1.0.4 transitivePeerDependencies: - supports-color @@ -11694,7 +11734,6 @@ packages: /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - dev: true /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} @@ -12166,6 +12205,21 @@ packages: webpack: 5.89.0(esbuild@0.18.20) dev: true + /babel-loader@8.2.5(@babel/core@7.23.0)(webpack@4.46.0): + resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} + engines: {node: '>= 8.9'} + peerDependencies: + '@babel/core': ^7.0.0 + webpack: '>=2' + dependencies: + '@babel/core': 7.23.0 + find-cache-dir: 3.3.2 + loader-utils: 2.0.2 + make-dir: 3.1.0 + schema-utils: 2.7.1 + webpack: 4.46.0 + dev: true + /babel-plugin-add-react-displayname@0.0.5: resolution: {integrity: sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==} dev: true @@ -12320,6 +12374,17 @@ packages: - supports-color dev: true + /babel-plugin-polyfill-regenerator@0.4.0(@babel/core@7.23.0): + resolution: {integrity: sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-define-polyfill-provider': 0.3.2(@babel/core@7.23.0) + transitivePeerDependencies: + - supports-color + dev: true + /babel-plugin-react-docgen@4.2.1: resolution: {integrity: sha512-UQ0NmGHj/HAqi5Bew8WvNfCk8wSsmdgNd8ZdMjBCICtyCJCq9LiqgqvjCYe570/Wg7AQArSq1VQ60Dd/CHN7mQ==} dependencies: @@ -12478,6 +12543,10 @@ packages: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true + /blueimp-md5@2.19.0: + resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} + dev: false + /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} dev: true @@ -13560,6 +13629,9 @@ packages: /convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + /convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + /cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} dev: true @@ -14131,6 +14203,13 @@ packages: resolution: {integrity: sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA==} engines: {node: '>=0.11'} + /date-time@3.1.0: + resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} + engines: {node: '>=6'} + dependencies: + time-zone: 1.0.0 + dev: false + /dayjs@1.11.5: resolution: {integrity: sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==} dev: true @@ -14708,7 +14787,7 @@ packages: hasBin: true requiresBuild: true dependencies: - '@wdio/logger': 8.11.0 + '@wdio/logger': 8.16.17 decamelize: 6.0.0 edge-paths: 3.0.5 node-fetch: 3.3.2 @@ -15819,7 +15898,6 @@ packages: /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - dev: true /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} @@ -16128,6 +16206,10 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true + /fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + dev: false + /fast-equals@2.0.4: resolution: {integrity: sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==} dev: false @@ -16795,7 +16877,7 @@ packages: hasBin: true requiresBuild: true dependencies: - '@wdio/logger': 8.11.0 + '@wdio/logger': 8.16.17 decamelize: 6.0.0 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.2 @@ -19180,7 +19262,6 @@ packages: /js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} - dev: true /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -20084,6 +20165,13 @@ packages: remove-accents: 0.4.2 dev: false + /md5-hex@3.0.1: + resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} + engines: {node: '>=8'} + dependencies: + blueimp-md5: 2.19.0 + dev: false + /md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} dependencies: @@ -20714,7 +20802,7 @@ packages: engines: {node: '>= 0.4.0'} dev: true - /next@12.1.5(@babel/core@7.22.15)(react-dom@18.0.0)(react@18.0.0): + /next@12.1.5(@babel/core@7.23.0)(react-dom@18.0.0)(react@18.0.0): resolution: {integrity: sha512-YGHDpyfgCfnT5GZObsKepmRnne7Kzp7nGrac07dikhutWQug7hHg85/+sPJ4ZW5Q2pDkb+n0FnmLkmd44htIJQ==} engines: {node: '>=12.22.0'} hasBin: true @@ -20737,7 +20825,7 @@ packages: postcss: 8.4.5 react: 18.0.0 react-dom: 18.0.0(react@18.0.0) - styled-jsx: 5.0.1(@babel/core@7.22.15)(react@18.0.0) + styled-jsx: 5.0.1(@babel/core@7.23.0)(react@18.0.0) optionalDependencies: '@next/swc-android-arm-eabi': 12.1.5 '@next/swc-android-arm64': 12.1.5 @@ -22039,7 +22127,6 @@ packages: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 - dev: true /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} @@ -22486,7 +22573,6 @@ packages: /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - dev: true /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} @@ -24538,7 +24624,7 @@ packages: inline-style-parser: 0.1.1 dev: true - /styled-jsx@5.0.1(@babel/core@7.22.15)(react@18.0.0): + /styled-jsx@5.0.1(@babel/core@7.23.0)(react@18.0.0): resolution: {integrity: sha512-+PIZ/6Uk40mphiQJJI1202b+/dYeTVd9ZnMPR80pgiWbjIwvN2zIp4r9et0BgqBuShh48I0gttPlAXA7WVvBxw==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -24551,7 +24637,7 @@ packages: babel-plugin-macros: optional: true dependencies: - '@babel/core': 7.22.15 + '@babel/core': 7.23.0 react: 18.0.0 dev: false @@ -24663,13 +24749,13 @@ packages: svelte: 3.59.1 dev: true - /svelte-hmr@0.15.3(svelte@4.2.0): + /svelte-hmr@0.15.3(svelte@4.2.1): resolution: {integrity: sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==} engines: {node: ^12.20 || ^14.13.1 || >= 16} peerDependencies: svelte: ^3.19.0 || ^4.0.0 dependencies: - svelte: 4.2.0 + svelte: 4.2.1 dev: true /svelte-preprocess@5.0.4(svelte@3.59.1)(typescript@5.1.6): @@ -24724,8 +24810,8 @@ packages: engines: {node: '>= 8'} dev: true - /svelte@4.2.0: - resolution: {integrity: sha512-kVsdPjDbLrv74SmLSUzAsBGquMs4MPgWGkGLpH+PjOYnFOziAvENVzgJmyOCV2gntxE32aNm8/sqNKD6LbIpeQ==} + /svelte@4.2.1: + resolution: {integrity: sha512-LpLqY2Jr7cRxkrTc796/AaaoMLF/1ax7cto8Ot76wrvKQhrPmZ0JgajiWPmg9mTSDqO16SSLiD17r9MsvAPTmw==} engines: {node: '>=16'} dependencies: '@ampproject/remapping': 2.2.1 @@ -25071,6 +25157,11 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true + /time-zone@1.0.0: + resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} + engines: {node: '>=4'} + dev: false + /timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} @@ -25098,6 +25189,16 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: false + /tinypool@0.4.0: + resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} + engines: {node: '>=14.0.0'} + dev: false + + /tinypool@0.7.0: + resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + engines: {node: '>=14.0.0'} + dev: false + /tinypool@0.8.1: resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} @@ -26428,11 +26529,147 @@ packages: resolution: {integrity: sha512-754xxoEe5h8QO8jFlNd/aLm9nUYwgu708KAiatdNH0DVwbS4LI9Mm2tBjKMPYbPVaD8UjQUO+/mGa+WTExzygQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} peerDependencies: - vitest: workspace:* + vitest: '>=0.18.0' dependencies: vitest: link:packages/vitest dev: true + /vitest@0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): + resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + '@types/chai-subset': 1.3.3 + '@types/node': 20.8.2 + '@vitest/browser': link:packages/browser + '@vitest/expect': 0.30.1 + '@vitest/runner': 0.30.1 + '@vitest/snapshot': 0.30.1 + '@vitest/spy': 0.30.1 + '@vitest/ui': link:packages/ui + '@vitest/utils': 0.30.1 + acorn: 8.9.0 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.10 + concordance: 5.0.4 + debug: 4.3.4(supports-color@8.1.1) + local-pkg: 0.4.3 + magic-string: 0.30.4 + pathe: 1.1.1 + picocolors: 1.0.0 + source-map: 0.6.1 + std-env: 3.3.3 + strip-literal: 1.0.1 + tinybench: 2.5.0 + tinypool: 0.4.0 + vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) + vite-node: 0.30.1(@types/node@20.8.2) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + + /vitest@0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): + resolution: {integrity: sha512-8Pnc1fVt1P6uBncdUZ++hgiJGgxIRKuz4bmS/PQziaEcUj0D1g9cGiR1MbLrcsvFTC6fgrqDhYoTAdBG356WMA==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) + '@types/chai-subset': 1.3.3 + '@types/node': 20.8.2 + '@vitest/browser': link:packages/browser + '@vitest/expect': 0.34.0 + '@vitest/runner': 0.34.0 + '@vitest/snapshot': 0.34.0 + '@vitest/spy': 0.34.0 + '@vitest/ui': link:packages/ui + '@vitest/utils': 0.34.0 + acorn: 8.9.0 + acorn-walk: 8.2.0 + cac: 6.7.14 + chai: 4.3.10 + debug: 4.3.4(supports-color@8.1.1) + local-pkg: 0.4.3 + magic-string: 0.30.4 + pathe: 1.1.1 + picocolors: 1.0.0 + std-env: 3.3.3 + strip-literal: 1.0.1 + tinybench: 2.5.0 + tinypool: 0.7.0 + vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) + vite-node: 0.34.0(@types/node@20.8.2) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: false + /vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true @@ -26717,8 +26954,8 @@ packages: '@wdio/config': 8.16.20 '@wdio/logger': 8.16.17 '@wdio/protocols': 8.16.5 - '@wdio/types': 8.16.3 - '@wdio/utils': 8.16.3 + '@wdio/types': 8.16.12 + '@wdio/utils': 8.16.17 deepmerge-ts: 5.1.0 got: 12.6.1 ky: 0.33.3 @@ -26764,8 +27001,8 @@ packages: '@wdio/logger': 8.16.17 '@wdio/protocols': 8.16.5 '@wdio/repl': 8.10.1 - '@wdio/types': 8.16.3 - '@wdio/utils': 8.16.3 + '@wdio/types': 8.16.12 + '@wdio/utils': 8.16.17 archiver: 6.0.1 aria-query: 5.3.0 css-shorthand-properties: 1.1.1 @@ -27037,6 +27274,11 @@ packages: - uglify-js dev: true + /well-known-symbols@2.0.0: + resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} + engines: {node: '>=6'} + dev: false + /whatwg-encoding@1.0.5: resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} dependencies: @@ -27628,3 +27870,7 @@ packages: resolution: {directory: test/env-custom/vitest-environment-custom, type: directory} name: vitest-environment-custom dev: true + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false From dd742d02a3b69ad43fbc25ec66d8cd60fac2f258 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 21:22:34 -0400 Subject: [PATCH 10/18] put `Type 'ExpectArray' has no call signatures` on same line --- packages/vitest/src/typecheck/typechecker.ts | 4 +- .../test/__snapshots__/runner.test.ts.snap | 38 +++++++++---------- test/typescript/test/runner.test.ts | 2 +- 3 files changed, 23 insertions(+), 21 deletions(-) diff --git a/packages/vitest/src/typecheck/typechecker.ts b/packages/vitest/src/typecheck/typechecker.ts index 5475d8a0e2ca..1f5a41ff9760 100644 --- a/packages/vitest/src/typecheck/typechecker.ts +++ b/packages/vitest/src/typecheck/typechecker.ts @@ -187,7 +187,9 @@ export class Typechecker { const suiteErrors = errors.map((info) => { const limit = Error.stackTraceLimit Error.stackTraceLimit = 0 - const error = new TypeCheckError(info.errMsg, [ + // Some expect-type errors have the most useful information on the second line e.g. `This expression is not callable.\n Type 'ExpectString' has no call signatures.` + const errMsg = info.errMsg.replace(/\n {2}(Type .* has no call signatures)/g, ' $1') + const error = new TypeCheckError(errMsg, [ { file: filepath, line: info.line, diff --git a/test/typescript/test/__snapshots__/runner.test.ts.snap b/test/typescript/test/__snapshots__/runner.test.ts.snap index fd73b05de2ab..3664098e3caf 100644 --- a/test/typescript/test/__snapshots__/runner.test.ts.snap +++ b/test/typescript/test/__snapshots__/runner.test.ts.snap @@ -1,24 +1,24 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`should fail > typecheck files 1`] = ` -"TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. ❯ only.test-d.ts:4:33 -TypeCheckError: This expression is not callable. Type 'ExpectArray' has no call signatures. -TypeCheckError: This expression is not callable. Type 'ExpectUndefined' has no call signatures. -TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. -TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. ❯ fail.test-d.ts:4:33 -TypeCheckError: Unused '@ts-expect-error' directive. ❯ expect-error.test-d.ts:4:3 -TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures." +"TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. +TypeCheckError: This expression is not callable. Type 'ExpectArray' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectUndefined' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. +TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. +TypeCheckError: Unused '@ts-expect-error' directive. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures." `; exports[`should fail > typecheck files 2`] = ` " FAIL fail.test-d.ts > nested suite -TypeCheckError: This expression is not callable. - Type 'ExpectVoid' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. ❯ fail.test-d.ts:15:19 13| }) 14| 15| expectTypeOf(1).toBeVoid() - | ^" + | ^ + 16| })" `; exports[`should fail > typecheck files 3`] = ` @@ -45,35 +45,35 @@ TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, exports[`should fail > typecheck files 5`] = ` " FAIL fail.test-d.ts > nested suite > nested 2 > failing test 2 -TypeCheckError: This expression is not callable. - Type 'ExpectVoid' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. ❯ fail.test-d.ts:10:23 8| describe('nested 2', () => { 9| test('failing test 2', () => { 10| expectTypeOf(1).toBeVoid() - | ^" + | ^ + 11| expectTypeOf(1).toBeUndefined()" `; exports[`should fail > typecheck files 6`] = ` " FAIL fail.test-d.ts > nested suite > nested 2 > failing test 2 -TypeCheckError: This expression is not callable. - Type 'ExpectUndefined' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectUndefined' has no call signatures. ❯ fail.test-d.ts:11:23 9| test('failing test 2', () => { 10| expectTypeOf(1).toBeVoid() 11| expectTypeOf(1).toBeUndefined() - | ^" + | ^ + 12| })" `; exports[`should fail > typecheck files 7`] = ` " FAIL js-fail.test-d.js > js test fails -TypeCheckError: This expression is not callable. - Type 'ExpectArray' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectArray' has no call signatures. ❯ js-fail.test-d.js:6:19 4| 5| test('js test fails', () => { 6| expectTypeOf(1).toBeArray() - | ^" + | ^ + 7| })" `; exports[`should fail > typecheck files 8`] = ` diff --git a/test/typescript/test/runner.test.ts b/test/typescript/test/runner.test.ts index f0074f02fb9c..1a7a11e206ec 100644 --- a/test/typescript/test/runner.test.ts +++ b/test/typescript/test/runner.test.ts @@ -22,7 +22,7 @@ describe('should fail', async () => { expect(stderr).toBeTruthy() const lines = String(stderr).split(/\n/g) const msg = lines - .flatMap((line, i, array) => line.includes('TypeCheckError: ') ? [[line + array[i + 1]].filter(Boolean).join('\n')] : []) + .filter(i => i.includes('TypeCheckError: ')) .reverse() .join('\n') .trim() From 4ca9743bc03acb305f95c26b0b67f99f85eebf83 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 2 Oct 2023 22:13:50 -0400 Subject: [PATCH 11/18] bump to v0.17.1 --- pnpm-lock.yaml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82ab19909081..5aa32236b251 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2714,6 +2714,18 @@ packages: '@babel/helper-optimise-call-expression': 7.22.5 dev: true + /@babel/helper-replace-supers@7.22.9(@babel/core@7.23.0): + resolution: {integrity: sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.0 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-member-expression-to-functions': 7.22.15 + '@babel/helper-optimise-call-expression': 7.22.5 + dev: true + /@babel/helper-simple-access@7.22.5: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} @@ -9097,8 +9109,8 @@ packages: /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: - '@babel/parser': 7.22.16 - '@babel/types': 7.22.15 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -10512,8 +10524,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.22.15 - '@babel/types': 7.22.15 + '@babel/traverse': 7.23.0 + '@babel/types': 7.23.0 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10577,7 +10589,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 From d031ffc0fd6fbed53223202cd9260f943c15fde7 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Fri, 6 Oct 2023 09:16:49 +0200 Subject: [PATCH 12/18] chore: update pnpm lockfile --- pnpm-lock.yaml | 295 +++++++++++-------------------------------------- 1 file changed, 66 insertions(+), 229 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5aa32236b251..7aeca2af1a9c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + overrides: vite: ^5.0.0-beta.15 vitest: workspace:* @@ -329,13 +333,15 @@ importers: version: 13.3.0(react-dom@18.0.0)(react@18.0.0) '@types/node': specifier: latest - version: 20.8.2 + version: 20.8.0 '@types/react': specifier: latest - version: 18.2.25 + version: 18.2.24 + '@vitejs/plugin-react': specifier: latest version: 4.1.0(vite@5.0.0-beta.17) jsdom: + specifier: latest version: 22.1.0 typescript: specifier: ^4.8.4 @@ -422,7 +428,7 @@ importers: version: link:../../packages/ui happy-dom: specifier: latest - version: 12.9.0 + version: 12.6.0 jsdom: specifier: latest version: 22.1.0 @@ -1099,8 +1105,8 @@ importers: specifier: ^2.0.3 version: 2.0.3 vitest: - specifier: '>=0.30.1 <1' - version: 0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui) + specifier: workspace:* + version: link:../vitest devDependencies: '@faker-js/faker': specifier: ^8.2.0 @@ -1394,8 +1400,8 @@ importers: specifier: ^4.3.4 version: 4.3.4(supports-color@8.1.1) vitest: - specifier: '>=0.34.0' - version: 0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui) + specifier: workspace:* + version: link:../vitest devDependencies: '@types/debug': specifier: ^4.1.12 @@ -1436,7 +1442,7 @@ importers: version: link:../../packages/vitest webdriverio: specifier: latest - version: 8.16.20(typescript@5.1.6) + version: 8.16.18(typescript@5.1.6) test/base: devDependencies: @@ -1559,7 +1565,7 @@ importers: version: 2.4.1(vue@3.3.4) happy-dom: specifier: latest - version: 12.9.0 + version: 12.6.0 istanbul-lib-coverage: specifier: ^3.2.0 version: 3.2.0 @@ -1574,7 +1580,7 @@ importers: version: 3.3.4 webdriverio: specifier: latest - version: 8.16.20(typescript@5.1.6) + version: 8.16.18(typescript@5.1.6) test/css: devDependencies: @@ -1640,7 +1646,7 @@ importers: devDependencies: happy-dom: specifier: latest - version: 12.9.0 + version: 12.6.0 vite: specifier: ^5.0.0-beta.15 version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) @@ -1932,7 +1938,7 @@ importers: version: link:../../packages/vitest webdriverio: specifier: latest - version: 8.16.20(typescript@5.1.6) + version: 8.16.18(typescript@5.1.6) test/web-worker: devDependencies: @@ -2400,7 +2406,7 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.18.9: @@ -2571,7 +2577,7 @@ packages: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-module-imports@7.18.6: @@ -2585,7 +2591,7 @@ packages: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 /@babel/helper-module-imports@7.22.5: resolution: {integrity: sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==} @@ -2601,7 +2607,7 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 @@ -2652,7 +2658,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-plugin-utils@7.10.4: @@ -2736,7 +2742,7 @@ packages: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@babel/helper-split-export-declaration@7.22.6: @@ -3826,6 +3832,19 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.15): + resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.22.15 + '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.15) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + babel-plugin-dynamic-import-node: 2.3.3 + dev: true + /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -9109,8 +9128,8 @@ packages: /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 + '@babel/parser': 7.22.16 + '@babel/types': 7.22.15 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -9129,7 +9148,7 @@ packages: /@types/babel__generator@7.6.4: resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@types/babel__generator@7.6.6: @@ -9141,8 +9160,8 @@ packages: /@types/babel__template@7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 + '@babel/parser': 7.22.16 + '@babel/types': 7.22.15 dev: true /@types/babel__template@7.4.3: @@ -9155,7 +9174,7 @@ packages: /@types/babel__traverse@7.18.3: resolution: {integrity: sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==} dependencies: - '@babel/types': 7.23.0 + '@babel/types': 7.22.15 dev: true /@types/babel__traverse@7.20.3: @@ -9175,14 +9194,9 @@ packages: resolution: {integrity: sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ==} dev: true - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - dev: false - /@types/chai@4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm): resolution: {integrity: sha512-VOVRLM1mBxIRxydiViqPcKn6MIxZytrbMpd6RJLIWKxUNr3zux8no0Oc7kJx0WAPIitgZ0gkrDS+btlqQpubpw==} + dev: true patched: true /@types/codemirror@5.60.13: @@ -9617,8 +9631,8 @@ packages: csstype: 3.1.0 dev: true - /@types/react@18.2.25: - resolution: {integrity: sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==} + /@types/react@18.2.24: + resolution: {integrity: sha512-Ee0Jt4sbJxMu1iDcetZEIKQr99J1Zfb6D4F3qfUWoR1JpInkY1Wdg4WwCyBjL257D0+jGqSl1twBjV8iCaC0Aw==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 @@ -10524,8 +10538,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 - '@babel/types': 7.23.0 + '@babel/traverse': 7.22.15 + '@babel/types': 7.22.15 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10537,7 +10551,7 @@ packages: /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 @@ -10589,7 +10603,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -10652,7 +10666,7 @@ packages: /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: - '@babel/parser': 7.23.0 + '@babel/parser': 7.22.16 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 @@ -11746,6 +11760,7 @@ packages: /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} + dev: true /ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} @@ -12555,10 +12570,6 @@ packages: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true - /blueimp-md5@2.19.0: - resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} - dev: false - /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} dev: true @@ -14215,13 +14226,6 @@ packages: resolution: {integrity: sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA==} engines: {node: '>=0.11'} - /date-time@3.1.0: - resolution: {integrity: sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==} - engines: {node: '>=6'} - dependencies: - time-zone: 1.0.0 - dev: false - /dayjs@1.11.5: resolution: {integrity: sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==} dev: true @@ -15910,6 +15914,7 @@ packages: /esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} + dev: true /etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} @@ -16218,10 +16223,6 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true - /fast-diff@1.3.0: - resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} - dev: false - /fast-equals@2.0.4: resolution: {integrity: sha512-caj/ZmjHljPrZtbzJ3kfH5ia/k4mTJe/qSiXAGzxZWRZgsgDV0cvNaQULqUX8t0/JVlzzEdYOwCN5DmzTxoD4w==} dev: false @@ -16647,7 +16648,7 @@ packages: vue-template-compiler: optional: true dependencies: - '@babel/code-frame': 7.22.5 + '@babel/code-frame': 7.22.13 '@types/json-schema': 7.0.11 chalk: 4.1.2 chokidar: 3.5.3 @@ -18970,7 +18971,7 @@ packages: resolution: {integrity: sha512-wRMAQt3HrLpxSubdnzOo68QoTfQ+NLXFzU0Heb18ZUzO2S9GgaXNEdQ4rpd0fI9dq2NXkpCk1IUWSqzYKji64A==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/code-frame': 7.22.5 + '@babel/code-frame': 7.22.13 '@jest/types': 29.0.1 '@types/stack-utils': 2.0.1 chalk: 4.1.2 @@ -19274,6 +19275,7 @@ packages: /js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} + dev: true /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -20177,13 +20179,6 @@ packages: remove-accents: 0.4.2 dev: false - /md5-hex@3.0.1: - resolution: {integrity: sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==} - engines: {node: '>=8'} - dependencies: - blueimp-md5: 2.19.0 - dev: false - /md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} dependencies: @@ -21584,7 +21579,7 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} dependencies: - '@babel/code-frame': 7.22.5 + '@babel/code-frame': 7.22.13 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -22139,6 +22134,7 @@ packages: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 + dev: true /pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} @@ -22585,6 +22581,7 @@ packages: /react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + dev: true /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} @@ -25169,11 +25166,6 @@ packages: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true - /time-zone@1.0.0: - resolution: {integrity: sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==} - engines: {node: '>=4'} - dev: false - /timers-browserify@2.0.12: resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} engines: {node: '>=0.6.0'} @@ -25201,16 +25193,6 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: false - /tinypool@0.4.0: - resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} - engines: {node: '>=14.0.0'} - dev: false - - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} - engines: {node: '>=14.0.0'} - dev: false - /tinypool@0.8.1: resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} @@ -26541,147 +26523,11 @@ packages: resolution: {integrity: sha512-754xxoEe5h8QO8jFlNd/aLm9nUYwgu708KAiatdNH0DVwbS4LI9Mm2tBjKMPYbPVaD8UjQUO+/mGa+WTExzygQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} peerDependencies: - vitest: '>=0.18.0' + vitest: workspace:* dependencies: vitest: link:packages/vitest dev: true - /vitest@0.30.1(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): - resolution: {integrity: sha512-y35WTrSTlTxfMLttgQk4rHcaDkbHQwDP++SNwPb+7H8yb13Q3cu2EixrtHzF27iZ8v0XCciSsLg00RkPAzB/aA==} - engines: {node: '>=v14.18.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - '@types/chai-subset': 1.3.3 - '@types/node': 20.8.2 - '@vitest/browser': link:packages/browser - '@vitest/expect': 0.30.1 - '@vitest/runner': 0.30.1 - '@vitest/snapshot': 0.30.1 - '@vitest/spy': 0.30.1 - '@vitest/ui': link:packages/ui - '@vitest/utils': 0.30.1 - acorn: 8.9.0 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.10 - concordance: 5.0.4 - debug: 4.3.4(supports-color@8.1.1) - local-pkg: 0.4.3 - magic-string: 0.30.4 - pathe: 1.1.1 - picocolors: 1.0.0 - source-map: 0.6.1 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.5.0 - tinypool: 0.4.0 - vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.30.1(@types/node@20.8.2) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - - /vitest@0.34.0(@vitest/browser@packages+browser)(@vitest/ui@packages+ui): - resolution: {integrity: sha512-8Pnc1fVt1P6uBncdUZ++hgiJGgxIRKuz4bmS/PQziaEcUj0D1g9cGiR1MbLrcsvFTC6fgrqDhYoTAdBG356WMA==} - engines: {node: '>=v14.18.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true - dependencies: - '@types/chai': 4.3.6(patch_hash=s5kzatt2y2dzfxfynxzvzt5kbm) - '@types/chai-subset': 1.3.3 - '@types/node': 20.8.2 - '@vitest/browser': link:packages/browser - '@vitest/expect': 0.34.0 - '@vitest/runner': 0.34.0 - '@vitest/snapshot': 0.34.0 - '@vitest/spy': 0.34.0 - '@vitest/ui': link:packages/ui - '@vitest/utils': 0.34.0 - acorn: 8.9.0 - acorn-walk: 8.2.0 - cac: 6.7.14 - chai: 4.3.10 - debug: 4.3.4(supports-color@8.1.1) - local-pkg: 0.4.3 - magic-string: 0.30.4 - pathe: 1.1.1 - picocolors: 1.0.0 - std-env: 3.3.3 - strip-literal: 1.0.1 - tinybench: 2.5.0 - tinypool: 0.7.0 - vite: 4.4.9(@types/node@18.16.19)(less@4.1.3) - vite-node: 0.34.0(@types/node@20.8.2) - why-is-node-running: 2.2.2 - transitivePeerDependencies: - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - dev: false - /vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} dev: true @@ -26957,8 +26803,8 @@ packages: engines: {node: '>= 14'} dev: true - /webdriver@8.16.20: - resolution: {integrity: sha512-3Dynj9pfTqmbDadqmMmD/sQgGFwho92zQPGgpAqLUMebE/qEkraoIfRWdbi2tw1ityiThOJVPTXfwsY/bpvknw==} + /webdriver@8.16.17: + resolution: {integrity: sha512-pG5aEqK6odI9Tr9pr0+1mN6iGqUu5uc5HTVbqbEM6CSX2g035JRVQ/tavFTegCF1HI6yIquHiwAqsfPgLciAnQ==} engines: {node: ^16.13 || >=18} dependencies: '@types/node': 20.9.0 @@ -26999,8 +26845,8 @@ packages: - utf-8-validate dev: true - /webdriverio@8.16.20(typescript@5.1.6): - resolution: {integrity: sha512-2xSJDrMxwPF1kucB/r7Wc8yF689GGi7iSKrog7vkkoIiRY25vd3U129iN2mTYgNDyM6SM0kw+GP5W1s73khpYw==} + /webdriverio@8.16.18(typescript@5.1.6): + resolution: {integrity: sha512-4HvywcNYJtEALbBQ7k5CE+XhiU2Ypr3hpd3P2wZkvN7+U2BSIS1cz9V1EtBDmR56e7pLz1La9kS1D3ShWm9NJA==} engines: {node: ^16.13 || >=18} peerDependencies: devtools: ^8.14.0 @@ -27019,7 +26865,7 @@ packages: aria-query: 5.3.0 css-shorthand-properties: 1.1.1 css-value: 0.0.1 - devtools-protocol: 0.0.1203626 + devtools-protocol: 0.0.1188743 grapheme-splitter: 1.0.4 import-meta-resolve: 3.0.0 is-plain-obj: 4.1.0 @@ -27031,7 +26877,7 @@ packages: resq: 1.11.0 rgb2hex: 0.2.5 serialize-error: 11.0.2 - webdriver: 8.16.20 + webdriver: 8.16.17 transitivePeerDependencies: - bufferutil - encoding @@ -27286,11 +27132,6 @@ packages: - uglify-js dev: true - /well-known-symbols@2.0.0: - resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} - engines: {node: '>=6'} - dev: false - /whatwg-encoding@1.0.5: resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} dependencies: @@ -27882,7 +27723,3 @@ packages: resolution: {directory: test/env-custom/vitest-environment-custom, type: directory} name: vitest-environment-custom dev: true - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false From b50db1d41c8f4384ce6c71e77f3c09442303a099 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Fri, 6 Oct 2023 19:47:25 -0400 Subject: [PATCH 13/18] Update snapshot --- test/typescript/test/__snapshots__/runner.test.ts.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/typescript/test/__snapshots__/runner.test.ts.snap b/test/typescript/test/__snapshots__/runner.test.ts.snap index 3664098e3caf..a23b3b281d00 100644 --- a/test/typescript/test/__snapshots__/runner.test.ts.snap +++ b/test/typescript/test/__snapshots__/runner.test.ts.snap @@ -99,8 +99,8 @@ Error: error TS18003: No inputs were found in config file '/tsconfig.vites `; exports[`should fail > typecheks with custom tsconfig 1`] = ` -"TypeCheckError: This expression is not callable. -TypeCheckError: This expression is not callable. +"TypeCheckError: This expression is not callable. Type 'ExpectUndefined' has no call signatures. +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures. TypeCheckError: Type 'string' does not satisfy the constraint '"Expected string, Actual number"'. -TypeCheckError: This expression is not callable." +TypeCheckError: This expression is not callable. Type 'ExpectVoid' has no call signatures." `; From 69fa20b7caae64854bbdebdb3375de7914112e7f Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Fri, 6 Oct 2023 20:33:29 -0400 Subject: [PATCH 14/18] git show main:pnpm-lock.yaml > pnpm-lock.yaml --- pnpm-lock.yaml | 90 ++++++++++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7aeca2af1a9c..42c2b64df25b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -333,10 +333,10 @@ importers: version: 13.3.0(react-dom@18.0.0)(react@18.0.0) '@types/node': specifier: latest - version: 20.8.0 + version: 20.8.2 '@types/react': specifier: latest - version: 18.2.24 + version: 18.2.25 '@vitejs/plugin-react': specifier: latest version: 4.1.0(vite@5.0.0-beta.17) @@ -428,7 +428,7 @@ importers: version: link:../../packages/ui happy-dom: specifier: latest - version: 12.6.0 + version: 12.9.0 jsdom: specifier: latest version: 22.1.0 @@ -1442,7 +1442,7 @@ importers: version: link:../../packages/vitest webdriverio: specifier: latest - version: 8.16.18(typescript@5.1.6) + version: 8.16.20(typescript@5.1.6) test/base: devDependencies: @@ -1565,7 +1565,7 @@ importers: version: 2.4.1(vue@3.3.4) happy-dom: specifier: latest - version: 12.6.0 + version: 12.9.0 istanbul-lib-coverage: specifier: ^3.2.0 version: 3.2.0 @@ -1580,7 +1580,7 @@ importers: version: 3.3.4 webdriverio: specifier: latest - version: 8.16.18(typescript@5.1.6) + version: 8.16.20(typescript@5.1.6) test/css: devDependencies: @@ -1646,7 +1646,7 @@ importers: devDependencies: happy-dom: specifier: latest - version: 12.6.0 + version: 12.9.0 vite: specifier: ^5.0.0-beta.15 version: 5.0.0-beta.17(@types/node@18.18.9)(less@4.1.3) @@ -1938,7 +1938,7 @@ importers: version: link:../../packages/vitest webdriverio: specifier: latest - version: 8.16.18(typescript@5.1.6) + version: 8.16.20(typescript@5.1.6) test/web-worker: devDependencies: @@ -2591,7 +2591,7 @@ packages: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 /@babel/helper-module-imports@7.22.5: resolution: {integrity: sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==} @@ -2607,7 +2607,7 @@ packages: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-environment-visitor': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 @@ -3832,19 +3832,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.15): - resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.15 - '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.15) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-simple-access': 7.22.5 - babel-plugin-dynamic-import-node: 2.3.3 - dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -9128,8 +9115,8 @@ packages: /@types/babel__core@7.20.2: resolution: {integrity: sha512-pNpr1T1xLUc2l3xJKuPtsEky3ybxN3m4fJkknfIpTCTfIZCDW57oAg+EfCgIIp2rvCe0Wn++/FfodDS4YXxBwA==} dependencies: - '@babel/parser': 7.22.16 - '@babel/types': 7.22.15 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.18.3 @@ -9148,7 +9135,7 @@ packages: /@types/babel__generator@7.6.4: resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@types/babel__generator@7.6.6: @@ -9160,8 +9147,8 @@ packages: /@types/babel__template@7.4.1: resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} dependencies: - '@babel/parser': 7.22.16 - '@babel/types': 7.22.15 + '@babel/parser': 7.23.0 + '@babel/types': 7.23.0 dev: true /@types/babel__template@7.4.3: @@ -9174,7 +9161,7 @@ packages: /@types/babel__traverse@7.18.3: resolution: {integrity: sha512-1kbcJ40lLB7MHsj39U4Sh1uTd2E7rLEa79kmDpI6cy+XiXsteB3POdQomoq4FxszMrO3ZYchkhYJw7A2862b3w==} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@types/babel__traverse@7.20.3: @@ -9631,8 +9618,8 @@ packages: csstype: 3.1.0 dev: true - /@types/react@18.2.24: - resolution: {integrity: sha512-Ee0Jt4sbJxMu1iDcetZEIKQr99J1Zfb6D4F3qfUWoR1JpInkY1Wdg4WwCyBjL257D0+jGqSl1twBjV8iCaC0Aw==} + /@types/react@18.2.25: + resolution: {integrity: sha512-24xqse6+VByVLIr+xWaQ9muX1B4bXJKXBbjszbld/UEDslGLY53+ZucF44HCmLbMPejTzGG9XgR+3m2/Wqu1kw==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2 @@ -10538,8 +10525,8 @@ packages: '@babel/helper-module-imports': 7.22.15 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.23.3) '@babel/template': 7.22.15 - '@babel/traverse': 7.22.15 - '@babel/types': 7.22.15 + '@babel/traverse': 7.23.0 + '@babel/types': 7.23.0 '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 @@ -10551,7 +10538,7 @@ packages: /@vue/compiler-core@3.3.4: resolution: {integrity: sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/shared': 3.3.4 estree-walker: 2.0.2 source-map-js: 1.0.2 @@ -10603,7 +10590,7 @@ packages: /@vue/compiler-sfc@3.3.4: resolution: {integrity: sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/compiler-core': 3.3.4 '@vue/compiler-dom': 3.3.4 '@vue/compiler-ssr': 3.3.4 @@ -10666,7 +10653,7 @@ packages: /@vue/reactivity-transform@3.3.4: resolution: {integrity: sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==} dependencies: - '@babel/parser': 7.22.16 + '@babel/parser': 7.23.0 '@vue/compiler-core': 3.3.4 '@vue/shared': 3.3.4 estree-walker: 2.0.2 @@ -12247,6 +12234,21 @@ packages: webpack: 4.46.0 dev: true + /babel-loader@8.2.5(@babel/core@7.23.0)(webpack@4.46.0): + resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} + engines: {node: '>= 8.9'} + peerDependencies: + '@babel/core': ^7.0.0 + webpack: '>=2' + dependencies: + '@babel/core': 7.23.0 + find-cache-dir: 3.3.2 + loader-utils: 2.0.2 + make-dir: 3.1.0 + schema-utils: 2.7.1 + webpack: 4.46.0 + dev: true + /babel-plugin-add-react-displayname@0.0.5: resolution: {integrity: sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==} dev: true @@ -16079,8 +16081,8 @@ packages: engines: {node: '>=6'} dev: true - /expect-type@0.17.3: - resolution: {integrity: sha512-K0ZdZJ97jiAtaOwhEHHz/f0N6Xbj5reRz5g6+5BO7+OvqQ7PMQz0/c8bFSJs1zPotNJL5HJaC6t6lGPEAtGyOw==} + /expect-type@0.16.0: + resolution: {integrity: sha512-wCpFeVBiAPGiYkQZzaqvGuuBnNCHbtnowMOBpBGY8a27XbG8VAit3lklWph1r8VmgsH61mOZqI3NuGm8bZnUlw==} engines: {node: '>=12.0.0'} dev: true @@ -26803,8 +26805,8 @@ packages: engines: {node: '>= 14'} dev: true - /webdriver@8.16.17: - resolution: {integrity: sha512-pG5aEqK6odI9Tr9pr0+1mN6iGqUu5uc5HTVbqbEM6CSX2g035JRVQ/tavFTegCF1HI6yIquHiwAqsfPgLciAnQ==} + /webdriver@8.16.20: + resolution: {integrity: sha512-3Dynj9pfTqmbDadqmMmD/sQgGFwho92zQPGgpAqLUMebE/qEkraoIfRWdbi2tw1ityiThOJVPTXfwsY/bpvknw==} engines: {node: ^16.13 || >=18} dependencies: '@types/node': 20.9.0 @@ -26845,8 +26847,8 @@ packages: - utf-8-validate dev: true - /webdriverio@8.16.18(typescript@5.1.6): - resolution: {integrity: sha512-4HvywcNYJtEALbBQ7k5CE+XhiU2Ypr3hpd3P2wZkvN7+U2BSIS1cz9V1EtBDmR56e7pLz1La9kS1D3ShWm9NJA==} + /webdriverio@8.16.20(typescript@5.1.6): + resolution: {integrity: sha512-2xSJDrMxwPF1kucB/r7Wc8yF689GGi7iSKrog7vkkoIiRY25vd3U129iN2mTYgNDyM6SM0kw+GP5W1s73khpYw==} engines: {node: ^16.13 || >=18} peerDependencies: devtools: ^8.14.0 @@ -26865,7 +26867,7 @@ packages: aria-query: 5.3.0 css-shorthand-properties: 1.1.1 css-value: 0.0.1 - devtools-protocol: 0.0.1188743 + devtools-protocol: 0.0.1203626 grapheme-splitter: 1.0.4 import-meta-resolve: 3.0.0 is-plain-obj: 4.1.0 @@ -26877,7 +26879,7 @@ packages: resq: 1.11.0 rgb2hex: 0.2.5 serialize-error: 11.0.2 - webdriver: 8.16.17 + webdriver: 8.16.20 transitivePeerDependencies: - bufferutil - encoding From a60922573ea6cdf92c1ffacb2e0edf28a5d7df8e Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Fri, 6 Oct 2023 20:33:34 -0400 Subject: [PATCH 15/18] pnpm i (again) --- pnpm-lock.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42c2b64df25b..5c1f35fb8dae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16081,8 +16081,8 @@ packages: engines: {node: '>=6'} dev: true - /expect-type@0.16.0: - resolution: {integrity: sha512-wCpFeVBiAPGiYkQZzaqvGuuBnNCHbtnowMOBpBGY8a27XbG8VAit3lklWph1r8VmgsH61mOZqI3NuGm8bZnUlw==} + /expect-type@0.17.3: + resolution: {integrity: sha512-K0ZdZJ97jiAtaOwhEHHz/f0N6Xbj5reRz5g6+5BO7+OvqQ7PMQz0/c8bFSJs1zPotNJL5HJaC6t6lGPEAtGyOw==} engines: {node: '>=12.0.0'} dev: true From bca55ebecde8010b1c9d3fbc891f1d3169810374 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 6 Nov 2023 09:24:07 -0500 Subject: [PATCH 16/18] bit more resilient --- packages/vitest/src/typecheck/typechecker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vitest/src/typecheck/typechecker.ts b/packages/vitest/src/typecheck/typechecker.ts index 1f5a41ff9760..df11fe4f95e9 100644 --- a/packages/vitest/src/typecheck/typechecker.ts +++ b/packages/vitest/src/typecheck/typechecker.ts @@ -188,7 +188,7 @@ export class Typechecker { const limit = Error.stackTraceLimit Error.stackTraceLimit = 0 // Some expect-type errors have the most useful information on the second line e.g. `This expression is not callable.\n Type 'ExpectString' has no call signatures.` - const errMsg = info.errMsg.replace(/\n {2}(Type .* has no call signatures)/g, ' $1') + const errMsg = info.errMsg.replace(/\n\s*(Type .* has no call signatures)/g, ' $1') const error = new TypeCheckError(errMsg, [ { file: filepath, @@ -203,7 +203,7 @@ export class Typechecker { error: { name: error.name, nameStr: String(error.name), - message: info.errMsg, + message: errMsg, stacks: error.stacks, stack: '', stackStr: '', From 118c2395c31a9801d78a0e9e28025218a73c9fe8 Mon Sep 17 00:00:00 2001 From: Misha Kaletsky Date: Mon, 6 Nov 2023 09:53:06 -0500 Subject: [PATCH 17/18] \r? --- packages/vitest/src/typecheck/typechecker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vitest/src/typecheck/typechecker.ts b/packages/vitest/src/typecheck/typechecker.ts index df11fe4f95e9..c1e2680a96e6 100644 --- a/packages/vitest/src/typecheck/typechecker.ts +++ b/packages/vitest/src/typecheck/typechecker.ts @@ -188,7 +188,7 @@ export class Typechecker { const limit = Error.stackTraceLimit Error.stackTraceLimit = 0 // Some expect-type errors have the most useful information on the second line e.g. `This expression is not callable.\n Type 'ExpectString' has no call signatures.` - const errMsg = info.errMsg.replace(/\n\s*(Type .* has no call signatures)/g, ' $1') + const errMsg = info.errMsg.replace(/\r?\n\s*(Type .* has no call signatures)/g, ' $1') const error = new TypeCheckError(errMsg, [ { file: filepath, From e308e6b1b94a21759f901414cae660b9b69fe547 Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Fri, 10 Nov 2023 18:38:17 +0100 Subject: [PATCH 18/18] chore: lockfile --- pnpm-lock.yaml | 172 +++---------------------------------------------- 1 file changed, 10 insertions(+), 162 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c1f35fb8dae..c03f5ca228cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2406,7 +2406,7 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.18.9: @@ -2560,13 +2560,6 @@ packages: '@babel/template': 7.22.15 '@babel/types': 7.23.0 - /@babel/helper-function-name@7.23.0: - resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/template': 7.22.15 - '@babel/types': 7.23.0 - /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} @@ -2577,14 +2570,14 @@ packages: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-module-imports@7.18.6: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.5 + '@babel/types': 7.23.0 dev: true /@babel/helper-module-imports@7.22.15: @@ -2658,7 +2651,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-plugin-utils@7.10.4: @@ -2720,18 +2713,6 @@ packages: '@babel/helper-optimise-call-expression': 7.22.5 dev: true - /@babel/helper-replace-supers@7.22.9(@babel/core@7.23.0): - resolution: {integrity: sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-member-expression-to-functions': 7.22.15 - '@babel/helper-optimise-call-expression': 7.22.5 - dev: true - /@babel/helper-simple-access@7.22.5: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} @@ -2742,7 +2723,7 @@ packages: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.22.15 + '@babel/types': 7.23.0 dev: true /@babel/helper-split-export-declaration@7.22.6: @@ -2900,8 +2881,6 @@ packages: '@babel/core': 7.23.3 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) '@babel/helper-plugin-utils': 7.22.5 - transitivePeerDependencies: - - supports-color dev: true /@babel/plugin-proposal-class-static-block@7.18.6(@babel/core@7.23.3): @@ -3007,17 +2986,6 @@ packages: '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.3) dev: true - /@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.23.0): - resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.0) - dev: true - /@babel/plugin-proposal-object-rest-spread@7.12.1(@babel/core@7.12.9): resolution: {integrity: sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==} peerDependencies: @@ -3075,8 +3043,6 @@ packages: '@babel/core': 7.23.3 '@babel/helper-create-class-features-plugin': 7.22.15(@babel/core@7.23.3) '@babel/helper-plugin-utils': 7.22.5 - transitivePeerDependencies: - - supports-color dev: true /@babel/plugin-proposal-private-property-in-object@7.18.6(@babel/core@7.23.3): @@ -3245,15 +3211,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.0): - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-jsx@7.12.1(@babel/core@7.12.9): resolution: {integrity: sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==} peerDependencies: @@ -3310,15 +3267,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.0): - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.12.9): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: @@ -3561,8 +3509,6 @@ packages: '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.3) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 - transitivePeerDependencies: - - supports-color dev: true /@babel/plugin-transform-computed-properties@7.18.9(@babel/core@7.23.3): @@ -3832,19 +3778,6 @@ packages: '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.22.9): - resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.22.9 - '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-simple-access': 7.22.5 - babel-plugin-dynamic-import-node: 2.3.3 - dev: true - /@babel/plugin-transform-modules-commonjs@7.18.6(@babel/core@7.23.0): resolution: {integrity: sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==} engines: {node: '>=6.9.0'} @@ -4055,19 +3988,6 @@ packages: '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.3) dev: true - /@babel/plugin-transform-object-super@7.18.6(@babel/core@7.23.0): - resolution: {integrity: sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.20.7 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/plugin-transform-parameters@7.18.8(@babel/core@7.12.9): resolution: {integrity: sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==} engines: {node: '>=6.9.0'} @@ -4321,7 +4241,7 @@ packages: dependencies: '@babel/core': 7.23.3 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-skip-transparent-expression-wrappers': 7.20.0 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true /@babel/plugin-transform-spread@7.22.5(@babel/core@7.23.3): @@ -4793,7 +4713,6 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: true /@babel/traverse@7.23.2: resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} @@ -8143,7 +8062,7 @@ packages: globby: 11.1.0 ip: 2.0.0 lodash: 4.17.21 - node-fetch: 2.6.11 + node-fetch: 2.7.0 open: 8.4.0 pretty-hrtime: 1.0.3 prompts: 2.4.2 @@ -8317,7 +8236,7 @@ packages: find-up: 5.0.0 fs-extra: 9.1.0 html-webpack-plugin: 4.5.2(webpack@4.46.0) - node-fetch: 2.6.11 + node-fetch: 2.7.0 pnp-webpack-plugin: 1.6.4(typescript@4.8.4) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) @@ -12219,36 +12138,6 @@ packages: webpack: 5.89.0(esbuild@0.18.20) dev: true - /babel-loader@8.2.5(@babel/core@7.23.0)(webpack@4.46.0): - resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} - engines: {node: '>= 8.9'} - peerDependencies: - '@babel/core': ^7.0.0 - webpack: '>=2' - dependencies: - '@babel/core': 7.23.0 - find-cache-dir: 3.3.2 - loader-utils: 2.0.2 - make-dir: 3.1.0 - schema-utils: 2.7.1 - webpack: 4.46.0 - dev: true - - /babel-loader@8.2.5(@babel/core@7.23.0)(webpack@4.46.0): - resolution: {integrity: sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==} - engines: {node: '>= 8.9'} - peerDependencies: - '@babel/core': ^7.0.0 - webpack: '>=2' - dependencies: - '@babel/core': 7.23.0 - find-cache-dir: 3.3.2 - loader-utils: 2.0.2 - make-dir: 3.1.0 - schema-utils: 2.7.1 - webpack: 4.46.0 - dev: true - /babel-plugin-add-react-displayname@0.0.5: resolution: {integrity: sha512-LY3+Y0XVDYcShHHorshrDbt4KFWL4bSeniCtl4SYZbask+Syngk1uMPCeN9+nSiZo6zX5s0RTq/J9Pnaaf/KHw==} dev: true @@ -12403,17 +12292,6 @@ packages: - supports-color dev: true - /babel-plugin-polyfill-regenerator@0.4.0(@babel/core@7.23.0): - resolution: {integrity: sha512-RW1cnryiADFeHmfLS+WW/G431p1PsW5qdRdz0SDRi7TKcUgc7Oh/uXkT7MZ/+tGsT1BkczEAmD5XjUyJ5SWDTw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.23.0 - '@babel/helper-define-polyfill-provider': 0.3.2(@babel/core@7.23.0) - transitivePeerDependencies: - - supports-color - dev: true - /babel-plugin-react-docgen@4.2.1: resolution: {integrity: sha512-UQ0NmGHj/HAqi5Bew8WvNfCk8wSsmdgNd8ZdMjBCICtyCJCq9LiqgqvjCYe570/Wg7AQArSq1VQ60Dd/CHN7mQ==} dependencies: @@ -14372,11 +14250,6 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true - /deepmerge-ts@5.0.0: - resolution: {integrity: sha512-esq9xUO8+CQCG63IlpkoOBNlpm1m4WBm0NRLFrGL/dcgzqWi1tmTLfG7QTvffqYt6T+dS+xaxrHxdexqGWkV1g==} - engines: {node: '>=16.0.0'} - dev: true - /deepmerge-ts@5.1.0: resolution: {integrity: sha512-eS8dRJOckyo9maw9Tu5O5RUi/4inFLrnoLkBe3cPfDMx3WZioXtmOew4TXQaxq7Rhl4xjDtR7c6x8nNTxOvbFw==} engines: {node: '>=16.0.0'} @@ -15611,7 +15484,7 @@ packages: peerDependencies: eslint: '>=8.38.0' dependencies: - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 '@eslint-community/eslint-utils': 4.4.0(eslint@8.44.0) ci-info: 3.9.0 clean-regexp: 1.0.0 @@ -20891,18 +20764,6 @@ packages: resolution: {integrity: sha512-F5kfEj95kX8tkDhUCYdV8dg3/8Olx/94zB8+ZNthFs6Bz31UpUi8Xh40TN3thLwXgrwXry1pEg9lJ++tLWTcqA==} dev: true - /node-fetch@2.6.11: - resolution: {integrity: sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: true - /node-fetch@2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -21832,7 +21693,7 @@ packages: resolution: {integrity: sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==} dependencies: readable-stream: 4.1.0 - split2: 4.1.0 + split2: 4.2.0 dev: true /pino-std-serializers@6.0.0: @@ -24225,11 +24086,6 @@ packages: extend-shallow: 3.0.2 dev: true - /split2@4.1.0: - resolution: {integrity: sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==} - engines: {node: '>= 10.x'} - dev: true - /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -27251,14 +27107,6 @@ packages: dependencies: isexe: 2.0.0 - /which@3.0.0: - resolution: {integrity: sha512-nla//68K9NU6yRiwDY/Q8aU6siKlSs64aEC7+IV56QoAuyQT2ovsJcgGYGyqMOmI/CGN1BOR6mM5EN0FBO+zyQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - /which@3.0.1: resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}