Skip to content

fix(deps): drop sprintf-js via js-yaml override - #81

Merged
max-ostapenko merged 1 commit into
mainfrom
fix/drop-sprintf-js
Oct 8, 2026
Merged

max-ostapenko merged 1 commit into
mainfrom
fix/drop-sprintf-js

Conversation

@max-ostapenko

Copy link
Copy Markdown
Contributor

Resolves Dependabot alert #182 (sprintf-js GHSA-hp3w-g68c-fv3c, which has no patched version).

The only path was jest → babel-plugin-istanbul → @istanbuljs/load-nyc-config (latest 1.1.0) → js-yaml@3 → argparse@1 → sprintf-js. load-nyc-config only calls require('js-yaml').load(), which js-yaml 4 still supports. Overriding it to js-yaml ^4 pulls argparse 2, which has no dependencies, so sprintf-js leaves the tree.

Dev-only change. Lint, jest --coverage (which exercises load-nyc-config) and the full Dataform 2.4.2/3.0.48 matrix pass locally.

@max-ostapenko
max-ostapenko merged commit caa6919 into main Oct 8, 2026
6 checks passed
@max-ostapenko
max-ostapenko deleted the fix/drop-sprintf-js branch October 8, 2026 18:41
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.

1 participant