Skip to content

PRC-12824 Drive Snyk issues down - #77

Merged
harshrathorr merged 6 commits into
Cimpress-MCP:mainfrom
harshrathorr:harsh/PRC-12824/drive_snyk_issues_down
Nov 20, 2026
Merged

harshrathorr merged 6 commits into
Cimpress-MCP:mainfrom
harshrathorr:harsh/PRC-12824/drive_snyk_issues_down

Conversation

@harshrathorr

@harshrathorr harshrathorr commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Drives Snyk issues down for lambda-essentials-ts (PRC-12824). Only package.json and yarn.lock change; no source files are touched.

Snyk (snyk test)

Scope Before After
Production dependencies 20 high, 11 medium 0
Incl. devDependencies 6 critical, 106 high, 57 medium, 11 low 0 critical, 1 high, 17 medium

Changes (one logical change per commit)

  1. Upgrade axios 1.18.0 → 1.21.1 and axios-cache-interceptor 1.11.2 → 1.13.0
    • Fixes the axios advisories (8 high, 5 medium) and follow-redirects (1.16.0 → 1.16.3; axios 1.21.1 raises the floor to ^1.16.2, CVE-2026-116689).
    • axios-cache-interceptor has to move with axios: 1.11.2 no longer type-checks against axios ≥ 1.19 (params generic), and 1.13.0 declares peer axios ^1.19.0. It also includes the GHSA-9wf3-4vwj-3789 fix (1.12.3).
    • Changelogs read for axios 1.19–1.21.1 and axios-cache-interceptor 1.11.3–1.13.0; no breaking change affects our usage (axios.create, setupCache, buildStorage, AxiosError).
  2. Fix Snyk: refresh uuid to 11.1.1 (SNYK-JS-UUID-16133035), lockfile only, within ~11.1.0.
  3. Fix Snyk: refresh AWS SDK clients within the existing ^3.930.0 ranges. The new @aws-sdk/xml-builder no longer depends on fast-xml-parser, which removes 12 high and 4 medium findings. Lockfile churn is limited to @aws-sdk/*, @smithy/* and the removal of fast-xml-parser and strnum.
  4. Fix Snyk: refresh transitive dev dependencies (handlebars, flatted, brace-expansion, js-yaml, picomatch, lodash, semver, ajv, minimatch, cross-spawn, browserslist, yaml, diff). Clears all 6 critical and 105 of 106 high dev findings.

Remaining (dev-only, not shipped to consumers)

All in the eslint@8 chain: uri-js (1 high, 2 medium, no fix), minimatch 3.x (fix is major 11), inflight (no fix), eslint 8 (fix is 9). Resolving them needs ESLint 9 / flat config and a new eslint-config-cimpress-atsquad major, so it is proposed as a follow-up ticket.

Verification

  • yarn build, yarn lint, yarn test (119 tests) pass after each commit
  • yarn install --frozen-lockfile passes
  • No lockfile resolves from outside registry.yarnpkg.com; no tokens or .npmrc changes
  • No as/any introduced (no source changes)

Notes

  • Release commit Release 7.1.1 bumps package.json to 7.1.1 (patch: dependency security updates, no API changes) and adds the CHANGELOG.md entry.
  • axios-cache-interceptor 1.13.0 is the latest release and its peer range (axios ^1.19.0) covers 1.21.1, so no further bump is needed.

@harshrathorr
harshrathorr merged commit b2157cf into Cimpress-MCP:main Nov 20, 2026
1 check passed
@harshrathorr harshrathorr mentioned this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants