mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* fix(parsers): helper programs never come from the project a subfolder sits in Run from a subfolder, the trusted PATH check skipped only folders inside the working directory, so the project's own node_modules/.bin, which npm run puts on PATH from every ancestor, still supplied helpers. The check now skips every folder inside the outermost ancestor that marks a project (.git, package.json, node_modules, hyperframes.json), below the home folder. A CLI test also runs a real bare-name spawn of an executable planted in the project folder: it runs under the raw PATH and is not found after the PATH trim. * fix(parsers): keep the trusted lookup's comment share at main's level