jsdoc/wmf-theme: main (log #2329463)

sourcepatches

This run took 40 seconds.

$ date
--- stdout ---
Fri Jan 16 00:11:07 UTC 2026

--- end ---
$ git clone file:///srv/git/jsdoc-wmf-theme.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/repo'...
--- stdout ---

--- end ---
$ git config user.name libraryupgrader
--- stdout ---

--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---

--- end ---
$ git submodule update --init
--- stdout ---

--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.

--- end ---
$ git show-ref refs/heads/master
--- stdout ---
c3449b00eadef78ba78cb9772a9055ddc5df0963 refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112148,
          "name": "diff",
          "dependency": "diff",
          "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
          "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
          "severity": "low",
          "cwe": [
            "CWE-400",
            "CWE-1333"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<8.0.3"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "<8.0.3",
      "nodes": [
        "node_modules/diff"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "0.13.0",
        "isSemVerMajor": true
      }
    },
    "mocha": {
      "name": "mocha",
      "severity": "low",
      "isDirect": true,
      "via": [
        "diff"
      ],
      "effects": [],
      "range": "0.14.0 - 12.0.0-beta-3",
      "nodes": [
        "node_modules/mocha"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "0.13.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 2,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 2
    },
    "dependencies": {
      "prod": 37,
      "dev": 461,
      "optional": 0,
      "peer": 1,
      "peerOptional": 0,
      "total": 497
    }
  }
}

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112148,
          "name": "diff",
          "dependency": "diff",
          "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
          "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
          "severity": "low",
          "cwe": [
            "CWE-400",
            "CWE-1333"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<8.0.3"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "<8.0.3",
      "nodes": [
        "node_modules/diff"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "0.13.0",
        "isSemVerMajor": true
      }
    },
    "mocha": {
      "name": "mocha",
      "severity": "low",
      "isDirect": true,
      "via": [
        "diff"
      ],
      "effects": [],
      "range": "0.14.0 - 12.0.0-beta-3",
      "nodes": [
        "node_modules/mocha"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "0.13.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 2,
      "moderate": 0,
      "high": 0,
      "critical": 0,
      "total": 2
    },
    "dependencies": {
      "prod": 37,
      "dev": 461,
      "optional": 0,
      "peer": 1,
      "peerOptional": 0,
      "total": 497
    }
  }
}

--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
--- stdout ---
{
  "added": 497,
  "removed": 0,
  "changed": 0,
  "audited": 498,
  "funding": 113,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "diff": {
        "name": "diff",
        "severity": "low",
        "isDirect": false,
        "via": [
          {
            "source": 1112148,
            "name": "diff",
            "dependency": "diff",
            "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
            "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
            "severity": "low",
            "cwe": [
              "CWE-400",
              "CWE-1333"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": "<8.0.3"
          }
        ],
        "effects": [
          "mocha"
        ],
        "range": "<8.0.3",
        "nodes": [
          "node_modules/diff"
        ],
        "fixAvailable": {
          "name": "mocha",
          "version": "0.13.0",
          "isSemVerMajor": true
        }
      },
      "mocha": {
        "name": "mocha",
        "severity": "low",
        "isDirect": true,
        "via": [
          "diff"
        ],
        "effects": [],
        "range": "0.14.0 - 12.0.0-beta-3",
        "nodes": [
          "node_modules/mocha"
        ],
        "fixAvailable": {
          "name": "mocha",
          "version": "0.13.0",
          "isSemVerMajor": true
        }
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 2,
        "moderate": 0,
        "high": 0,
        "critical": 0,
        "total": 2
      },
      "dependencies": {
        "prod": 37,
        "dev": 461,
        "optional": 0,
        "peer": 1,
        "peerOptional": 0,
        "total": 497
      }
    }
  }
}

--- end ---
{"added": 497, "removed": 0, "changed": 0, "audited": 498, "funding": 113, "audit": {"auditReportVersion": 2, "vulnerabilities": {"diff": {"name": "diff", "severity": "low", "isDirect": false, "via": [{"source": 1112148, "name": "diff", "dependency": "diff", "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch", "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx", "severity": "low", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": "<8.0.3"}], "effects": ["mocha"], "range": "<8.0.3", "nodes": ["node_modules/diff"], "fixAvailable": {"name": "mocha", "version": "0.13.0", "isSemVerMajor": true}}, "mocha": {"name": "mocha", "severity": "low", "isDirect": true, "via": ["diff"], "effects": [], "range": "0.14.0 - 12.0.0-beta-3", "nodes": ["node_modules/mocha"], "fixAvailable": {"name": "mocha", "version": "0.13.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 2, "moderate": 0, "high": 0, "critical": 0, "total": 2}, "dependencies": {"prod": 37, "dev": 461, "optional": 0, "peer": 1, "peerOptional": 0, "total": 497}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
--- stdout ---

added 497 packages, and audited 498 packages in 5s

113 packages are looking for funding
  run `npm fund` for details

# npm audit report

diff  <8.0.3
jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch - https://github.com/advisories/GHSA-73rr-hh4g-fpgx
fix available via `npm audit fix --force`
Will install mocha@0.13.0, which is a breaking change
node_modules/diff
  mocha  0.14.0 - 12.0.0-beta-3
  Depends on vulnerable versions of diff
  node_modules/mocha

2 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
--- stdout ---

added 497 packages, and audited 498 packages in 6s

113 packages are looking for funding
  run `npm fund` for details

2 low severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

--- end ---
$ /usr/bin/npm test
--- stderr ---
[baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
--- stdout ---

> jsdoc-wmf-theme@1.1.0 test
> grunt lint && mocha tests/

Running "eslint:all" (eslint) task

Running "stylelint:src" (stylelint) task
>> Linted 9 files without errors

Done.


  Externals plugin
    ✔ should extend wmfConf with defaultMaps when wmfConf already has some entries
    ✔ should initialize wmfConf with defaultMaps when wmfConf is empty
    ✔ should initialize templates and wmfConf when they do not exist


  3 passing (20ms)


--- end ---
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json

--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpc6cm4htf
--- stdout ---
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

--- end ---
Source code is licensed under the AGPL.