[js] update mocha to v11.0.1 (#23254)

### Description

Update `mocha` to v11.0.1 and `fs-extra` to v11.2.0

```
# npm audit report

nanoid  <3.3.8
Severity: moderate
Predictable results in nanoid generation when given non-integer values - https://github.com/advisories/GHSA-mwcw-c2x4-8c55
fix available via `npm audit fix`
node_modules/nanoid
  mocha  8.2.0 - 10.2.0
  Depends on vulnerable versions of nanoid
  node_modules/mocha

2 moderate severity vulnerabilities
```
This commit is contained in:
Yulong Wang 2025-01-05 22:29:02 -08:00 committed by GitHub
parent 21b4d2ac9f
commit c53c9caf17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 621 additions and 217 deletions

832
js/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"devDependencies": {
"@types/fs-extra": "^11.0.2",
"@types/fs-extra": "^11.0.4",
"@types/global-agent": "^2.1.3",
"@types/mocha": "^10.0.2",
"@types/node": "^18.14.6",
@ -17,10 +17,10 @@
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^48.0.1",
"fs-extra": "^11.1.1",
"fs-extra": "^11.2.0",
"global-agent": "^3.0",
"jszip": "^3.10.1",
"mocha": "^10.2.0",
"mocha": "^11.0.1",
"npmlog": "^7.0.1",
"prettier": "^3.3.3",
"terser": "^5.31.0",