Skip to content

Fix audit issues - #145

Merged
azonys merged 11 commits into
mainfrom
fix-audit-issues
Jun 10, 2026
Merged

Fix audit issues#145
azonys merged 11 commits into
mainfrom
fix-audit-issues

Conversation

@azonys

@azonys azonys commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

azonys added 10 commits June 9, 2026 15:13
Add webpack-batteries-included-preprocessor polyfills to
integration.cypress.config.ts to restore Node built-ins that were
removed in @cypress/webpack-batteries-included-preprocessor@4:
crypto, events, https, http, url, util.

Also upgrade @cypress/webpack-preprocessor to ^6.0.4 in minio and s3
to match the peer dep requirement of batteries-included@4.
In pnpm's isolated node_modules, the batteries-included preprocessor
cannot resolve 'typescript' via require() from within its own package
tree. Passing the imported typescript module explicitly to
getFullWebpackOptions() ensures TypeScript loader is set up correctly
for .ts spec files. Also move typescript to dependencies so it is
resolvable when the config is used at runtime.
@azonys
azonys requested a review from Copilot June 10, 2026 09:24
@azonys
azonys marked this pull request as ready for review June 10, 2026 09:24
@azonys
azonys requested a review from aerimagne as a code owner June 10, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses dependency audit findings across the monorepo by upgrading several tooling dependencies (Cypress, nyc, eslint-plugin-deprecation, and Cypress webpack preprocessor), adding/adjusting pnpm overrides for vulnerable transitive packages, and updating webpack configs used for frontend integration-test bundling.

Changes:

  • Bump Cypress to ^15.15.0 and nyc to ^18.0.0 across multiple packages.
  • Upgrade @cypress/webpack-batteries-included-preprocessor to ^4.1.1 and adjust Cypress config import usage.
  • Update Rush/pnpm globalOverrides for fast-xml-parser, serialize-javascript, and add uuid.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
utils/common-config/s3.unit.cypress.config.ts Updates import style for Cypress webpack preprocessor used in S3 unit Cypress config.
utils/common-config/package.json Upgrades eslint-plugin-deprecation to a newer major to address audit concerns.
tests/frontend-storage/package.json Upgrades Cypress dependency for frontend storage tests.
storage/s3/package.json Upgrades Cypress tooling dependencies (incl. batteries-included preprocessor, Cypress, nyc).
storage/oss/webpack.config.js Adds webpack DefinePlugin configuration for frontend test bundle builds.
storage/oss/package.json Upgrades nyc.
storage/minio/webpack.config.js Adds webpack DefinePlugin configuration for frontend test bundle builds.
storage/minio/package.json Upgrades Cypress tooling dependencies (incl. batteries-included preprocessor, Cypress, nyc).
storage/google/webpack.config.js Adds webpack DefinePlugin configuration for frontend test bundle builds.
storage/google/package.json Upgrades Cypress and nyc.
storage/core/package.json Upgrades Cypress and nyc.
storage/azure/webpack.config.js Adds webpack DefinePlugin configuration for frontend test bundle builds.
storage/azure/package.json Upgrades Cypress and nyc.
common/config/rush/pnpm-config.json Updates/extends pnpm global overrides for audit remediation.
cloud-agnostic/core/package.json Upgrades Cypress and nyc.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread storage/s3/package.json Outdated
Comment thread storage/minio/package.json Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 15 out of 16 changed files in this pull request and generated no new comments.

@azonys
azonys merged commit 36fb63a into main Jun 10, 2026
6 checks passed
@azonys
azonys deleted the fix-audit-issues branch June 10, 2026 10: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.

3 participants