Update dependencies and fix security vulnerabilities - #209
Merged
Conversation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pviti
requested review from
cl-mvezzelli,
dmantellassi,
gciotola,
marco-commercelayer and
pfferrari
August 17, 2026 16:38
# Conflicts: # package.json # pnpm-lock.yaml # pnpm-workspace.yaml
cl-mvezzelli
approved these changes
Aug 17, 2026
Member
Author
|
🎉 This PR is included in version 6.9.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Update dependencies and fix security vulnerabilities
Dependency refresh for the
commercelayerCLI, the Biome config fix required by the newer linter version, and the resolution of the security alerts reported by Vanta/Dependabot plus the remaining advisories surfaced bypnpm audit.Security
Alerts reported by Vanta / Dependabot
js-yaml3.15.0!!omapresolution@commercelayer/cli-ux,@oclif/corebrace-expansion2.1.2minimatch(via@oclif/core,mocha)brace-expansion5.0.7minimatch(via@oclif/core4.x)Additional advisories from
pnpm auditjs-yaml4.3.0!!omapDoSmocha,semantic-releaseundici7.28.0@semantic-release/githubundici6.27.0 / 7.28.0type, cookie attribute injection, cache-directive disclosure@actions/http-client,@semantic-release/githubserialize-javascript6.0.2RegExp.flags/Date.prototype.toISOString(), plus CPU-exhaustion DoSmochaHow each one is fixed
Lockfile refresh (no override needed). For
js-yaml,brace-expansionandundicievery dependent already declares a range that admits the patched release —^3.14.1,^4.1.0,^2.0.1,^5.0.x,^6.23.0,^7.0.0— so regeneratingpnpm-lock.yamlis enough. Theundiciadvisories are dev-only in any case: both copies come in throughsemantic-release, which only runs in CI.Override.
serialize-javascriptis the one exception:mochastill pins^6.0.2and the fix landed in 7.0.5, so the range cannot resolve to a patched version. It is declared inpnpm-workspace.yaml, since pnpm 11 no longer readspnpm.overridesfrompackage.json. The entry is scoped to the vulnerable range only (serialize-javascript@<7.0.5) and carries a comment with the reason, so it drops out naturally once mocha ships a fix.The bump is dev-only — mocha uses the package for parallel-mode worker serialization — and v7 requires Node >= 20, which matches this package's
engines.Unlike the plugin repos, this one has no
node-notifierdependency, so there is nouuidalert here, and the installeddiffversions (4.0.4 / 5.2.2) fall outside the jsdiff advisory range.Biome configuration
Biome 2.5 replaces the boolean
linter.rules.recommendedflag with thelinter.rules.presetfield, sobiome.jsonnow uses"preset": "recommended". Behaviour is unchanged — the same recommended rule set is enabled, with the existingsuspiciousandstyleoverrides untouched.pnpm build scripts
pnpm 11 requires build scripts to be explicitly allowed, otherwise
pnpm installfails withERR_PNPM_IGNORED_BUILDS.pnpm-workspace.yamlallowsesbuild(its postinstall fetches the platform binary) andyarn.Dependencies
@commercelayer/cli-core^5.11.1^5.11.3@commercelayer/cli-ux^1.2.1^1.2.3@commercelayer/sdk^6.57.0^6.58.0@oclif/plugin-autocomplete^3.2.45^3.2.56@oclif/plugin-help^6.2.44^6.2.58@oclif/plugin-not-found^3.2.80^3.2.93@oclif/plugin-plugins^5.4.61^5.4.87Dev dependencies
@biomejs/biome^2.4.12^2.5.8@commercelayer/cli-dev^3.1.1^3.1.9@types/inquirer^8.2.12^8.2.13@types/node^25.6.0^25.9.5oclif^4.23.0^4.23.30prettier^3.8.3^3.9.6semantic-release^25.0.3^25.0.9tsx^4.21.0^4.23.12Docs
docs/autocomplete.md,docs/help.mdanddocs/plugins.mdregenerated to reference the new oclif plugin versions.Verification
pnpm audit— no advisoriespnpm build,pnpm test(27 passing),pnpm lint(biome, 67 files) — all passpnpm prepack(build + oclif manifest + readme) completes./bin/run.js:--version,--help,applications --help,login --help,config --help,plugins, andapplicationsrun against the local config