lingo.dev@0.137.5
Patch Changes
-
#2142
1e2136dThanks @moygospadin! - fix(deps): drop external-editor and gray-matter to clear remaining npm audit findingsThese two dependencies were the only remaining source of the high/moderate
tmpandjs-yamladvisories in a consumernpm audit:external-editorpulled a vulnerabletmp@^0.0.33(high, path traversal). Replaced its single use (the interactive editor prompt in the deprecatedi18ncommand) with a smallnode:fs/node:child_processhelper that usesmkdtempSync— notmppackage, no path-traversal surface.gray-matterpulledjs-yaml@3(moderate). Both call sites already injected the patchedyamlpackage as gray-matter's engine, so its bundledjs-yamlwas dead weight. Replaced with a tiny front-matter helper built onyaml;gray-matteris kept only as adevDependencytest oracle that the loader specs assert equivalence against.
Net effect on a fresh consumer
npm audit: removes the lasthigh(tmp) plus thejs-yaml/gray-matter/external-editorfindings.