Skip to content

Conversation

@fraxken
Copy link
Member

@fraxken fraxken commented Jun 14, 2025

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jun 14, 2025

🦋 Changeset detected

Latest commit: b1ba1cf

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

This PR includes changesets to release 2 packages
Name Type
@nodesecure/estree-ast-utils Major
@nodesecure/tracer Patch

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

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 extracts VariableTracer into its own workspace (@nodesecure/tracer) and updates all references accordingly.

  • Introduce a new tracer workspace with its own VariableTracer implementation and exports.
  • Rewire imports in dependent packages (estree-ast-utils, root code) to use @nodesecure/tracer.
  • Remove VariableTracer exports and related tests from estree-ast-utils.

Reviewed Changes

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

Show a summary per file
File Description
workspaces/tracer/src/index.js Export VariableTracer entrypoint for the new tracer package.
workspaces/tracer/src/VariableTracer.js Use third-party AST utils and internal helpers; new implementation.
workspaces/tracer/package.json Setup package manifest for @nodesecure/tracer.
workspaces/tracer/README.md Documentation and usage example for the tracer workspace.
workspaces/tracer/LICENSE Add MIT license for tracer workspace.
workspaces/estree-ast-utils/test/utils.js Switch tests to import VariableTracer from the new package.
workspaces/estree-ast-utils/src/index.js Remove VariableTracer export from estree-ast-utils.
workspaces/estree-ast-utils/src/... Duplicate necessary helper in getVariableDeclarationIdentifiers after removing util import.
workspaces/estree-ast-utils/package.json Remove unused devDependency; adjust package config.
src/SourceFile.js Update code to import VariableTracer from the new workspace.
package.json Add tracer to root workspaces and dependencies.
README.md Add tracer entry to workspace list.
.changeset/loose-mails-float.md Major bump for estree-ast-utils due to removal of VariableTracer.
Comments suppressed due to low confidence (2)

workspaces/tracer/package.json:1

  • There are currently no tests in the tracer workspace. Consider adding unit tests for VariableTracer methods to ensure its behavior is validated and prevent regressions.
{

workspaces/tracer/src/VariableTracer.js:14

  • Ensure that the ./utils/index.js path exists in this workspace and is included in the package. It looks like the utils directory or its index may not have been created, which would break these imports.
import {

@fraxken fraxken merged commit d38f809 into master Jun 14, 2025
10 checks passed
@fraxken fraxken deleted the migrate-var-tracer branch June 14, 2025 21:10
@github-actions github-actions bot mentioned this pull request Jun 14, 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.

3 participants