Skip to content

[FIX] Remove qs overrides from package.json - #868

Merged
matz3 merged 1 commit into
v4from
fix/remove-qs-overrides
Sep 7, 2026
Merged

[FIX] Remove qs overrides from package.json#868
matz3 merged 1 commit into
v4from
fix/remove-qs-overrides

Conversation

@matz3

@matz3 matz3 commented Sep 7, 2026

Copy link
Copy Markdown
Member

Consumers who installed @ui5/cli and ran "npm ci" got:

npm error Missing: qs@6.15.3 from lock file

The "overrides" entry forced a single qs@6.16.0 across the bundled express/body-parser tree at pack time. Overrides are producer-only, so consumers re-resolve without them, expect qs@6.15.3, and the lockfile no longer matches, breaking "npm ci".

The GHSA-x5fp-wj9c-mxmx / GHSA-4mjr-xmp4-gh2g qs vulnerability that the override addressed is not applicable to the way express / body-parser use qs, so removing the override does not expose us to it.

Upstream fixes are in progress but not yet consumable: the qs bumps are still open pull requests, not merged or released, so we cannot rely on the transitive dependencies alone yet:

expressjs/express#7440
expressjs/body-parser#761

Dropping the override lets qs resolve naturally and keeps package.json and package-lock.json in sync.

Consumers who installed @ui5/cli and ran "npm ci" got:

  npm error Missing: qs@6.15.3 from lock file

The "overrides" entry forced a single qs@6.16.0 across the bundled
express/body-parser tree at pack time. Overrides are producer-only, so
consumers re-resolve without them, expect qs@6.15.3, and the lockfile no
longer matches, breaking "npm ci".

The GHSA-x5fp-wj9c-mxmx / GHSA-4mjr-xmp4-gh2g qs vulnerability that the
override addressed is not applicable to the way express / body-parser use
qs, so removing the override does not expose us to it.

Upstream fixes are in progress but not yet consumable: the qs bumps are
still open pull requests, not merged or released, so we cannot rely on the
transitive dependencies alone yet:

  expressjs/express#7440
  expressjs/body-parser#761

Dropping the override lets qs resolve naturally and keeps package.json and
package-lock.json in sync.
@matz3
matz3 requested a review from a team September 7, 2026 10:35
@matz3
matz3 merged commit 1c048b7 into v4 Sep 7, 2026
22 checks passed
@matz3
matz3 deleted the fix/remove-qs-overrides branch September 7, 2026 13:05
matz3 added a commit to UI5/cli that referenced this pull request Sep 7, 2026
This repo just brings all @ui5/ packages together and runs our audit scan.
Since our published packages don't define this override, we shouldn't add one
here either — otherwise the audit would run against a dependency tree that
differs from what we actually ship.

The "qs" vulnerability (GHSA-x5fp-wj9c-mxmx / GHSA-4mjr-xmp4-gh2g) is not
applicable to the way express / body-parser use qs, so the override is not
needed.

Follows SAP/ui5-cli#868.
matz3 added a commit to UI5/cli that referenced this pull request Sep 7, 2026
This repo just brings all @ui5/ packages together and runs our audit scan.
Since our published packages don't define this override, we shouldn't add one
here either — otherwise the audit would run against a dependency tree that
differs from what we actually ship.

The "qs" vulnerability (GHSA-x5fp-wj9c-mxmx / GHSA-4mjr-xmp4-gh2g) is not
applicable to the way express / body-parser use qs, so the override is not
needed.

Follows SAP/ui5-cli#868.
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.

2 participants