chore: batch Renovate dependency updates#274
Closed
sirugh wants to merge 3 commits into
Closed
Conversation
Combines 14 open Renovate bot PRs (#204, #210, #213, #218, #221, #222, #225, #230, #233, #240, #251, #252, #260, #269) into a single update. Security fixes (all CVEs resolved): - js-yaml 4.1.0 → 4.1.1 (CVE-2025-64718 prototype pollution) - vega 6.1.2 → 6.2.0 (CVE-2025-59840 XSS via expressions) - diff 8.0.2 → 8.0.4 (CVE-2026-24001 DoS in parsePatch) - handlebars 4.7.8 → 4.7.9 (CVE-2026-33916 prototype pollution XSS) Other updates via npm update: - p-limit ^6.2.0 → ^7.0.0 (ESM-only; project already uses dynamic import) - msw 2.10.5 → 2.14.3 - jest 30.0.5 → 30.3.0, eslint 9.33.0 → 9.39.4 - dotenv 17.2.1 → 17.4.2, globals 16.3.0 → 16.5.0 - @adobe/aio-lib-runtime 7.1.4 → 7.3.0 - aio-apps-action v3 → v4 in all GitHub Actions workflows (PR #222) Test fix: msw 2.14.x pulls in ESM-only transitive deps (rettime, @open-draft/deferred-promise) that break CJS require(). Converted test/mock-server, utils.test, ldJson.test, and pdp-renderer.test to .mjs (ESM). Uses jest.mock() (not jest.unstable_mockModule) to intercept CJS require('@adobe/aio-sdk') in the action under test. Adds import { jest } from '@jest/globals' since jest global is not auto-injected in ESM modules. Remaining unfixable vulnerabilities (require upstream @adobe/aio-sdk fix): - None after this update — resolved by @adobe/aio-lib-runtime 7.3.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add ESLint flat config blocks for *.mjs files (sourceType: module,
node globals) and *.test.mjs / test/mock-server.mjs (jest plugin +
globals), matching the existing *.test.js pattern
- Fix rettime.cjs empty catch: `catch (_) {}` → `catch { /* ignore */ }`
to resolve no-unused-vars and no-empty ESLint errors
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Delete test/__mocks__/rettime.cjs — never loaded (wrong directory for auto-mocking, no moduleNameMapper, msw CJS doesn't require rettime directly) - Fix Apache 2.0 header in utils.test.mjs: 'LICENSE' → 'License' Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Combines 14 open Renovate bot PRs into a single update to avoid triggering multiple stage deploys. All tests pass (123/123).
Closes Renovate PRs: #204, #210, #213, #218, #221, #222, #225, #230, #233, #240, #251, #252, #260, #269
Security CVEs resolved
npm audit now reports only 3 high severity findings (down from 33 including 3 critical), all in tar-fs via @openwhisk/wskdebug (dev-only debug tool).
Other notable updates
Test changes (required for msw 2.14.x compatibility)
msw 2.14.x introduced ESM-only transitive dependencies (rettime, @open-draft/deferred-promise) that break CJS require('msw/node'). The four affected test files were converted from .js (CJS) to .mjs (ESM):
Key changes: import { jest } from '@jest/globals' (jest global not auto-injected in .mjs), jest.mock() instead of jest.unstable_mockModule() to intercept CJS require('@adobe/aio-sdk'), import * as cheerio (no default export in ESM).
After merge
Please close the individual Renovate PRs: gh pr close 204 210 213 218 221 222 225 230 233 240 251 252 260 269
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com