Skip to the content.

Security and Deprecated Package Updates

Current state (zero vulnerabilities)

Summary

This was achieved by applying package.json overrides for transitive dependencies, upgrading or replacing vulnerable direct dependencies, and removing packages that depended on unfixable vulnerable code (e.g. lodash.template).


Changes applied

1. Overrides (transitive dependencies)

The following overrides in package.json force safer versions across the dependency tree:

Package Override Reason
minimist ^1.2.6 Prototype pollution
lodash ^4.17.23 Prototype pollution
fsevents ^2.3.3 Build/safety
tar ^7.5.8 Arbitrary file overwrite
minimatch ^10.2.1 ReDoS
rimraf ^6.0.0 Safer glob
semver ^7.5.2 ReDoS / correctness
dot-prop ^9.0.0 Prototype pollution
trim-newlines ^3.0.1 ReDoS
braces ^3.0.3 ReDoS
semver-regex ^3.1.4 ReDoS
node-gyp ^12.0.0 Build toolchain (glob/tar)
node-loggly-bulk axios: 1.13.5 SSRF, DoS, mergeConfig in axios; applies to winston-loggly-bulk’s dependency
diff ^5.2.0 ReDoS
js-yaml ^3.14.2 Code execution
micromatch ^4.0.8 ReDoS
tmp ^0.2.4 Symlink / race
got ^11.8.5 SSRF / auth leak (from conventional-changelog-cli tree)
http-cache-semantics ^4.1.1 ReDoS
@conventional-changelog/git-client ^2.0.0 Safer git client in changelog-cli tree
gulp-mocha (nested) debug, diff, js-yaml Safe versions under gulp-mocha only

The node-loggly-bulk override is critical for eliminating the three high-severity axios advisories; it must be at the node-loggly-bulk level (not nested under winston-loggly-bulk) so npm applies it to every occurrence in the tree.

2. Changelog: conventional-changelog-cli

3. GitHub release: @octokit/rest

4. Tests: remove deprecated q

5. Direct dependency (unchanged for security)


To ensure overrides (especially node-loggly-bulk → axios) are applied, use a clean install when you change them:

rm -rf node_modules package-lock.json && npm install

In CI and production, npm ci (with the committed lockfile) keeps the overridden tree.


Verifying audits

npm audit              # full dependency tree
npm audit --omit=dev   # production dependencies only
npm audit fix          # apply safe fixes only
npm audit fix --force  # may introduce breaking changes; review first

Earlier updates (reference)