[js] fix vulnerability CVE-2024-4068: upgrade `braces` to 3.0.3 (#21078)
### Description
Upgrade `braces` to 3.0.3
[CVE-2024-4068](https://github.com/advisories/GHSA-grv7-fg5c-xmjg)
```
# npm audit report
braces <3.0.3
Severity: high
Uncontrolled resource consumption in braces - https://github.com/advisories/GHSA-grv7-fg5c-xmjg
fix available via `npm audit fix`
node_modules/braces
1 high severity vulnerability
```