chore(deps): update dependencies to latest and rebuild dist#34
Merged
Conversation
Bump @actions/core 1.11.1 -> 2.0.3, @aws-sdk/client-ec2 3.1033.0 -> 3.1064.0, dotenv 8 -> 17, eslint 9 -> 10, globals 15 -> 17. Add @eslint/js as an explicit devDependency (eslint 10 no longer bundles it). @actions/core is held at the latest CommonJS major: 3.x is ESM-only and cannot be bundled by ncc 0.38.4, which breaks this CommonJS action's build. @actions/github is likewise kept at 8.x (9.x is ESM-only). npm audit reports 0 vulnerabilities (prod + dev); all 52 tests pass; a clean npm ci + npm run package reproduces the committed dist exactly. Signed-off-by: Yuriy R <22548029+kurok@users.noreply.github.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.
What
Updates dependencies to their latest bundle-compatible versions and rebuilds
dist/.@actions/core@aws-sdk/client-ec2@eslint/jsdotenvnpm run index)eslintglobals@actions/github(8.0.1),@vercel/ncc(0.38.4, exact pin kept), andjest(30.4.2) are already at their latest compatible versions.Why these and not "absolute latest"
@actions/core@3and@actions/github@9are ESM-only ("type": "module",exportswith only animportcondition).@vercel/ncc@0.38.4(the current latest ncc) cannot bundle them —npm run packagefails to resolve the module — and this action is CommonJS. Since there's no security driver (see below), I held@actions/coreat the latest CommonJS major (2.x) and@actions/githubat8.x. Worth revisiting if/when ncc gains ESM support.Security
npm auditreports 0 vulnerabilities before and after, in both the production tree (bundled intodist/) and dev tree. This bump is freshness/maintenance, not a security fix.Verification
npm audit(prod + dev): 0 vulnerabilitiesnpm run lint(eslint 10): cleannpm test: 52/52 passnpm run packageis deterministic; a cleannpm ci && npm run packagereproduces the committeddist/exactly, soverify-distwill passdist/index.jsreaches real action logic (structured logs + retry loop), confirming aws-sdk v3 + @actions/core 2 + @actions/github 8 all load and run on Node 24Note
The
@vercel/nccrange was briefly loosened to^0.38.4bynpm install @latest; restored to the exact0.38.4pin to keepdist/reproducible (matching the@aws-sdk/client-ec2exact-pin convention).