Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): remove source-map-support package #3773

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao commented Dec 3, 2024

We added this package in #488, and I don't think it's used anywhere.

It's also not advised to be used past Node 12:

This package is no longer required as Node 12.12.0 introduced the --enable-source-maps flag. (unless you're using the vm module, as --enable-source-maps does not work with vm.runInThisContext).

Note: do we need to replace this with some invocation of --enable-source-maps?

@erickzhao erickzhao requested a review from a team as a code owner December 3, 2024 04:40
@erickzhao erickzhao requested a review from malept December 3, 2024 04:40
@erickzhao erickzhao changed the title chore: remove source-map-support build(deps): remove source-map-support package Dec 3, 2024
Copy link
Member

@dsanders11 dsanders11 left a comment

Choose a reason for hiding this comment

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

Tentative LGTM, but would like @malept to review. I wonder if we can add a test to ensure we don't introduce a regression.

@malept
Copy link
Member

malept commented Dec 3, 2024

The docs say that the CLI flag was added in Node.js 12, but stabilized during the 15 series.

I guess we need to add debugging documentation to add that flag to NODE_OPTIONS?

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