Skip to content

Conversation

@fraxken
Copy link
Member

@fraxken fraxken commented Nov 7, 2025

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Nov 7, 2025

🦋 Changeset detected

Latest commit: 2b1d402

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nodesecure/js-x-ray Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@fraxken fraxken requested a review from Copilot November 7, 2025 23:37
Copy link
Contributor

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 removes the external dependency is-minified-code and re-implements the minified code detection logic internally as a utility function. This reduces external dependencies and brings the implementation in-house.

  • Adds new isMinifiedCode.ts utility implementing minified code detection
  • Removes is-minified-code from package dependencies
  • Updates imports to use the internal implementation instead of the external package

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
workspaces/js-x-ray/src/utils/isMinifiedCode.ts New internal implementation of minified code detection logic
workspaces/js-x-ray/src/utils/index.ts Exports the new isMinifiedCode function
workspaces/js-x-ray/src/AstAnalyser.ts Updates imports to use internal implementation instead of external package
workspaces/js-x-ray/package.json Removes is-minified-code dependency
.changeset/two-points-share.md Documents the change in the changeset

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

@fraxken fraxken merged commit d17c784 into master Nov 10, 2025
6 checks passed
@fraxken fraxken deleted the is-minified-code branch November 10, 2025 02:12
@github-actions github-actions bot mentioned this pull request Nov 7, 2025
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