Repository navigation
v3.34.1: Oxlint config names, coverage maps, Vue templates and workspace globs
·
219 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Bug fixes
- The Oxlint plugin reads
.oxlintrc.jsoncandoxlint.config.mts. Oxlint finds these config files on its own, but fallow did not read them. Packages in theirjsPluginslists, at the top level and inoverrides, showed as unused dependencies, andoxlint.config.mtsshowed as an unused file. Fallow now reads every config file name that Oxlint finds. Comments and trailing commas in.oxlintrc.jsoncparse correctly. Thanks @gwynnnplaine for the report and the analysis. (#3525) - A coverage map with a negative hit count loads. Vitest
coverage-v8can write a negative branch count, for example[5, -1], for the implicit else of anif. Fallow rejected the whole map. When--coverageorFALLOW_COVERAGEnamed the map,fallow healthandfallow auditstopped with exit 2. Fallow now reads a negative count ins,f,borb_Tas 0, which is a miss. An auto-detected map that fails to load now gives a note that says fallow ignored it. Before, the note said that fallow used it. Thanks @norvalbv for the report and the reproduction. (#3564) - A
<inside a nested Vue<template>keeps the references of the template. In<template v-if="W">{{ 1 < 2 }}</template>, fallow read the<as the start of a tag and lost each name that the template used. Fallow then reported a named import that only the template used as an unused export. Fallow now skips{{ }}interpolations when it looks for the closing</template>. When no letter,/,!or?follows a<, fallow reads it as text, as in HTML. The cache versions change, so a warm cache does not keep the old result. Thanks @BrocksiNet for the report and the minimal reproduction. (#3543) fallow health --type-aware --type-couplingpasses--type-aware-require completeon large projects. The command failed--type-aware-require completeon projects with more than 40 coupling edges. The coupling report is one report for the whole project, and it now holds up to 10,000 evidence items. Fallow now reports a complete analysis ascomplete. Symbol, impact, and API-surface results keep the limit of 40 items. Above 10,000 items, the report stayspartialwith theevidence-limitreason. Thanks @samaluk for the report and the experiment. (#3563)
Security
- Workspace globs no longer read directories outside the project root. An absolute entry, or an entry such as
../*, inpackage.jsonworkspaces,pnpm-workspace.yamlpackages,deno.jsonworkspace, or theworkspaces.patternsconfig listed directories outside the root. Fallow added no package from them. But a directory without apackage.jsongot aglob-matched-no-package-jsondiagnostic with its outside path. Fallow now skips such an entry before it reads the disk. A newworkspace-glob-outside-rootdiagnostic names the entry and the file that declares it. The run does not exit with an error, because npm, pnpm, and yarn accept a../workspace entry. A..that stays inside the root, as inpackages/../libs/*, still works. The findings do not change. (#3574)
Full Changelog: v3.34.0...v3.34.1