fix(deps): bump @sasjs/adapter, @sasjs/core, @sasjs/utils and fix vul… - #1456
Merged
Conversation
…nerabilities Bumps @sasjs/adapter (4.17.1 -> 4.17.2), @sasjs/core (4.67.3 -> 4.68.1), and @sasjs/utils (3.5.8 -> 3.5.9). Also bumps adm-zip (0.5.10 -> 0.6.0) and @babel/core (7.22.0 -> 7.29.7, dev-only) to close out two npm audit findings (GHSA-xcpc-8h2w-3j85, GHSA-4x5r-pxfx-6jf8), with the remaining transitive advisories cleared via `npm audit fix`. `npm audit` now reports 0 vulnerabilities.
allanbowe
approved these changes
Jul 21, 2026
Coverage reportTotal coverage
Show files with reduced coverage 🔻Reduced coverage
Report generated by 🧪jest coverage report action from f385b3e |
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.
Issue
npm auditreported 6 vulnerabilities (4 high, 2 low) in this repo's dependency tree, and the@sasjs/*packages were behind their latest published versions:@sasjs/adapter4.17.1 (latest: 4.17.2)@sasjs/core4.67.3 (latest: 4.68.1)@sasjs/utils3.5.8 (latest: 3.5.9)High-severity findings included
adm-zip(crafted ZIP file triggers 4GB memory allocation, GHSA-xcpc-8h2w-3j85),@babel/plugin-transform-modules-systemjs,brace-expansion, andjs-yaml. Low-severity findings included@babel/core(arbitrary file read via sourceMappingURL comment, GHSA-4x5r-pxfx-6jf8) and@tootallnate/once.Intent
Update the
@sasjsfamily of dependencies to their latest patch releases and eliminate all currently known vulnerabilities in the dependency tree, without introducing any behavioral regressions to compile/build/create/deploy flows that rely on these packages (macro resolution via@sasjs/core, adapter calls via@sasjs/adapter, zip handling viaadm-zipforsasjs create/sasjs build).Implementation
@sasjs/adapter4.17.1 → 4.17.2,@sasjs/core4.67.3 → 4.68.1,@sasjs/utils3.5.8 → 3.5.9 (@sasjs/lintwas already at latest, 2.4.3).adm-zip0.5.10 → 0.6.0 to resolve the high-severity zip-bomb advisory. This is a direct dependency used insrc/utils/utils.ts(createApp,loadDocsSubmodule) andsrc/utils/compressAndSave.ts(sasjs build) — verified thenew AdmZip()/extractAllTo/addFile/writeZipPromiseAPI surface used here is unchanged.@babel/core7.22.0 → 7.29.7 (dev-only, used bybabel-jest/ts-jest transform for tests) to resolve the low-severity file-read advisory. Same major version, no config changes needed.npm audit fix(non-force) to pull in patched transitive versions of@babel/plugin-transform-modules-systemjs,@tootallnate/once,brace-expansion, andjs-yaml.npm auditnow reports 0 vulnerabilities (down from 6).Checks
npm run lint:fix).npm test).Reviewer checks