Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.