Skip to content

Conversation

@fraxken
Copy link
Member

@fraxken fraxken commented Sep 25, 2025

No description provided.

Copy link

Copilot AI left a comment

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 refactors the documentation UI to use the warnings export from @nodesecure/js-x-ray/warnings instead of hardcoding SAST warning names. This improves maintainability by centralizing warning definitions and ensuring consistency across the codebase.

  • Replaces hardcoded SAST warning array with dynamic generation from @nodesecure/js-x-ray/warnings
  • Adds @nodesecure/js-x-ray as a dependency to support the new import

Reviewed Changes

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

File Description
package.json Adds @nodesecure/js-x-ray dependency for accessing warnings
index.js Replaces hardcoded warning list with dynamic generation from imported warnings

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@fraxken fraxken merged commit 700fc4a into master Sep 25, 2025
9 checks passed
@fraxken fraxken deleted the documentation-ui-warnings branch September 25, 2025 14:52
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.

4 participants