Repository navigation
Conversation
Contributor
[Medium impact] O PR parece seguro para merge, sem problemas acionáveis encontrados nas alterações. SummaryAtualiza
Reviews (1) · Last reviewed commit: "Atualiza vitest, @vitest/ui e @vitest/co..." · Reviewed by Greptile |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Atualiza
vitest,@vitest/uie@vitest/coverage-v8para a 3.2.7, a última da linha 3.x. Ovitefica no 5 e o Node continua com os mesmos requisitos (^18 || ^20 || >=22).Corrige o GHSA-5xrq-8626-4rwp (crítico): leitura de arquivos arbitrários pelo servidor do Vitest UI (
npm run test:ui). Só afeta quem roda a UI no Windows ou a expõe na rede (--api.host), então o risco para nós é baixo; o bump entra porque é barato e não muda nada nodist/.Também alinha as versões: hoje o
vitestestá em 3.1.1, o@vitest/coverage-v8em 3.0.2 e o@vitest/uiem 3.2.1.Os alertas de
@vitest/mockeretinypoolque só são corrigidos no vitest 4.1+ (que exige vite ≥ 6) ficam para a v4.0.0 (#1140). Pelo mesmo motivo, o #1141 (vitest 5) foi fechado.No
package-lock.json, além da família do vitest, mudam só dependências deles (chai,tinypool1.1.1,tinyspyetc.), e omagic-stringaninhado vira um só na raiz (0.30.21).Validação local (comparando com a
mainem90623a0b):npm cilimpo +npx vitest run --coverage: 77 arquivos / 220 testes passandonpm run test:ui: o servidor sobe e respondenpx vue-tsc --noEmit: sem errosnpx eslint src: igual àmain(52 erros / 30 warnings pré-existentes)npm run build:dist/idêntico byte a bytenpm run docs:build: mesmo conteúdo; só mudam hashes de arquivo e ids aleatórios gerados no SSR (a mesma variação de dois builds seguidos damain)