From a8c56b9991c7fcc75826f3fea61829b755dcc721 Mon Sep 17 00:00:00 2001 From: AriPerkkio Date: Sat, 9 Dec 2023 11:00:14 +0200 Subject: [PATCH] perf(reporters): downgrade `log-update` to v5 --- .github/renovate.json5 | 2 ++ packages/vitest/package.json | 2 +- pnpm-lock.yaml | 51 ++---------------------------------- 3 files changed, 5 insertions(+), 50 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 0029a1db0db1..08ee2fb7f54a 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -32,6 +32,8 @@ "@sinonjs/fake-timers", // TODO: update when chai is updated to 5.0 "loupe", + // Pinned due to https://github.com/vitest-dev/vitest/issues/4710 + "log-update", // we update types for node when we bump the minimal version "@types/node" ] diff --git a/packages/vitest/package.json b/packages/vitest/package.json index b29aea4628d6..7b315ef7232c 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -181,7 +181,7 @@ "get-tsconfig": "^4.7.2", "happy-dom": "^12.10.3", "jsdom": "^23.0.1", - "log-update": "^6.0.0", + "log-update": "^5.0.1", "micromatch": "^4.0.5", "p-limit": "^5.0.0", "pretty-format": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f1ceb32c01c..8341e86a8b5a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1391,8 +1391,8 @@ importers: specifier: ^23.0.1 version: 23.0.1 log-update: - specifier: ^6.0.0 - version: 6.0.0 + specifier: ^5.0.1 + version: 5.0.1 micromatch: specifier: ^4.0.5 version: 4.0.5 @@ -11194,13 +11194,6 @@ packages: type-fest: 1.4.0 dev: true - /ansi-escapes@6.2.0: - resolution: {integrity: sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==} - engines: {node: '>=14.16'} - dependencies: - type-fest: 3.13.1 - dev: true - /ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} @@ -17753,13 +17746,6 @@ packages: engines: {node: '>=12'} dev: true - /is-fullwidth-code-point@5.0.0: - resolution: {integrity: sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==} - engines: {node: '>=18'} - dependencies: - get-east-asian-width: 1.2.0 - dev: true - /is-function@1.0.2: resolution: {integrity: sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==} dev: true @@ -19546,17 +19532,6 @@ packages: wrap-ansi: 8.1.0 dev: true - /log-update@6.0.0: - resolution: {integrity: sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==} - engines: {node: '>=18'} - dependencies: - ansi-escapes: 6.2.0 - cli-cursor: 4.0.0 - slice-ansi: 7.0.0 - strip-ansi: 7.1.0 - wrap-ansi: 9.0.0 - dev: true - /loglevel-plugin-prefix@0.8.4: resolution: {integrity: sha512-WpG9CcFAOjz/FtNht+QJeGpvVl/cdR6P0z6OcXSkr8wFJOsV2GRj2j10JLfjuA4aYkcKCNIEqRGCyTife9R8/g==} dev: true @@ -23517,14 +23492,6 @@ packages: is-fullwidth-code-point: 4.0.0 dev: true - /slice-ansi@7.0.0: - resolution: {integrity: sha512-AkAZP6rVu1V3D+B5CocNzW83TlqiV9cI/Eb/Thr2u5TvoqPW5uzOhJfhZk5PG5jiXTmX8mhaq0/GkyGz29qtEg==} - engines: {node: '>=14.16'} - dependencies: - ansi-styles: 6.2.1 - is-fullwidth-code-point: 5.0.0 - dev: true - /smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -25029,11 +24996,6 @@ packages: engines: {node: '>=12.20'} dev: true - /type-fest@3.13.1: - resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} - engines: {node: '>=14.16'} - dev: true - /type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -26955,15 +26917,6 @@ packages: strip-ansi: 7.1.0 dev: true - /wrap-ansi@9.0.0: - resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} - engines: {node: '>=18'} - dependencies: - ansi-styles: 6.2.1 - string-width: 7.0.0 - strip-ansi: 7.1.0 - dev: true - /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}