Skip to content

chore: replace glob module with Node.js glob functionality - #718

Merged
Trott merged 1 commit into
mainfrom
de-glob
Nov 14, 2026
Merged

Trott merged 1 commit into
mainfrom
de-glob

Conversation

@Trott

@Trott Trott commented Nov 14, 2026

Copy link
Copy Markdown
Member

No description provided.

@Trott
Trott requested a review from a team as a code owner November 14, 2026 15:55
@Trott
Trott requested a lite review from Copilot November 14, 2026 15:55

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.

🟢 Approval recommended

No active review issues remain, and the dependency replacement plus file-URL dynamic loading changes are accounted for.

No open issues 🎉

What changed in this PR

Replaces the external glob dependency with Node.js's built-in filesystem globbing while preserving dynamic loading of configured scripts.

Changes:

  • Uses fs.globSync to discover scripts.
  • Converts matched paths to absolute file URLs before dynamic imports.
  • Removes glob and its unused transitive dependencies from the package manifests and lockfile.
File Description
server.js Switches script discovery to Node.js built-in globbing and imports matched scripts through file URLs.
package.json Removes the external glob runtime dependency.
package-lock.json Updates the dependency tree to remove glob and related transitive packages.

Review effort: Lite

@Trott
Trott merged commit 1e77244 into main Nov 14, 2026
9 checks passed
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