fix(deps): bump tar, adm-zip and form-data #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/deps-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Clear the runtime vulnerabilities in the packages
scripts/install-binary.js(the postinstall) uses to download and extract the gptscript binary.tar^6.2.0)^7.5.22)adm-zip^0.5.10)^0.6.1)form-data(via@types/sync-fetch)import * as tar from 'tar'.tar.x({file, cwd})is unchanged. tar 7 needs Node >= 18; CI uses Node 21.new AdmZip(file).extractAllTo(dir, true)works unchanged.npm audit fix(non-breaking only) for the rest, which bumps a number of transitive dev packages in the lockfile.The pinned gptscript version (v0.9.10) is unchanged.
Audit
npm audit --omit=devnpm audit(all)All 42 remaining findings are dev-only and need semver-major bumps, left for a separate change:
jest29 -> 30 (and@types/jest30): covers the@jest/*,babel-jest,babel-plugin-istanbul,js-yaml,argparse,sprintf-jsfindings@swc/cli0.3 -> 0.8: covers@mole-inc/bin-wrapper,bin-check,execa,cross-spawn,fast-glob,micromatch,braces,picomatch,file-typeVerification
GPTSCRIPT_RELEASE_TOKENfrom the environment): downloads and extractsgptscript-v0.9.10-linux-amd64.tar.gzintobin/.bin/gptscript --versionprintsv0.9.10+77d3fcb0. A second run detects the matching version and exits.windows-amd64.ziprelease asset extracts with adm-zip 0.6.1 (gptscript.exe, LICENSE, README.md).npm run build(tsc): pass.npm testwith a placeholder key, restricted to tests that don't call a model (version,parse*,load simple/content/tools,credential operations,create and delete workspace): 17 passed. The full suite needs provider keys and is skipped in CI without them.