fix(deps): update terser to 4.8.1 to resolve ReDoS vulnerability #115
- TH
## What Updates terser from 4.8.0 to 4.8.1 to resolve a high severity ReDoS (Regular Expression Denial of Service) vulnerability.
## Why The vulnerability (GHSA-4wf5-vphf-c2xc) allows attackers to cause a denial of service by providing a specially crafted regular expression. This is a security fix that should be applied as soon as possible.
## How `npm audit fix --force` was used to update terser to the patched version 4.8.1.
## Testing - [x] Build passes (`npm run build`) - [x] npm audit shows 0 vulnerabilities after fix
## Notes - Tests have a pre-existing issue with ESM imports that is unrelated to this change - The terser version update is outside the stated dependency range but necessary for security
---
*Contributed by [theluckystrike](https://github.com/theluckystrike) | [Zovo](https://zovo.one) โ Chrome Extension Studio*
- TH
This updates terser from 4.6.7 to 4.8.1 to resolve a Regular Expression Denial of Service vulnerability in the build toolchain. The fix is a patch-level devDependency update with no impact on the published package.
- TH
Closing - repo has not had a commit in 18+ months (last: June 2024), blacklisted per Zovo PR policy.