Skip to content

chore(deps): bump core-styles & core-components to fix vulnerabilities - #489

Merged
rstijerina merged 2 commits into
mainfrom
chore/bump-core-styles
Sep 1, 2026
Merged

rstijerina merged 2 commits into
mainfrom
chore/bump-core-styles

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Overview:

Bumps @tacc/core-styles to resolve moderate/high postcss vulnerabilities, and bumps @tacc/core-components to resolve a uuid vulnerability, both flagged by npm audit.

PR Status:

  • Ready.
  • Work in Progress.
  • Hold.

Related Jira tickets:

Summary of Changes:

  • updated @tacc/core-styles from ^2.37.2 to ^2.58.0
  • updated @tacc/core-components from ^0.0.5 to ^0.0.6

Testing Steps:

  1. npm install
  2. npm audit
  3. Confirm no findings under @tacc/core-styles/postcss-extend or @tacc/core-components/uuid.
  4. npm run build.
  5. Confirm build succeeds.

Tip

Tested before and after:

  • before, had vulnerabilities from @tacc/…
  • after, does not

UI Photos:

N/A.

Note

AI says Hazmapper UI is not affected by Core-Styles bump.

Hazmapper pulls in @tacc/core-styles in two ways — directly for global tokens/resets, and indirectly through @tacc/core-components's built-in classes.

  • Directly imports 2 of the 3 bundles: core-styles.base.css and core-styles.portal.css (react/src/index.css:10-11) — not core-styles.cms.css.
  • Design tokens/resets: hazmapper's own CSS modules reference var(--global-color-*), var(--global-font-*), var(--global-border-*), var(--global-space-*) — 11 files use these, which is the main direct dependency.
  • Direct class usage in hazmapper's own JSX is minimal: just c-form and s-paragraph-table.
  • Indirect usage via @tacc/core-components: components like Button, Form, ShowMore render core-styles classes under the hood — c-button, c-form, c-show-more, o-flex-item-table-wrap, u-dark-context.

So the surface area that could actually break from a core-styles upgrade is small: the global token/reset layer plus those handful of component classes — which lines up with why the 2.37.2→2.58.0 bump built and rendered fine.

— Claude Sonnet 5

Note

Core-Components v0.0.6 is effectually just a dep bump.

Upgrades @tacc/core-styles from ^2.37.2 to ^2.58.0, which drops the
transitive postcss-extend dependency and its vulnerable bundled postcss.
@wesleyboar
wesleyboar marked this pull request as draft August 27, 2026 21:49
@wesleyboar
wesleyboar marked this pull request as ready for review August 27, 2026 22:16
@wesleyboar wesleyboar changed the title chore(deps): bump core-styles to fix postcss vulnerabilities chore(deps): bump core-styles and core-components to fix vulnerabilities Aug 27, 2026
Upgrades @tacc/core-components from ^0.0.5 to ^0.0.6, which bumps its
own uuid dependency to ^11.1.1, fixing GHSA-w5hq-g745-h8pq.
@wesleyboar wesleyboar changed the title chore(deps): bump core-styles and core-components to fix vulnerabilities chore(deps): bump core-styles & core-components to fix vulnerabilities Aug 27, 2026

@sophia-massie sophia-massie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested and LGTM

@wesleyboar
wesleyboar requested a review from rstijerina August 31, 2026 23:55
@wesleyboar

wesleyboar commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor Author

I could bypass permissions (because of my group-based access) to merge now, but this isn't a repo I've worked on, so I don't want to take that liberty.

@rstijerina
rstijerina merged commit 1b2caef into main Sep 1, 2026
3 checks passed
@rstijerina
rstijerina deleted the chore/bump-core-styles branch September 1, 2026 20:08
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