Skip to content

fix: resolve audit vulns via overrides and add Puppeteer Edge fallback - #113

Merged
Hector Hernandez (hectorhdzg) merged 2 commits into
microsoft:mainfrom
hectorhdzg:fix/audit-vulns-and-puppeteer-edge-fallback
Aug 11, 2026
Merged

fix: resolve audit vulns via overrides and add Puppeteer Edge fallback#113
Hector Hernandez (hectorhdzg) merged 2 commits into
microsoft:mainfrom
hectorhdzg:fix/audit-vulns-and-puppeteer-edge-fallback

Conversation

@hectorhdzg

Copy link
Copy Markdown
Member
  • Add durable overrides for brace-expansion, js-yaml (nested 3.x for grunt), linkify-it, markdown-it, morgan and ws to clear 7 npm audit findings (0 vulnerabilities).

  • gruntfile: add CI-gated _getBrowserExecutablePath() helper that falls back to installed Microsoft Edge locally (avoids Defender/WDAC blocking Puppeteer's unsigned Chromium); returns undefined under TF_BUILD/CI so official builds keep bundled Chromium. Wire executablePath into both puppeteer blocks.

- Add durable overrides for brace-expansion, js-yaml (nested 3.x for grunt), linkify-it, markdown-it, morgan and ws to clear 7 npm audit findings (0 vulnerabilities).

- gruntfile: add CI-gated _getBrowserExecutablePath() helper that falls back to installed Microsoft Edge locally (avoids Defender/WDAC blocking Puppeteer's unsigned Chromium); returns undefined under TF_BUILD/CI so official builds keep bundled Chromium. Wire executablePath into both puppeteer blocks.
A fresh install (no committed lockfile) pulled the latest @types/node whose new ffi.d.ts uses syntax that the repo's pinned TypeScript 4.9.5 cannot parse, breaking the Node 20/22 CI build. Pin it via overrides to a pre-ffi.d.ts version.
@hectorhdzg
Hector Hernandez (hectorhdzg) merged commit 70b986f into microsoft:main Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants