Skip to content

fix(core): skip TS support detection via require.extensions - #6488

Merged
B4nan merged 1 commit into
masterfrom
require-extensions
Mar 7, 2025
Merged

B4nan merged 1 commit into
masterfrom
require-extensions

Conversation

@B4nan

@B4nan B4nan commented Mar 7, 2025

Copy link
Copy Markdown
Member

This check was problematic because of Node.js type stripping uses it now too, and it does fail to parse decorators.

It was already removed from v7, but since the type stripping will be backported to Node.js 22, I am removing it from v6 too, otherwise things break when executing the compiled code.

Related to nodejs/node#57298 (comment)

This check was problematic because of Node.js type stripping uses it now too, and it does fail to parse decorators.

Related to nodejs/node#57298 (comment)
@B4nan
B4nan merged commit 3efdcd0 into master Mar 7, 2025
@B4nan
B4nan deleted the require-extensions branch March 7, 2025 08:46
@codecov

codecov Bot commented Mar 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.80%. Comparing base (328c809) to head (a9f4722).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #6488    +/-   ##
========================================
  Coverage   99.80%   99.80%            
========================================
  Files         266      266            
  Lines       19243    19243            
  Branches     4839     4260   -579     
========================================
  Hits        19205    19205            
  Misses         38       38            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@B4nan B4nan mentioned this pull request Mar 7, 2025
5 tasks
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.

1 participant